From 666f014d83e40439b7457cb7ad121109f787ffe0 Mon Sep 17 00:00:00 2001 From: MikolajPaterka Date: Tue, 24 May 2022 00:15:15 +0200 Subject: [PATCH] sem_par_2 --- semantic_parser/gramatics/brefing.jsgf | 17 ++++++++++++++ semantic_parser/gramatics/bye.jsgf | 7 ++++++ semantic_parser/gramatics/issue.jsgf | 16 ++++++------- semantic_parser/gramatics/notification.jsgf | 16 ++++++++----- semantic_parser/gramatics/tests.jsgf | 25 +++++++++++++++++++++ semantic_parser/parser.py | 10 +++++++-- 6 files changed, 75 insertions(+), 16 deletions(-) create mode 100644 semantic_parser/gramatics/brefing.jsgf create mode 100644 semantic_parser/gramatics/bye.jsgf create mode 100644 semantic_parser/gramatics/tests.jsgf diff --git a/semantic_parser/gramatics/brefing.jsgf b/semantic_parser/gramatics/brefing.jsgf new file mode 100644 index 0000000..1417f5e --- /dev/null +++ b/semantic_parser/gramatics/brefing.jsgf @@ -0,0 +1,17 @@ +#JSGF V1.0 UTF-8 pl; + +grammar brefing; + +public = {action} ( {git} | {repo}); + + = Gra - kółko i krzyżyk | Zajęcia AI | Projekt - sklep | super_stronka_internetowa | nazwaRepozytorium | pizza | zajecia; + + = gicie | githubie | GitHubie | Githubie; + + = co nowego na moim | co nowego w moich | opowiedz mi co się u mnie działo na; + + = {repozytoria}; + + + + diff --git a/semantic_parser/gramatics/bye.jsgf b/semantic_parser/gramatics/bye.jsgf new file mode 100644 index 0000000..d8c0b2c --- /dev/null +++ b/semantic_parser/gramatics/bye.jsgf @@ -0,0 +1,7 @@ +#JSGF V1.0 UTF-8 pl; + +grammar bye; + +public = {words_bye}; + + = Do widzenia | do widzenia | cześć | na razie | hej; diff --git a/semantic_parser/gramatics/issue.jsgf b/semantic_parser/gramatics/issue.jsgf index 6ba02f3..1c6728f 100644 --- a/semantic_parser/gramatics/issue.jsgf +++ b/semantic_parser/gramatics/issue.jsgf @@ -2,24 +2,24 @@ grammar issues; -public = pokaż mi [nowe] [