From 05c2b6d48d0af2c37c2c8ec20f96ef26f5100a7f Mon Sep 17 00:00:00 2001 From: Christian Klarhorst <cklarhor@techfak.uni-bielefeld.de> Date: Wed, 26 Feb 2014 17:15:58 +0100 Subject: [PATCH] Improve followme confirm grammar --- ps-config/followMe/followMe.conf | 2 +- ps-grammar/followMe/confirm.jsgf | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 ps-grammar/followMe/confirm.jsgf diff --git a/ps-config/followMe/followMe.conf b/ps-config/followMe/followMe.conf index 7bb0800f..974998b8 100644 --- a/ps-config/followMe/followMe.conf +++ b/ps-config/followMe/followMe.conf @@ -17,7 +17,7 @@ autoload=yes; name=confirm; hmm=/vol/robocup/2013/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k; dict=/vol/robocup/2013/share/SpeechRec/psGrammar/dictionary/tobiDic.dic; -jsgf=/vol/robocup/2013/share/SpeechRec/psGrammar/confirm/confirm.jsgf; +jsgf=/vol/robocup/2013/share/SpeechRec/psGrammar/followMe/confirm.jsgf; rsbscope=/speechrec/psa/confirm; bestpath=no; autoload=yes; diff --git a/ps-grammar/followMe/confirm.jsgf b/ps-grammar/followMe/confirm.jsgf new file mode 100644 index 00000000..303a6af5 --- /dev/null +++ b/ps-grammar/followMe/confirm.jsgf @@ -0,0 +1,5 @@ +#JSGF V1.0; +grammar ToBI_confirm; +public <confirm> = [tobi] (<confirm_yes> | <confirm_no>) [tobi]; +<confirm_yes> = [please] yes [please]; +<confirm_no> = no [thanks]; -- GitLab