From b5a614c37220b7f1f9d8087409b76de639287a99 Mon Sep 17 00:00:00 2001 From: Svenja Koesters <skoester@techfak.uni-bielefeld.de> Date: Fri, 6 Feb 2015 10:27:59 +0100 Subject: [PATCH] first version ps-config/ps-grammer for the cleanup task --- ps-config/skoester/cleanUpskoester.conf | 24 ++++++++++++++++++++++++ ps-grammar/skoester/cleanUpskoester.jsgf | 12 ++++++++++++ 2 files changed, 36 insertions(+) create mode 100644 ps-config/skoester/cleanUpskoester.conf create mode 100644 ps-grammar/skoester/cleanUpskoester.jsgf diff --git a/ps-config/skoester/cleanUpskoester.conf b/ps-config/skoester/cleanUpskoester.conf new file mode 100644 index 00000000..476beae8 --- /dev/null +++ b/ps-config/skoester/cleanUpskoester.conf @@ -0,0 +1,24 @@ +[main] +startdb=43; +uttdb=47; +silence=400; +timeout=8; +openDeviceDirectly=yes; + +[pocketsphinxinstance] +name=confirm; +hmm=../../../pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k; +dict=../../psGrammar/dictionary/tobiDic.dic; +jsgf=../../psGrammar/confirm/confirm.jsgf; +rsbscope=/speechrec/psa/confirm; +bestpath=no; +autoload=yes; + +[pocketsphinxinstance] +name=skoester; +hmm=../../../pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k; +dict=../../psGrammar/dictionary/tobiDic.dic; +jsgf=../../psGrammar/skoester/skoester.jsgf; +rsbscope=/speechrec/psa/controlExecution; +bestpath=no; +autoload=yes; diff --git a/ps-grammar/skoester/cleanUpskoester.jsgf b/ps-grammar/skoester/cleanUpskoester.jsgf new file mode 100644 index 00000000..22303ea2 --- /dev/null +++ b/ps-grammar/skoester/cleanUpskoester.jsgf @@ -0,0 +1,12 @@ +#JSGF V1.0; +grammar cleanUpskoester; + +public <statement> = (<target>); + +<target> = (<kitchen> | <livingroom> | <yes> | <no>); + +<kitchen> = kitchen; +<livingroom> = livingroom; +<yes> = yes; +<no> = no; + -- GitLab