From a06702a02a478ab87e658fc78ef37179bf8ce53c Mon Sep 17 00:00:00 2001 From: cstollen <cstollen@techfak> Date: Fri, 14 Dec 2018 16:23:07 +0100 Subject: [PATCH] Add follower grammer and config --- psConfig/exercise/cstollen/cstollen.conf | 10 ++++++++++ psGrammar/exercise/cstollen/stop.jsgf | 6 ++++++ 2 files changed, 16 insertions(+) create mode 100644 psGrammar/exercise/cstollen/stop.jsgf diff --git a/psConfig/exercise/cstollen/cstollen.conf b/psConfig/exercise/cstollen/cstollen.conf index 5f250411..c60c3b06 100644 --- a/psConfig/exercise/cstollen/cstollen.conf +++ b/psConfig/exercise/cstollen/cstollen.conf @@ -32,3 +32,13 @@ jsgf=../../../psGrammar/exercise/cstollen/calculator.jsgf; rsbscope=/speechrec/psa/calculator; bestpath=no; autoload=yes; + +[pocketsphinxinstance] +name=follow; +jsgf=../../../psGrammar/exercise/cstollen/stop.jsgf; +rsbscope=/speechrec/psa/stop; +bestpath=no; +autoload=yes; + + + diff --git a/psGrammar/exercise/cstollen/stop.jsgf b/psGrammar/exercise/cstollen/stop.jsgf new file mode 100644 index 00000000..2418b146 --- /dev/null +++ b/psGrammar/exercise/cstollen/stop.jsgf @@ -0,0 +1,6 @@ +#JSGF V1.0; +grammar jUP_confirm; +public <stopstring> = [<robot>] stop; + +<robot> = (tobi | floka | meka | robot); + -- GitLab