From e5bc10a9cae94035b9ab5b4305273769348c5c6e Mon Sep 17 00:00:00 2001
From: Kevin Gardeja <kgardeja@techfak.uni-bielefeld.de>
Date: Wed, 21 Jan 2015 15:00:56 +0100
Subject: [PATCH] new grammar file

---
 ps-config/kgardeja/kgardeja.conf  | 78 +++++++++++++++++++++++++++++++
 ps-grammar/kgardeja/kgardeja.jsgf |  8 ++++
 2 files changed, 86 insertions(+)
 create mode 100644 ps-config/kgardeja/kgardeja.conf
 create mode 100644 ps-grammar/kgardeja/kgardeja.jsgf

diff --git a/ps-config/kgardeja/kgardeja.conf b/ps-config/kgardeja/kgardeja.conf
new file mode 100644
index 00000000..a0ac956f
--- /dev/null
+++ b/ps-config/kgardeja/kgardeja.conf
@@ -0,0 +1,78 @@
+[main]
+startdb=43;
+uttdb=47;
+silence=400;
+timeout=8;
+openDeviceDirectly=yes;
+
+[pocketsphinxinstance]
+name=person;
+hmm=../../../pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k;
+dict=../../psGrammar/dictionary/tobiDic.dic;
+jsgf=../../psGrammar/person/person.jsgf;
+rsbscope=/speechrec/psa/person;
+bestpath=no;
+autoload=yes;
+
+[pocketsphinxinstance]
+name=drinks;
+hmm=../../../pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k;
+dict=../../psGrammar/dictionary/tobiDic.dic;
+jsgf=../../psGrammar/object/drinks.jsgf;
+rsbscope=/speechrec/psa/object;
+bestpath=no;
+autoload=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=ordering;
+hmm=../../../pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k;
+dict=../../psGrammar/dictionary/tobiDic.dic;
+jsgf=../../psGrammar/restaurant/ordering.jsgf;
+rsbscope=/speechrec/psa/ordering;
+bestpath=no;
+autoload=yes;
+
+[pocketsphinxinstance]
+name=saveCommand;
+hmm=../../../pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k;
+dict=../../psGrammar/dictionary/tobiDic.dic;
+jsgf=../../psGrammar/restaurant/saveCommand.jsgf;
+rsbscope=/speechrec/psa/saveCommand;
+bestpath=no;
+autoload=yes;
+
+[pocketsphinxinstance]
+name=otherCommand;
+hmm=../../../pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k;
+dict=../../psGrammar/dictionary/tobiDic.dic;
+jsgf=../../psGrammar/restaurant/otherCommand.jsgf;
+rsbscope=/speechrec/psa/otherCommand;
+bestpath=no;
+autoload=yes;
+
+[pocketsphinxinstance]
+name=controlExecution;
+hmm=../../../pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k;
+dict=../../psGrammar/dictionary/tobiDic.dic;
+jsgf=../../psGrammar/commands/controlExecution.jsgf;
+rsbscope=/speechrec/psa/controlExecution;
+bestpath=no;
+autoload=yes;
+
+[pocketsphinxinstance]
+name=kgardeja;
+hmm=../../../pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k;
+dict=../../psGrammar/dictionary/tobiDic.dic;
+jsgf=../../psGrammar/kgardeja/kgardeja.jsgf;
+rsbscope=/speechrec/psa/controlExecution;
+bestpath=no;
+autoload=yes;
diff --git a/ps-grammar/kgardeja/kgardeja.jsgf b/ps-grammar/kgardeja/kgardeja.jsgf
new file mode 100644
index 00000000..46e39e36
--- /dev/null
+++ b/ps-grammar/kgardeja/kgardeja.jsgf
@@ -0,0 +1,8 @@
+#JSGF V1.0;
+grammar kgardeja;
+public <statement> = <kitchen> | <livingroom> | <accept>;
+<kitchen> = kitchen;
+<livingroom> = livingroom;
+<accept> = yes;
+
+
-- 
GitLab