diff --git a/ps-config/demoHomecoming/demoHomecoming.conf b/ps-config/demoHomecoming/demoHomecoming.conf index d81aef390643a68ba96642ad7905bf58156c2125..b1e105e3ba0f230898d4f734f8409963492feee9 100644 --- a/ps-config/demoHomecoming/demoHomecoming.conf +++ b/ps-config/demoHomecoming/demoHomecoming.conf @@ -13,3 +13,12 @@ jsgf=/vol/robocup/2014/share/SpeechRec/psGrammar/confirm/confirm.jsgf; rsbscope=/speechrec/psa/confirm; bestpath=no; autoload=yes; + +[pocketsphinxinstance] +name=hc; +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/homecoming/hc.jsgf; +rsbscope=/speechrec/psa/homecoming; +bestpath=no; +autoload=yes; \ No newline at end of file diff --git a/ps-grammar/homecoming/hc.jsgf b/ps-grammar/homecoming/hc.jsgf new file mode 100644 index 0000000000000000000000000000000000000000..d57c066032df978d5399789a3a4abf21136c3062 --- /dev/null +++ b/ps-grammar/homecoming/hc.jsgf @@ -0,0 +1,11 @@ +#JSGF V1.0; +grammar ToBI_Ask4Task; + +public <statement> = [tobi] ( <learn> | <joke> | <introduce> ) [tobi]; + + +<learn> = (learn [the] bebots); +<joke> = [tell] [me] [a] ( joke | gag ); +<introduce> = (introduce [yourself] ); + +