From 096a79f1f19de852aa8875af276b3479e2ce5639 Mon Sep 17 00:00:00 2001 From: Christian Limberg <climberg@techfak.uni-bielefeld.de> Date: Thu, 26 Mar 2015 17:29:39 +0100 Subject: [PATCH] fixed grammar of personRec --- ps-config/personRec/personRec.conf | 11 +++++++++-- ps-grammar/personRec/personRec.jsgf | 4 +--- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/ps-config/personRec/personRec.conf b/ps-config/personRec/personRec.conf index f91bc78c..694a81df 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 915c300b..783b4730 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; -- GitLab