From 31ea5b91c2237c7c63aaa683afb236a54f1339fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnes=20Minareci?= <gminareci@techfak.uni-bielefeld.de> Date: Tue, 25 Jun 2013 13:35:23 +0200 Subject: [PATCH] into immer am anfang des grammatik zweiges --- pocketsphinxAdapter/grammar/gprs/gprs.jsgf | 2 +- pocketsphinxAdapter/grammar/location/location.jsgf | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pocketsphinxAdapter/grammar/gprs/gprs.jsgf b/pocketsphinxAdapter/grammar/gprs/gprs.jsgf index cc0ada3e..e52abad3 100644 --- a/pocketsphinxAdapter/grammar/gprs/gprs.jsgf +++ b/pocketsphinxAdapter/grammar/gprs/gprs.jsgf @@ -38,6 +38,6 @@ public <task> = [tobi] [(would | could) you] [please] <command> [please] [tobi]; <door_class> = exit | entry; <room_class> = kitchen | living_room | bed_room | hallway; <utensil_class> = hanger | umbrella_stand | trash_bin | plant; -<preposition> = (on [top of]) | in | ([next] to) | at | near | in | into | from; +<preposition> = into | (on [top of]) | in | ([next] to) | at | near | from; <article> = the | an | a | some | this; diff --git a/pocketsphinxAdapter/grammar/location/location.jsgf b/pocketsphinxAdapter/grammar/location/location.jsgf index 5d1acb43..cfe5a03f 100644 --- a/pocketsphinxAdapter/grammar/location/location.jsgf +++ b/pocketsphinxAdapter/grammar/location/location.jsgf @@ -6,7 +6,7 @@ public <statement> = <locationPhrase> [please]; <verb> = go | search | learn | remember | memorize; -<location> = <appliance_class> | <shelf_class> | <seat_class> | <table_class> | <room_class> | <utensil_class> | seating | utensil | location | room | appliance | shelf | seat | table | somewhere; +<location> = <appliance_class> | <shelf_class> | <seat_class> | <table_class> | <room_class> | <utensil_class> | <door_class> | door | seating | utensil | location | room | appliance | shelf | seat | table | somewhere; <appliance_class> = stove | sink | fridge | tv_counter; <shelf_class> = bar | kitchen_counter | cupboard | dresser | side_board | book_shelf | pantry | cabinet; @@ -15,4 +15,5 @@ public <statement> = <locationPhrase> [please]; <table_class> = hallway_table | side_table | kitchen_table | dinner_table | couch_table | bedsidetable; <room_class> = kitchen | living_room | bed_room | hallway; <utensil_class> = hanger | umbrella_stand | trash_bin | plant; -<preposition> = (on [top of]) | in | ([next] to) | at | near | in | into | from; +<door_class> = exit | entry; +<preposition> = into | (on [top of]) | in | ([next] to) | at | near | in | from; -- GitLab