diff --git a/psConfig/demos/citecAnniversary.conf b/psConfig/demos/citecAnniversary.conf index 6628b1ccbf3f0f2b5bd973a9dc5c3e5085918fb8..6edd1baa42a19cae3dcd1da143d9aa0b0d12d90e 100644 --- a/psConfig/demos/citecAnniversary.conf +++ b/psConfig/demos/citecAnniversary.conf @@ -20,3 +20,10 @@ rsbscope=/speechrec/psa/questions; bestpath=no; autoload=yes; +[pocketsphinxinstance] +name=appartment; +jsgf=../../psGrammar/demos/citecAnniversaryAppartment.jsgf; +rsbscope=/speechrec/psa/appartment; +bestpath=no; +autoload=yes; + diff --git a/psGrammar/demos/citecAnniversaryAppartment.jsgf b/psGrammar/demos/citecAnniversaryAppartment.jsgf new file mode 100644 index 0000000000000000000000000000000000000000..981f0389068e44ca65b1da74d35c2cf392a283c5 --- /dev/null +++ b/psGrammar/demos/citecAnniversaryAppartment.jsgf @@ -0,0 +1,8 @@ +#JSGF V1.0; +grammar appartment; + +public <appartment> = [(tobi | biron | robot)] (<appartment_predef>); + +<appartment_predef> = <predef1> | <predef2>; +<predef1> = where is the appartment; +<predef2> = can you show us the appartment;