From aea11b32be58fd6f5c7ad2ca942502a8aaf5bcb6 Mon Sep 17 00:00:00 2001 From: alangfel <alangfel@marax.(none)> Date: Sun, 20 Jul 2014 09:44:09 -0300 Subject: [PATCH] added inspection grammar and config + new objects for restaurant --- ps-config/simpleInspection/simpleInspection.conf | 15 +++++++++++++++ ps-config/simpleInspection/simpleInspection.conf~ | 14 ++++++++++++++ ps-grammar/restaurant/ordering.jsgf | 4 ++-- ps-grammar/simpleInspection/inspection.jsgf~ | 6 ++++++ ps-grammar/simpleInspection/simpleInspection.jsgf | 6 ++++++ 5 files changed, 43 insertions(+), 2 deletions(-) create mode 100644 ps-config/simpleInspection/simpleInspection.conf create mode 100644 ps-config/simpleInspection/simpleInspection.conf~ create mode 100644 ps-grammar/simpleInspection/inspection.jsgf~ create mode 100644 ps-grammar/simpleInspection/simpleInspection.jsgf diff --git a/ps-config/simpleInspection/simpleInspection.conf b/ps-config/simpleInspection/simpleInspection.conf new file mode 100644 index 00000000..7f54c8f4 --- /dev/null +++ b/ps-config/simpleInspection/simpleInspection.conf @@ -0,0 +1,15 @@ +[main] +startdb=40; +uttdb=45; +silence=400; +timeout=8; +openDeviceDirectly=yes; + +[pocketsphinxinstance] +name=leave; +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/simpleInspection/simpleInspection.jsgf; +rsbscope=/speechrec/psa/simpleInspection; +bestpath=no; +autoload=yes; diff --git a/ps-config/simpleInspection/simpleInspection.conf~ b/ps-config/simpleInspection/simpleInspection.conf~ new file mode 100644 index 00000000..82656373 --- /dev/null +++ b/ps-config/simpleInspection/simpleInspection.conf~ @@ -0,0 +1,14 @@ +[main] +startdb=40; +uttdb=45; +silence=400; +timeout=8; +openDeviceDirectly=yes; +[pocketsphinxinstance] +name=leave; +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/simpleInspection/simpleInspection.jsgf; +rsbscope=/speechrec/psa/simpleInspection; +bestpath=no; +autoload=yes; diff --git a/ps-grammar/restaurant/ordering.jsgf b/ps-grammar/restaurant/ordering.jsgf index 5e26a10d..1a64144d 100644 --- a/ps-grammar/restaurant/ordering.jsgf +++ b/ps-grammar/restaurant/ordering.jsgf @@ -9,5 +9,5 @@ public <restaurant> = [tobi] [please] bring <objects> to <deliveryLocations>; <objects> = <drinks> | <snacks>; -<drinks> = (orange juice) | (fruit juice) | (ice tea) | coffee | beer; -<snacks> = chocolates | (chewing gum) | peanuts | apple; +<drinks> = (orange juice) | beer | cola | chocolate_milk | energy_drink | grape_juice | milk | water; +<snacks> = chocolate_cookies | chips | biscuits | bread | pringles | strawberry_cookies; diff --git a/ps-grammar/simpleInspection/inspection.jsgf~ b/ps-grammar/simpleInspection/inspection.jsgf~ new file mode 100644 index 00000000..67176de5 --- /dev/null +++ b/ps-grammar/simpleInspection/inspection.jsgf~ @@ -0,0 +1,6 @@ +#JSGF V1.0; +grammar simpleInspection; + +public <simpleInspection> = [tobi] [please] <command>; + +<command> = continue; diff --git a/ps-grammar/simpleInspection/simpleInspection.jsgf b/ps-grammar/simpleInspection/simpleInspection.jsgf new file mode 100644 index 00000000..67176de5 --- /dev/null +++ b/ps-grammar/simpleInspection/simpleInspection.jsgf @@ -0,0 +1,6 @@ +#JSGF V1.0; +grammar simpleInspection; + +public <simpleInspection> = [tobi] [please] <command>; + +<command> = continue; -- GitLab