diff --git a/ps-config/personRec/personRec.conf b/ps-config/personRec/personRec.conf index f91bc78c3d4a21faa86ebf0b7a1b2b5cf9ba964d..694a81df4ac80de2be21656db0d5d1fd09bc61cc 100644 --- a/ps-config/personRec/personRec.conf +++ b/ps-config/personRec/personRec.conf @@ -10,8 +10,15 @@ name=person; hmm=../../../pocketsphinx/model/en-us/en-us; dict=../../psGrammar/dictionary/tobiDic.dic; jsgf=../../psGrammar/personRec/personRec.jsgf; -rsbscope=/speechrec; +rsbscope=/speechrec/psa/; bestpath=no; autoload=yes; - +[pocketsphinxinstance] +name=confirm; +hmm=../../../pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k; +dict=../../psGrammar/dictionary/tobiDic.dic; +jsgf=../../psGrammar/followMe/confirm.jsgf; +rsbscope=/speechrec/psa/confirm; +bestpath=no; +autoload=yes; diff --git a/ps-grammar/personRec/personRec.jsgf b/ps-grammar/personRec/personRec.jsgf index 915c300bc76b399bb714424d976d3006e429455f..783b4730174b2c2865d4bf0456d5c7fcc639a4ea 100644 --- a/ps-grammar/personRec/personRec.jsgf +++ b/ps-grammar/personRec/personRec.jsgf @@ -1,6 +1,4 @@ #JSGF V1.0; grammar personRec; -public <command> = (<yes> | <no> | <start>); -<yes> = [toby] yes; -<no> = [toby] no; +public <command> = (<start>); <start> = [toby] start;