From ff2b6fe1d6b62cbc50234f1561f9a0952816aba4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=BCnes=20Minareci?= <gminareci@techfak.uni-bielefeld.de> Date: Thu, 27 Jun 2013 08:53:16 +0200 Subject: [PATCH] gprs grammatik um synonyme und show erweitert --- pocketsphinxAdapter/grammar/gprs/gprs.jsgf | 24 ++++++++++++---------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/pocketsphinxAdapter/grammar/gprs/gprs.jsgf b/pocketsphinxAdapter/grammar/gprs/gprs.jsgf index ed375d58..b0981f2d 100644 --- a/pocketsphinxAdapter/grammar/gprs/gprs.jsgf +++ b/pocketsphinxAdapter/grammar/gprs/gprs.jsgf @@ -2,23 +2,25 @@ grammar ToBI_GPRS; public <task> = [tobi] [(would | could) you] [please] <command> [please] [tobi]; -<command> = <bring_command> | <goto_command> | <follow_command> | <find_command> | <put_command> | <learn_command>; +<command> = <bring_command> | <goto_command> | <follow_command> | <find_command> | <pointAt_command> | <learn_command> | <show_command>; <bring_command> = <bringVerb> [<person>] [<article>] <grab_object> <preposition> [<article>] [<location> | <person>] [(to|into) [<article>] <second_location>]; <goto_command> = <gotoVerb> [<further_preposition> | <preposition>] <location>; <follow_command> = <followVerb> <person>; <find_command> = <findVerb> [<article>] (<grab_object> | <person>) [in <location>]; -<put_command> = <putVerb> <grab_object> [<further_preposition> | <preposition>] <location>; +<pointat_command> = <pointAtVerb> [<article>] <location>; <learn_command> = <learnVerb> [<article>] (<person> | <location>); -<cleanUp_command> = <cleanUpVerb> <article> <room_class>; - -<bringVerb> = bring | carry | retrieve | fetch | get | give; -<findVerb> = find | search [for]; -<putVerb> = put; -<gotoVerb> = go; -<followVerb> = follow; -<learnVerb> = learn | remember | memorize; -<cleanUpVerb> = clean up | tidy up; +<cleanup_command> = <cleanUpVerb> <article> <room_class>; +<show_command> = <showVerb> [<person>] [<article>] [<grab_object>] | <showVerb> [<person>] [the (path|way) to] [<article>] <location>; + +<bringVerb> = bring | carry | retrieve | fetch | get | give | put | attend | deliver | convey | gather | (pick up) | take; +<findVerb> = find | search [for] | check [for] | acquire | attain | obtain; +<pointAtVerb> = (point at) | denote | direct | indicate | suggest; +<showVerb> = show | demonstrate | present; +<gotoVerb> = go | approach | move | run | travel | ride; +<followVerb> = follow | chase | (come after); +<learnVerb> = learn | remember | memorize | determine | gain | study | train; +<cleanUpVerb> = (clean up) | (tidy up) | clear | (do up) | (straighten up); <person> = someone | <personal_pronoun> | <person_name> | (person | man | woman | guy | girl | boy | human | robot); <personal_pronoun> = him | her | me; -- GitLab