From 8f0769debde05bbcfc296d1603a4252913b14d9f Mon Sep 17 00:00:00 2001
From: Leon Ziegler <lziegler@techfak.uni-bielefeld.de>
Date: Tue, 1 Apr 2014 20:43:17 +0200
Subject: [PATCH] grammar for demo challenge

---
 ps-config/demoChallenge/demoChallenge.conf | 24 ++++++++++++++++++++++
 ps-grammar/demoChallenge/commands.jsgf     |  7 +++++++
 2 files changed, 31 insertions(+)
 create mode 100644 ps-config/demoChallenge/demoChallenge.conf
 create mode 100644 ps-grammar/demoChallenge/commands.jsgf

diff --git a/ps-config/demoChallenge/demoChallenge.conf b/ps-config/demoChallenge/demoChallenge.conf
new file mode 100644
index 00000000..3670aacd
--- /dev/null
+++ b/ps-config/demoChallenge/demoChallenge.conf
@@ -0,0 +1,24 @@
+[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;
+
+[pocketsphinxinstance]
+name=commands;
+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/demoChallenge/commands.jsgf;
+rsbscope=/speechrec/psa/commands;
+bestpath=no;
+autoload=yes;
diff --git a/ps-grammar/demoChallenge/commands.jsgf b/ps-grammar/demoChallenge/commands.jsgf
new file mode 100644
index 00000000..512cf625
--- /dev/null
+++ b/ps-grammar/demoChallenge/commands.jsgf
@@ -0,0 +1,7 @@
+#JSGF V1.0;
+grammar bebot_demo;
+public <statement> = [tobi] [please] <command> [please] [tobi];
+
+<command> = <clean>;
+<clean> = clean up | start cleaning;
+
-- 
GitLab