diff --git a/ps-config/wakeMeUp/wakeMeUp.conf b/ps-config/wakeMeUp/wakeMeUp.conf new file mode 100644 index 0000000000000000000000000000000000000000..1f3f66fa41413b2a4c6be0dd25d27e53e69f4c06 --- /dev/null +++ b/ps-config/wakeMeUp/wakeMeUp.conf @@ -0,0 +1,25 @@ +[main] +startdb=43; +uttdb=47; +silence=400; +timeout=8; +openDeviceDirectly=yes; + + +[pocketsphinxinstance] +name=confirm; +hmm=../../../pocketsphinx/model/en-us/en-us; +dict=../../psGrammar/dictionary/tobiDic.dic; +jsgf=../../psGrammar/confirm/confirm.jsgf; +rsbscope=/speechrec/psa/confirm; +bestpath=no; +autoload=yes; + +[pocketsphinxinstance] +name=wakeMeUp; +hmm=../../../pocketsphinx/model/en-us/en-us; +dict=../../psGrammar/dictionary/tobiDic.dic; +jsgf=../../psGrammar/confirm/wakeMeUp.jsgf; +rsbscope=/speechrec/psa/wakemeup; +bestpath=no; +autoload=yes; diff --git a/ps-grammar/wakeMeUp/wakeMeUp.jsgf b/ps-grammar/wakeMeUp/wakeMeUp.jsgf new file mode 100644 index 0000000000000000000000000000000000000000..34739cc462b84955f37e9a33b07e61942723e036 --- /dev/null +++ b/ps-grammar/wakeMeUp/wakeMeUp.jsgf @@ -0,0 +1,14 @@ +#JSGF V1.0; +grammar ToBI_WakeMeUp; + +public <task> = <snack> | <cereal> | <milk>; + +<snack> = <snack_items> with ((<cereal_items> and <milk_items>) | ([<milk_items> and] <cereal_items>)); + +<cereal> = <cereal_items> with ((<snack_items> and <milk_items>) | ( [<milk_items> and] <snack_items>)); + +<milk> = <milk_items> with ((<cereal_items> and <snack_items>) | (<snack_items> and <cereal_items>)); + +<milk_items> = fresh_milk | meadow_milk | whole_milk; +<cereal_items> = cranberry_cereals | muesli_cereals | chocolate_cereals; +<snack_items> = noodles | pringles | (bubble mint) | red_bull | icetea | fanta | oblates | chocosticks | coke | (bubble gum) | coffee | peanut;