diff --git a/ps-config/robotZoo/robotZoo.conf~ b/ps-config/robotZoo/roboZoo.conf similarity index 73% rename from ps-config/robotZoo/robotZoo.conf~ rename to ps-config/robotZoo/roboZoo.conf index 974998b835f957b96448b347eeb0d2097793be87..5d86ad88aab81b1a061e818b566552455b20bc08 100644 --- a/ps-config/robotZoo/robotZoo.conf~ +++ b/ps-config/robotZoo/roboZoo.conf @@ -4,20 +4,21 @@ uttdb=35; silence=400; timeout=8; openDeviceDirectly=yes; + [pocketsphinxinstance] -name=followMe; +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/followMe.jsgf; -rsbscope=/speechrec/psa/followMe; +jsgf=/vol/robocup/2013/share/SpeechRec/psGrammar/robotZoo/confirm.jsgf; +rsbscope=/speechrec/psa/confirm; bestpath=no; autoload=yes; [pocketsphinxinstance] -name=confirm; +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/confirm.jsgf; -rsbscope=/speechrec/psa/confirm; +jsgf=/vol/robocup/2013/share/SpeechRec/psGrammar/robotZoo/roboZoo.jsgf; +rsbscope=/speechrec/psa/roboZoo; bestpath=no; autoload=yes; diff --git a/ps-config/robotZoo/robotZoo.conf b/ps-config/robotZoo/robotZoo.conf deleted file mode 100644 index 89116e3af7b915d3df606e2cec17e50e181f327c..0000000000000000000000000000000000000000 --- a/ps-config/robotZoo/robotZoo.conf +++ /dev/null @@ -1,15 +0,0 @@ -[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; diff --git a/ps-grammar/robotZoo/confirm.jsgf b/ps-grammar/robotZoo/confirm.jsgf new file mode 100644 index 0000000000000000000000000000000000000000..303a6af5f68cff3bee42a6cb147b1328071198ef --- /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 0000000000000000000000000000000000000000..cb0f6de084d77d701671ec2d23a8e0b55175c637 --- /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> = andreas; +<leon> = leon; +<kai> = kai;