From 97ea76bf7f7df1e25c883a9c811922b7d7736718 Mon Sep 17 00:00:00 2001
From: Ingo Killmann <ikillman@techfak.uni-bielefeld.de>
Date: Mon, 24 Jun 2013 21:54:51 +0200
Subject: [PATCH] grammar for demoChallange

---
 .../config/demoChallange/demoChallange.conf   | 23 +++++++++++++++++++
 .../grammar/demoChallange/demoChallange.jsgf  |  6 +++++
 2 files changed, 29 insertions(+)
 create mode 100644 pocketsphinxAdapter/config/demoChallange/demoChallange.conf
 create mode 100644 pocketsphinxAdapter/grammar/demoChallange/demoChallange.jsgf

diff --git a/pocketsphinxAdapter/config/demoChallange/demoChallange.conf b/pocketsphinxAdapter/config/demoChallange/demoChallange.conf
new file mode 100644
index 00000000..4cb3a186
--- /dev/null
+++ b/pocketsphinxAdapter/config/demoChallange/demoChallange.conf
@@ -0,0 +1,23 @@
+[main]
+startdb=30;
+uttdb=35;
+silence=400;
+timeout=8;
+openDeviceDirectly=yes;
+[pocketsphinxinstance]
+name=demoChallange;
+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/demoChallange/demoChallange.jsgf;
+rsbscope=/speechrec/psa/demoChallange;
+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/grammar/demoChallange/demoChallange.jsgf b/pocketsphinxAdapter/grammar/demoChallange/demoChallange.jsgf
new file mode 100644
index 00000000..591094e7
--- /dev/null
+++ b/pocketsphinxAdapter/grammar/demoChallange/demoChallange.jsgf
@@ -0,0 +1,6 @@
+#JSGF V1.0;
+grammar ToBI_demoChallange;
+public <statement> = [tobi] [please] (<followMe> | <stop>) [please] [tobi];
+
+<followMe> = follow me;
+<stop> = stop [it];
-- 
GitLab