From c977c887d8f6a8216b14d47254ff8958cfaa37ae Mon Sep 17 00:00:00 2001 From: mholland <mholland@techfak.Uni-Bielefeld.DE> Date: Thu, 13 Mar 2014 10:41:54 +0100 Subject: [PATCH] grammar for robozoo --- ps-config/robotZoo/roboZoo.conf | 24 ++++++++++++++++++++++++ ps-grammar/robotZoo/confirm.jsgf | 5 +++++ ps-grammar/robotZoo/roboZoo.jsgf | 9 +++++++++ 3 files changed, 38 insertions(+) create mode 100644 ps-config/robotZoo/roboZoo.conf create mode 100644 ps-grammar/robotZoo/confirm.jsgf create mode 100644 ps-grammar/robotZoo/roboZoo.jsgf diff --git a/ps-config/robotZoo/roboZoo.conf b/ps-config/robotZoo/roboZoo.conf new file mode 100644 index 00000000..23a2e30e --- /dev/null +++ b/ps-config/robotZoo/roboZoo.conf @@ -0,0 +1,24 @@ +[main] +startdb=30; +uttdb=35; +silence=400; +timeout=8; +openDeviceDirectly=yes; + +[pocketsphinxinstance] +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/followMe/confirm.jsgf; +rsbscope=/speechrec/psa/confirm; +bestpath=no; +autoload=yes; + +[pocketsphinxinstance] +name=roboZoo; +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/followMe/roboZoo.jsgf; +rsbscope=/speechrec/psa/roboZoo; +bestpath=no; +autoload=yes; diff --git a/ps-grammar/robotZoo/confirm.jsgf b/ps-grammar/robotZoo/confirm.jsgf new file mode 100644 index 00000000..303a6af5 --- /dev/null +++ b/ps-grammar/robotZoo/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]; diff --git a/ps-grammar/robotZoo/roboZoo.jsgf b/ps-grammar/robotZoo/roboZoo.jsgf new file mode 100644 index 00000000..a05f807b --- /dev/null +++ b/ps-grammar/robotZoo/roboZoo.jsgf @@ -0,0 +1,9 @@ +#JSGF V1.0; +grammar ToBI_roboZoo; + +public <statement> = [tobi] (<biron> | <andi> | <leon> | <kai> ) [tobi]; + +<biron> = biron; +<andi> = andi | andreas; +<leon> = leon; +<kai> = kai; -- GitLab