From d3c2d43f84790577ee5708818a1dd106f1db13ad Mon Sep 17 00:00:00 2001 From: alangfel <alangfel@techfak.uni-bielefeld.de> Date: Fri, 4 Jul 2014 14:08:42 +0200 Subject: [PATCH] added grammar for other commands --- ps-config/restaurant/restaurant.conf | 9 +++++++++ ps-grammar/restaurant/otherCommand.jsgf | 7 +++++++ 2 files changed, 16 insertions(+) create mode 100644 ps-grammar/restaurant/otherCommand.jsgf diff --git a/ps-config/restaurant/restaurant.conf b/ps-config/restaurant/restaurant.conf index 1a0b1c5e..109567cb 100644 --- a/ps-config/restaurant/restaurant.conf +++ b/ps-config/restaurant/restaurant.conf @@ -58,3 +58,12 @@ jsgf=/vol/robocup/2014/share/SpeechRec/psGrammar/restaurant/saveCommand.jsgf; rsbscope=/speechrec/psa/saveCommand; bestpath=no; autoload=yes; + +[pocketsphinxinstance] +name=otherCommand; +hmm=/vol/robocup/2014/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k; +dict=/vol/robocup/2014/share/SpeechRec/psGrammar/dictionary/tobiDic.dic; +jsgf=/vol/robocup/2014/share/SpeechRec/psGrammar/restaurant/otherCommand.jsgf; +rsbscope=/speechrec/psa/otherCommand; +bestpath=no; +autoload=yes; diff --git a/ps-grammar/restaurant/otherCommand.jsgf b/ps-grammar/restaurant/otherCommand.jsgf new file mode 100644 index 00000000..e2928401 --- /dev/null +++ b/ps-grammar/restaurant/otherCommand.jsgf @@ -0,0 +1,7 @@ +#JSGF V1.0; +grammar restaurant_save_command; + +public <restaurant> = <followMe> | <stop> | <ordering>; +<followMe> = (follow me) | (come [(with me) | here]) | (keep up); +<ordering> = ordering; +<stop> = stop [this]; -- GitLab