diff --git a/psConfig/demos/demoDynamic.conf b/psConfig/demos/demoDynamic.conf index ebbd89c4f28ca75ee6966ac8928edb0809dd129c..c815607aee60353aa3f8e1d5d63a4b4a01b25c21 100644 --- a/psConfig/demos/demoDynamic.conf +++ b/psConfig/demos/demoDynamic.conf @@ -48,3 +48,9 @@ jsgf=../../psGrammar/demos/demoDynamic.jsgf; bestpath=no; autoload=yes; +[pocketsphinxinstance] +name=bringObject; +jsgf=../../psGrammar/demos/bringObject.jsgf; +rsbscope=/speechrec/psa/bring_object; +bestpath=no; +autoload=yes; \ No newline at end of file diff --git a/psGrammar/demos/bringObject.jsgf b/psGrammar/demos/bringObject.jsgf new file mode 100644 index 0000000000000000000000000000000000000000..bcc8cef11bddb71bc35bf2875f502b81728ebee5 --- /dev/null +++ b/psGrammar/demos/bringObject.jsgf @@ -0,0 +1,7 @@ +#JSGF V1.0; +grammar bringObject; + +public <command> = [please] <bring> [me] [the | a] <object>; + +<bring> = bring | hand | give +<object> = sponge | cleanser | (red wine) | (juice pack) | (cola) | (tropical juice) | (milk) | (iced tea) | (orange juice) | (tuna) | (tomato soup) | spam | mustard | (strawberry jello) | (chocolate jello) | (coffee grounds) | sugar | pear | plum | peach | lemon | orange | strawberry | banana | apple | (tennis ball) | (soccer ball) | (rubiks cube) | dice | baseball | pringles | cornflakes | cheezit | spoon | plate | cup | fork | bowl | knife;