From 4d550b5a8f45ec97bbc66c79026ec3c0a08bcd5d Mon Sep 17 00:00:00 2001
From: Leon Ziegler <lziegler@techfak.uni-bielefeld.de>
Date: Thu, 28 Aug 2014 10:44:44 +0200
Subject: [PATCH] added grammar for controlling execution of current behavior

---
 ps-config/demoDynamic/demoDynamic.conf    | 9 +++++++++
 ps-grammar/commands/controlExecution.jsgf | 8 ++++++++
 2 files changed, 17 insertions(+)
 create mode 100644 ps-grammar/commands/controlExecution.jsgf

diff --git a/ps-config/demoDynamic/demoDynamic.conf b/ps-config/demoDynamic/demoDynamic.conf
index 8e664d4e..9cb30aa6 100644
--- a/ps-config/demoDynamic/demoDynamic.conf
+++ b/ps-config/demoDynamic/demoDynamic.conf
@@ -57,3 +57,12 @@ jsgf=/vol/robocup/2014/share/SpeechRec/psGrammar/restaurant/otherCommand.jsgf;
 rsbscope=/speechrec/psa/otherCommand;
 bestpath=no;
 autoload=yes;
+
+[pocketsphinxinstance]
+name=controlExecution;
+hmm=/vol/robocup/2014/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k;
+dict=/vol/robocup/2014/share/SpeechRec/psGrammar/dictionary/tobiDic.dic;
+jsgf=/vol/robocup/2014/share/SpeechRec/psGrammar/commands/controlExecution.jsgf;
+rsbscope=/speechrec/psa/controlExecution;
+bestpath=no;
+autoload=yes;
diff --git a/ps-grammar/commands/controlExecution.jsgf b/ps-grammar/commands/controlExecution.jsgf
new file mode 100644
index 00000000..fc73a10e
--- /dev/null
+++ b/ps-grammar/commands/controlExecution.jsgf
@@ -0,0 +1,8 @@
+#JSGF V1.0;
+grammar ToBI_shellgame;
+public <statement> = [tobi] [please] <command> [please] [tobi];
+
+<command> = <stop> | <continue>| <leave>;
+<stop> = (stop it) | stop | cancel;
+<leave> = leave | finish | (go back) | (we are done) | (lets call it a day);
+<continue> = continue | proceed;
-- 
GitLab