diff --git a/ps-config/restaurant/restaurant.conf b/ps-config/restaurant/restaurant.conf index 72553a192ea7efe03dc965bb20a91c18dd255218..1a0b1c5e3445688bf7a115939eb75ccc08218e48 100644 --- a/ps-config/restaurant/restaurant.conf +++ b/ps-config/restaurant/restaurant.conf @@ -49,3 +49,12 @@ jsgf=/vol/robocup/2014/share/SpeechRec/psGrammar/restaurant/ordering.jsgf; rsbscope=/speechrec/psa/ordering; bestpath=no; autoload=yes; + +[pocketsphinxinstance] +name=saveCommand; +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/saveCommand.jsgf; +rsbscope=/speechrec/psa/saveCommand; +bestpath=no; +autoload=yes; diff --git a/ps-grammar/restaurant/saveCommand.jsgf b/ps-grammar/restaurant/saveCommand.jsgf new file mode 100644 index 0000000000000000000000000000000000000000..472b084737001f473a3d755ff836370cf3386eb1 --- /dev/null +++ b/ps-grammar/restaurant/saveCommand.jsgf @@ -0,0 +1,8 @@ +#JSGF V1.0; +grammar restaurant_save_command; + +public <restaurant> = [tobi] [please] save ( <deliveryLocations> | <objectCategory> ) [[to | on] [the | my] ( <savePlaceLeft> | <savePlaceRight> )]; +<savePlaceLeft> = left; +<savePlaceRight> = right; +<deliveryLocations> = table (one | two | three); +<objectCategory> = drinks | snacks;