From 253f6e7e8c003af4397d2672fde844e1da1ccd9c Mon Sep 17 00:00:00 2001 From: Ingo Killmann <ikillman@techfak.uni-bielefeld.de> Date: Fri, 21 Jun 2013 15:25:27 +0200 Subject: [PATCH] Pocketsphinx-configs --- .../config/cleanUp/cleanUp.conf | 23 +++++++++ .../config/cocktailparty/cocktailparty.conf | 32 ++++++++++++ .../config/cocktailparty/cocktailparty.conf~ | 23 +++++++++ .../fireInTheApartment.conf | 14 ++++++ .../config/followMe/followMe.conf | 23 +++++++++ .../config/followMe/followMe.conf~ | 23 +++++++++ pocketsphinxAdapter/config/gprs/gprs.conf | 50 +++++++++++++++++++ pocketsphinxAdapter/config/gprs/gprs.conf~ | 50 +++++++++++++++++++ .../config/inspection/inspection.conf | 23 +++++++++ .../config/inspection/inspection.conf~ | 23 +++++++++ .../config/install_pocketsphinx_conf.sh | 15 ++++++ .../config/install_pocketsphinx_conf.sh~ | 15 ++++++ .../grammar/followMe/followMe.jsgf | 4 +- .../grammar/followMe/followMe.jsgf~ | 2 +- pocketsphinxAdapter/grammar/leave/leave.jsgf | 2 +- 15 files changed, 318 insertions(+), 4 deletions(-) create mode 100644 pocketsphinxAdapter/config/cleanUp/cleanUp.conf create mode 100644 pocketsphinxAdapter/config/cocktailparty/cocktailparty.conf create mode 100644 pocketsphinxAdapter/config/cocktailparty/cocktailparty.conf~ create mode 100644 pocketsphinxAdapter/config/fireInTheApartment/fireInTheApartment.conf create mode 100644 pocketsphinxAdapter/config/followMe/followMe.conf create mode 100644 pocketsphinxAdapter/config/followMe/followMe.conf~ create mode 100644 pocketsphinxAdapter/config/gprs/gprs.conf create mode 100644 pocketsphinxAdapter/config/gprs/gprs.conf~ create mode 100644 pocketsphinxAdapter/config/inspection/inspection.conf create mode 100644 pocketsphinxAdapter/config/inspection/inspection.conf~ create mode 100755 pocketsphinxAdapter/config/install_pocketsphinx_conf.sh create mode 100755 pocketsphinxAdapter/config/install_pocketsphinx_conf.sh~ diff --git a/pocketsphinxAdapter/config/cleanUp/cleanUp.conf b/pocketsphinxAdapter/config/cleanUp/cleanUp.conf new file mode 100644 index 00000000..bfc174a9 --- /dev/null +++ b/pocketsphinxAdapter/config/cleanUp/cleanUp.conf @@ -0,0 +1,23 @@ +[main] +startdb=30; +uttdb=35; +silence=400; +timeout=8; +openDeviceDirectly=yes; +[pocketsphinxinstance] +name=cleanUp; +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/cleanUp/cleanUp.jsgf; +rsbscope=/speechrec/psa/cleanUp; +bestpath=no; +autoload=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/confirm/confirm.jsgf; +rsbscope=/speechrec/psa/confirm; +bestpath=no; +autoload=yes; diff --git a/pocketsphinxAdapter/config/cocktailparty/cocktailparty.conf b/pocketsphinxAdapter/config/cocktailparty/cocktailparty.conf new file mode 100644 index 00000000..1084aca2 --- /dev/null +++ b/pocketsphinxAdapter/config/cocktailparty/cocktailparty.conf @@ -0,0 +1,32 @@ +[main] +startdb=30; +uttdb=35; +silence=400; +timeout=8; +openDeviceDirectly=yes; +[pocketsphinxinstance] +name=person; +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/person/person.jsgf; +rsbscope=/speechrec/psa/person; +bestpath=no; +autoload=yes; + +[pocketsphinxinstance] +name=object; +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/object/object.jsgf; +rsbscope=/speechrec/psa/object; +bestpath=no; +autoload=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/confirm/confirm.jsgf; +rsbscope=/speechrec/psa/confirm; +bestpath=no; +autoload=yes; diff --git a/pocketsphinxAdapter/config/cocktailparty/cocktailparty.conf~ b/pocketsphinxAdapter/config/cocktailparty/cocktailparty.conf~ new file mode 100644 index 00000000..9b518d96 --- /dev/null +++ b/pocketsphinxAdapter/config/cocktailparty/cocktailparty.conf~ @@ -0,0 +1,23 @@ +[main] +startdb=30; +uttdb=35; +silence=400; +timeout=8; +openDeviceDirectly=yes; +[pocketsphinxinstance] +name=person; +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/person/person.jsgf; +rsbscope=/speechrec/psa/person; +bestpath=no; +autoload=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/confirm/confirm.jsgf; +rsbscope=/speechrec/psa/confirm; +bestpath=no; +autoload=yes; diff --git a/pocketsphinxAdapter/config/fireInTheApartment/fireInTheApartment.conf b/pocketsphinxAdapter/config/fireInTheApartment/fireInTheApartment.conf new file mode 100644 index 00000000..f906ed96 --- /dev/null +++ b/pocketsphinxAdapter/config/fireInTheApartment/fireInTheApartment.conf @@ -0,0 +1,14 @@ +[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/confirm/confirm.jsgf; +rsbscope=/speechrec/psa/confirm; +bestpath=no; +autoload=yes; diff --git a/pocketsphinxAdapter/config/followMe/followMe.conf b/pocketsphinxAdapter/config/followMe/followMe.conf new file mode 100644 index 00000000..7bb0800f --- /dev/null +++ b/pocketsphinxAdapter/config/followMe/followMe.conf @@ -0,0 +1,23 @@ +[main] +startdb=30; +uttdb=35; +silence=400; +timeout=8; +openDeviceDirectly=yes; +[pocketsphinxinstance] +name=followMe; +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; +bestpath=no; +autoload=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/confirm/confirm.jsgf; +rsbscope=/speechrec/psa/confirm; +bestpath=no; +autoload=yes; diff --git a/pocketsphinxAdapter/config/followMe/followMe.conf~ b/pocketsphinxAdapter/config/followMe/followMe.conf~ new file mode 100644 index 00000000..bfc174a9 --- /dev/null +++ b/pocketsphinxAdapter/config/followMe/followMe.conf~ @@ -0,0 +1,23 @@ +[main] +startdb=30; +uttdb=35; +silence=400; +timeout=8; +openDeviceDirectly=yes; +[pocketsphinxinstance] +name=cleanUp; +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/cleanUp/cleanUp.jsgf; +rsbscope=/speechrec/psa/cleanUp; +bestpath=no; +autoload=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/confirm/confirm.jsgf; +rsbscope=/speechrec/psa/confirm; +bestpath=no; +autoload=yes; diff --git a/pocketsphinxAdapter/config/gprs/gprs.conf b/pocketsphinxAdapter/config/gprs/gprs.conf new file mode 100644 index 00000000..2e2ff174 --- /dev/null +++ b/pocketsphinxAdapter/config/gprs/gprs.conf @@ -0,0 +1,50 @@ +[main] +startdb=30; +uttdb=35; +silence=400; +timeout=8; +openDeviceDirectly=yes; +[pocketsphinxinstance] +name=gprs; +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/gprs/gprs.jsgf; +rsbscope=/speechrec/psa/gprs; +bestpath=no; +autoload=yes; + +[pocketsphinxinstance] +name=gprsPerson; +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/gprsPerson/gprsPerson.jsgf; +rsbscope=/speechrec/psa/gprsPerson; +bestpath=no; +autoload=yes; + +[pocketsphinxinstance] +name=location; +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/location/location.jsgf; +rsbscope=/speechrec/psa/location; +bestpath=no; +autoload=yes; + +[pocketsphinxinstance] +name=object; +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/object/object.jsgf; +rsbscope=/speechrec/psa/object; +bestpath=no; +autoload=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/confirm/confirm.jsgf; +rsbscope=/speechrec/psa/confirm; +bestpath=no; +autoload=yes; diff --git a/pocketsphinxAdapter/config/gprs/gprs.conf~ b/pocketsphinxAdapter/config/gprs/gprs.conf~ new file mode 100644 index 00000000..2e2ff174 --- /dev/null +++ b/pocketsphinxAdapter/config/gprs/gprs.conf~ @@ -0,0 +1,50 @@ +[main] +startdb=30; +uttdb=35; +silence=400; +timeout=8; +openDeviceDirectly=yes; +[pocketsphinxinstance] +name=gprs; +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/gprs/gprs.jsgf; +rsbscope=/speechrec/psa/gprs; +bestpath=no; +autoload=yes; + +[pocketsphinxinstance] +name=gprsPerson; +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/gprsPerson/gprsPerson.jsgf; +rsbscope=/speechrec/psa/gprsPerson; +bestpath=no; +autoload=yes; + +[pocketsphinxinstance] +name=location; +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/location/location.jsgf; +rsbscope=/speechrec/psa/location; +bestpath=no; +autoload=yes; + +[pocketsphinxinstance] +name=object; +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/object/object.jsgf; +rsbscope=/speechrec/psa/object; +bestpath=no; +autoload=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/confirm/confirm.jsgf; +rsbscope=/speechrec/psa/confirm; +bestpath=no; +autoload=yes; diff --git a/pocketsphinxAdapter/config/inspection/inspection.conf b/pocketsphinxAdapter/config/inspection/inspection.conf new file mode 100644 index 00000000..f06b022b --- /dev/null +++ b/pocketsphinxAdapter/config/inspection/inspection.conf @@ -0,0 +1,23 @@ +[main] +startdb=30; +uttdb=35; +silence=400; +timeout=8; +openDeviceDirectly=yes; +[pocketsphinxinstance] +name=leave; +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/leave/leave.jsgf; +rsbscope=/speechrec/psa/leave; +bestpath=no; +autoload=yes; + +[pocketsphinxinstance] +name=bironLeave; +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/bironLeave/bironLeave.jsgf; +rsbscope=/speechrec/psa/bironLeave; +bestpath=no; +autoload=yes; diff --git a/pocketsphinxAdapter/config/inspection/inspection.conf~ b/pocketsphinxAdapter/config/inspection/inspection.conf~ new file mode 100644 index 00000000..bfc174a9 --- /dev/null +++ b/pocketsphinxAdapter/config/inspection/inspection.conf~ @@ -0,0 +1,23 @@ +[main] +startdb=30; +uttdb=35; +silence=400; +timeout=8; +openDeviceDirectly=yes; +[pocketsphinxinstance] +name=cleanUp; +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/cleanUp/cleanUp.jsgf; +rsbscope=/speechrec/psa/cleanUp; +bestpath=no; +autoload=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/confirm/confirm.jsgf; +rsbscope=/speechrec/psa/confirm; +bestpath=no; +autoload=yes; diff --git a/pocketsphinxAdapter/config/install_pocketsphinx_conf.sh b/pocketsphinxAdapter/config/install_pocketsphinx_conf.sh new file mode 100755 index 00000000..749fc980 --- /dev/null +++ b/pocketsphinxAdapter/config/install_pocketsphinx_conf.sh @@ -0,0 +1,15 @@ +#!/bin/sh +if [ $1 ] + then installdir=$1 + else installdir="/vol/robocup/2013/share/SpeechRec/" +fi +mkdir -p $installdir/psConfig + +for i in `ls` +do + if [ -d $i ] + then cp -r $i $installdir/psConfig + fi +done + +echo "copying done" diff --git a/pocketsphinxAdapter/config/install_pocketsphinx_conf.sh~ b/pocketsphinxAdapter/config/install_pocketsphinx_conf.sh~ new file mode 100755 index 00000000..0482d391 --- /dev/null +++ b/pocketsphinxAdapter/config/install_pocketsphinx_conf.sh~ @@ -0,0 +1,15 @@ +#!/bin/sh +if [ $1 ] + then installdir=$1 + else installdir="/vol/robocup/2013/share/SpeechRec/" +fi +mkdir -p $installdir/psGrammar + +for i in `ls` +do + if [ -d $i ] + then cp -r $i $installdir/psGrammar + fi +done + +echo "copying done" diff --git a/pocketsphinxAdapter/grammar/followMe/followMe.jsgf b/pocketsphinxAdapter/grammar/followMe/followMe.jsgf index c6a5b9ad..6d8673de 100644 --- a/pocketsphinxAdapter/grammar/followMe/followMe.jsgf +++ b/pocketsphinxAdapter/grammar/followMe/followMe.jsgf @@ -1,8 +1,8 @@ #JSGF V1.0; grammar ToBI_followMe; -public <statement> = [tobi] [please] (<followMe> | <elevator> | <closer>) [please] [tobi]; +public <statement> = [tobi] [please] (<followMe> | <elevator> | <closer> | <leave>) [please] [tobi]; <followMe> = follow me [into the elevator]; <elevator> = [(this is) | ([lets] go into)] [an | the] elevator; <closer> = come (closer | close); - +<leave> = leave [the elevator]; diff --git a/pocketsphinxAdapter/grammar/followMe/followMe.jsgf~ b/pocketsphinxAdapter/grammar/followMe/followMe.jsgf~ index c6a5b9ad..806c1c59 100644 --- a/pocketsphinxAdapter/grammar/followMe/followMe.jsgf~ +++ b/pocketsphinxAdapter/grammar/followMe/followMe.jsgf~ @@ -5,4 +5,4 @@ public <statement> = [tobi] [please] (<followMe> | <elevator> | <closer>) [pleas <followMe> = follow me [into the elevator]; <elevator> = [(this is) | ([lets] go into)] [an | the] elevator; <closer> = come (closer | close); - +<leave> = leave [the elevator]; diff --git a/pocketsphinxAdapter/grammar/leave/leave.jsgf b/pocketsphinxAdapter/grammar/leave/leave.jsgf index 83230d80..7891a12b 100644 --- a/pocketsphinxAdapter/grammar/leave/leave.jsgf +++ b/pocketsphinxAdapter/grammar/leave/leave.jsgf @@ -1,3 +1,3 @@ #JSGF V1.0; grammar ToBI_leave; -public <statement> = [tobi] [please] leave [the elevator] [please] [tobi]; +public <statement> = [tobi] [please] leave [please] [tobi]; -- GitLab