From cbce66e1ce117e140070b1fe290cd7cfa3144cd5 Mon Sep 17 00:00:00 2001
From: Philip Kenneweg <pkenenweg@techfak.uni-bielefeld.de>
Date: Tue, 12 Jan 2016 13:33:32 +0100
Subject: [PATCH] ordentlich zeugs

---
 psConfig/exercise/pkenneweg.conf      | 21 +++++++++++++++++++++
 psConfig/teamrobo/pkenneweg.conf      | 15 +++++++++++++++
 psGrammar/exercise/pkenneweg.jsgf     | 10 ++++++++++
 psGrammar/exercise/pkennewegcalc.jsgf |  9 +++++++++
 psGrammar/teamrobo/pkenneweg.jsgf     | 10 ++++++++++
 5 files changed, 65 insertions(+)
 create mode 100644 psConfig/exercise/pkenneweg.conf
 create mode 100644 psConfig/teamrobo/pkenneweg.conf
 create mode 100644 psGrammar/exercise/pkenneweg.jsgf
 create mode 100644 psGrammar/exercise/pkennewegcalc.jsgf
 create mode 100644 psGrammar/teamrobo/pkenneweg.jsgf

diff --git a/psConfig/exercise/pkenneweg.conf b/psConfig/exercise/pkenneweg.conf
new file mode 100644
index 00000000..0c889eaf
--- /dev/null
+++ b/psConfig/exercise/pkenneweg.conf
@@ -0,0 +1,21 @@
+[main]
+startdb=30;
+uttdb=35;
+silence=400;
+timeout=8;
+openDeviceDirectly=yes;
+
+[pocketsphinxinstance]
+name=confirm;
+jsgf=../../psGrammar/confirm/confirm.jsgf;
+rsbscope=/speechrec/psa/confirm;
+bestpath=no;
+autoload=yes;
+
+[pocketsphinxinstance]
+name=exercise;
+jsgf=../../psGrammar/exercise/pkenneweg.jsgf;
+rsbscope=/speechrec/psa/pkenneweg;
+bestpath=no;
+autoload=yes;
+
diff --git a/psConfig/teamrobo/pkenneweg.conf b/psConfig/teamrobo/pkenneweg.conf
new file mode 100644
index 00000000..2441e8be
--- /dev/null
+++ b/psConfig/teamrobo/pkenneweg.conf
@@ -0,0 +1,15 @@
+[main]
+startdb=30;
+uttdb=35;
+silence=400;
+timeout=8;
+openDeviceDirectly=yes;
+
+
+[pocketsphinxinstance]
+name=ordering;
+jsgf=pkenneweg.jsgf;
+rsbscope=/speechrec/psa/pkenneweg;
+bestpath=no;
+autoload=yes;
+
diff --git a/psGrammar/exercise/pkenneweg.jsgf b/psGrammar/exercise/pkenneweg.jsgf
new file mode 100644
index 00000000..c3b833fc
--- /dev/null
+++ b/psGrammar/exercise/pkenneweg.jsgf
@@ -0,0 +1,10 @@
+#JSGF V1.0;
+grammar ToBI_commands;
+public <statement> = [tobi] [biron] <command> [tobi] [biron];
+
+<command> = (<drink>) ;
+<drink> = (<retrieve> a drink)
+<retrieve> = retrieve|fetch|get|grab
+
+
+
diff --git a/psGrammar/exercise/pkennewegcalc.jsgf b/psGrammar/exercise/pkennewegcalc.jsgf
new file mode 100644
index 00000000..9f1dabee
--- /dev/null
+++ b/psGrammar/exercise/pkennewegcalc.jsgf
@@ -0,0 +1,9 @@
+#JSGF V1.0;
+grammar ToBI_commands;
+public <statement> = [tobi] [biron] <command>;
+
+<command> = <numeric> <op> <numeric> ;
+<numeric> = one|two|zero|three|four|five|six|seven|eight|nine;
+<op> = plus|minus;
+
+
diff --git a/psGrammar/teamrobo/pkenneweg.jsgf b/psGrammar/teamrobo/pkenneweg.jsgf
new file mode 100644
index 00000000..03e945d5
--- /dev/null
+++ b/psGrammar/teamrobo/pkenneweg.jsgf
@@ -0,0 +1,10 @@
+#JSGF V1.0;
+grammar ToBI_commands;
+public <statement> = [tobi] [biron] <command> [tobi] [biron];
+
+<command> = (<drink>) ;
+<drink> = (<retrieve> a drink);
+<retrieve> = retrieve|fetch|get|grab;
+
+
+
-- 
GitLab