diff --git a/ps-config/restaurant/restaurant.conf b/ps-config/restaurant/restaurant.conf index 2aa8be0c05a29376587af0384ec70e98ee4c3565..72553a192ea7efe03dc965bb20a91c18dd255218 100644 --- a/ps-config/restaurant/restaurant.conf +++ b/ps-config/restaurant/restaurant.conf @@ -40,3 +40,12 @@ jsgf=/vol/robocup/2014/share/SpeechRec/psGrammar/restaurant/object.jsgf; rsbscope=/speechrec/psa/object; bestpath=no; autoload=yes; + +[pocketsphinxinstance] +name=ordering; +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/ordering.jsgf; +rsbscope=/speechrec/psa/ordering; +bestpath=no; +autoload=yes; diff --git a/ps-grammar/restaurant/ordering.jsgf b/ps-grammar/restaurant/ordering.jsgf new file mode 100644 index 0000000000000000000000000000000000000000..68a65814f65dfaf42f3c51135b2f33737413a15d --- /dev/null +++ b/ps-grammar/restaurant/ordering.jsgf @@ -0,0 +1,11 @@ +#JSGF V1.0; +grammar restaurant_ordering; + +public <restaurant> = [tobi] [please] bring <objects> to table <deliveryLocations>; + +<deliveryLocations> = table (one | two | three); + +<objects> = <drinks> | <snacks>; + +<drinks> = (orange juice) | (fruit juice) | (ice tea) | coffee | beer; +<snacks> = chocolates | (chewing gum) | peanuts;