diff --git a/ps-config/demos/demoDynamic.conf b/ps-config/demos/demoDynamic.conf index efc374e10f748f2b110f359521b7b19b50aa6904..00f37225fa9a6225fc1329dc87b475007e50e3e3 100644 --- a/ps-config/demos/demoDynamic.conf +++ b/ps-config/demos/demoDynamic.conf @@ -35,6 +35,13 @@ jsgf=../../psGrammar/demos/locations.jsgf; bestpath=no; autoload=yes; +[pocketsphinxinstance] +name=listen; +rsbscope=/speechrec/psa/listen; +jsgf=../../psGrammar/demos/listen.jsgf; +bestpath=no; +autoload=yes; + diff --git a/ps-grammar/demos/commands.jsgf b/ps-grammar/demos/commands.jsgf index 272e24692d71b8b083733ae68cc24192f80cfba2..7735b227ffc055aad12aea92a7081ac86fbca090 100644 --- a/ps-grammar/demos/commands.jsgf +++ b/ps-grammar/demos/commands.jsgf @@ -1,7 +1,7 @@ #JSGF V1.0; grammar commands; -public <command> = [tobi] ( <followMe> | <ordering> | <test> | <stack> | <learn> | <rec> | <count> | <explain> | <fetch> | <hand>); +public <command> = [tobi] ( <followMe> | <ordering> | <test> | <stack> | <learn> | <rec> | <count> | <explain> | <listen> | <hand> | <see>); <followMe> = (follow me); @@ -19,6 +19,8 @@ public <command> = [tobi] ( <followMe> | <ordering> | <test> | <stack> | <learn> <explain> = (what can you do); -<fetch> = (fetch something); +<listen> = (listen for command); -<hand> = (wait for waving); \ No newline at end of file +<hand> = (wait for waving); + +<see> = (tell me what you see); \ No newline at end of file