diff --git a/psConfig/homecoming/homecoming.conf b/psConfig/homecoming/homecoming.conf index 1d95fb9b0f88f59a6971c4ce8485832ef2027f90..f7ef2b5984efe94730025436a63d615b5aef0385 100644 --- a/psConfig/homecoming/homecoming.conf +++ b/psConfig/homecoming/homecoming.conf @@ -18,8 +18,24 @@ autoload=yes; [pocketsphinxinstance] name=assistance; dict=../../../psGrammar/dictionary/tobiDic.dic; -jsgf=../../../psGrammar/homecoming/assistant.jsgf; +jsgf=../../../psGrammar/homecoming/assistance.jsgf; rsbscope=/speechrec/psa/assistance; bestpath=no; autoload=yes; +[pocketsphinxinstance] +name=helpPreparation; +dict=../../../psGrammar/dictionary/tobiDic.dic; +jsgf=../../../psGrammar/homecoming/helpPreparation.jsgf; +rsbscope=/speechrec/psa/helpPreparation; +bestpath=no; +autoload=yes; + +[pocketsphinxinstance] +name=helpGreet; +dict=../../../psGrammar/dictionary/tobiDic.dic; +jsgf=../../../psGrammar/homecoming/helpGreet.jsgf; +rsbscope=/speechrec/psa/helpGreet; +bestpath=no; +autoload=yes; + diff --git a/psGrammar/homecoming/helpGreet.jsgf b/psGrammar/homecoming/helpGreet.jsgf new file mode 100644 index 0000000000000000000000000000000000000000..13eb17cc7140613e9ed455108c6b3e893431a98a --- /dev/null +++ b/psGrammar/homecoming/helpGreet.jsgf @@ -0,0 +1,7 @@ +#JSGF V1.0; +grammar ToBI_helpGreet; +public <statement> = [<robot>] [please] <verb> [<guest>] [please]; + +<verb> = greet | introduce | (let in) | open | (open for) | (open door) | (open the door); +<robot> = (tiago)| (tobi) | (robot); +<guest> = [the | my | our | a] (guest | guests | friend | friends) diff --git a/psGrammar/homecoming/helpPreparation.jsgf b/psGrammar/homecoming/helpPreparation.jsgf new file mode 100644 index 0000000000000000000000000000000000000000..aa36ad33272173d60a2b0650890d0ef6e1f0acee --- /dev/null +++ b/psGrammar/homecoming/helpPreparation.jsgf @@ -0,0 +1,9 @@ +#JSGF V1.0; +grammar ToBI_helpPreparation; +public <statement> = [<robot>] [please] [<help_verb>] [to] <verb> [<party>] [please]; + +<help_verb> = (help me) | help | assist; +<verb> = prepare | (make ready) | ready | start; +<robot> = (tiago)| (tobi) | (robot); +<party> = (the party) | (party) | (meeting) | (get together) +