Skip to content
Snippets Groups Projects
Commit 8d79834a authored by Johannes Kummert's avatar Johannes Kummert
Browse files

eegpsr

parent 9a654b14
No related branches found
No related tags found
No related merge requests found
[main]
startdb=30;
uttdb=35;
silence=400;
timeout=8;
openDeviceDirectly=yes;
alsadevice=sysdefault;
[pocketsphinxinstance]
name=Main;
dict=../../../psGrammar/dictionary/tobiDic.dic;
jsgf=../../../psGrammar/tasks/gpsr/eegpsr_2017.jsgf;
rsbscope=/speechrec/psa/gpsr2main;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=confirm;
dict=../../../psGrammar/dictionary/tobiDic.dic;
jsgf=../../../psGrammar/confirm/confirm.jsgf;
rsbscope=/speechrec/psa/confirm;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=quest;
dict=../../../psGrammar/dictionary/tobiDic.dic;
jsgf=../../../psGrammar/tasks/gpsr/answer.jsgf;
rsbscope=/speechrec/psa/answer;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=person;
dict=../../../psGrammar/dictionary/tobiDic.dic;
jsgf=../../../psGrammar/person/person.jsgf;
rsbscope=/speechrec/psa/person;
bestpath=no;
autoload=yes;
#JSGF V1.0;
grammar speechRecognition;
public <sentence> = ([please | (could you) | (robot please) | (could you please) | tobi | (tobi please)] <VP1> [([and|then] <VP2>)] [([and|then] <VP3>)]);
public <sentence> = ([please | (could you) | (robot please) | (could you please) | tobi | (tobi please)] <VP1> [([and|then] <VP2>)] [([and|then] <VP3>)] [([and|then] <VP4>)]);
<VP1> = (<VP_tritrans> | <VP_bitrans> | <VP_trans> );
<VP2> = (<VP_tritrans> | <VP_bitrans> | <VP_trans> );
<VP3> = (<VP_tritrans> | <VP_bitrans> | <VP_trans> );
<VP4> = (<VP_tritrans> | <VP_bitrans> | <VP_trans> );
<VP_trans> = <goToLoc> | <findObj> | <talkInfo> | <answerQuestion> | <findPrs> | <followPrs>;
<VP_bitrans> = <takeObjFromPlcmt> | <placeObjOnPlcmt> | <findPrsInBeac> | <findObjInRoom> | <guidePrsToBeacon>;
<VP_tritrans> = <deliverObjToNameAtBeac>;
<goToLoc> = <V_goto> (<NP_placement> | <NP_room> | <NP_beacon>);
<goToLoc> = <V_goto> (<NP_room> | <NP_placement> | <NP_beacon>);
<findObj> = <V_find> <NP_object>;
<talkInfo> = <V_talk> <NP_talk>;
<answerQuestion> = <V_answer> <NP_answer>;
......@@ -23,9 +24,9 @@ public <sentence> = ([please | (could you) | (robot please) | (could you please)
<takeObjFromPlcmt> = <V_take> <NP_object> <fromLocPrep> <NP_placement>;
<placeObjOnPlcmt> = <V_place> (<NP_objectpron> | <NP_object>) <placePrep> <NP_placement>;
<findPrsInBeac> = <V_find> (<NP_name>) <inLocPrep> <NP_beacon>;
<findPrsInRoom> = <V_find> (<NP_name>) (<inLocPrep> | <atLocPrep>) (<NP_room> | <NP_beacon>);
<findObjInRoom> = <V_find> (<NP_object>) <inLocPrep> <NP_room>;
<guidePrsToBeacon> = <V_guide> <NP_personalpron> <toLocPrep> (<NP_beacon> | <NP_room>);
<guidePrsToBeacon> = <V_guide> <NP_personalpron> <toLocPrep> (<NP_room> | <NP_beacon>);
<deliverObjToNameAtBeac> = <V_deliver> <NP_objectpron> <deliverPrep> <NP_name> <inLocPrep> <NP_beacon>;
......@@ -43,30 +44,32 @@ public <sentence> = ([please | (could you) | (robot please) | (could you please)
<NP_object> = (the <N_object>) | (a <N_object>) | (an <N_object>) | (<N_object>);
<NP_objectpron> = (the <N_objectpron>);
<NP_objectpron> = (<N_objectpron>);
<NP_placement> = (the <N_placement>);
<NP_beacon> = (the <N_beacon>);
<NP_room> = (the <N_room>);
<NP_me> = (<N_me>);
<NP_name> = <N_name>;
<NP_name> = (a <N_name>) | (<N_name>);
<NP_talk> = <N_talk>;
<NP_answer> = <N_answer>;
<NP_personalpron> = <N_personalpron>;
<N_object> = chips | senbei | pringles | peanuts | (chocolate (bar | egg)) | manju | mints | noodles | apple | paprika | watermelon | sushi | tea | beer | coke | sake | shampoo | soap | cloth | sponge | bowl | tray | plate;
<N_object> = apple | bag | (banana milk) | basket | bread | cappucino | cereals | (chocolate cookies) | cloth | (coffee cup) | coke | cornflakes | crackers | egg | fork | spoon | knife | lemon | noodles | (orange drink) | paper | paprika | (party cracker) | pear | peas | pepper | plate | (potato soup) | potato | pringles | (red bowl) | salt | sponge | (tomato pasta) | towel | water | (white bowl);
<N_objectpron> = it;
<N_placement> = (bedside) | (tv stand) | (living (shelf | table)) | (center table) | (bar) | (drawer) | (desk) | (cupboard) | (sink) | (side shelf) | (bookcase) | (dining table) | (fridge) | (counter) | (cabinet) | (cupboard);
<N_beacon> = (bed) | (tv stand) | (living table) | (desk) | (sink) | (dining table) | (cabinet);
<N_room> = bedroom | (living room) | office | kitchen | corridor | bathroom;
<N_placement> = (dinner table) | cabinet | bookshelf | (kitchen counter) | sofa | (couch table) | (side table) | (stove) | bed | closet | desk | bar;
<N_beacon> = (dinner table) | cabinet | bookshelf | (kitchen counter) | sofa | (couch table) | (side table) | (stove) | bed | closet | desk | bar;
<N_room> = (dining room) | (living room) | (bed room) | kitchen;
<N_me> = me;
<N_talk> = (something about yourself) | (the time) | (what day is (today | tomorrow)) | (your teams (name | country | affiliation)) | (the day of the (week | month)) | (a joke);
<N_answer> = (a question);
<N_personalpron> = him | her;
<N_name> = emma | olivia | sophia | ava | isabella | mia | abigail | emily | charlotte | harper | noah | liam | mason | jacob | william | ethan | james | alexander | michael | benjamin | (person) | (waving person) | (calling person) | me;
<deliverPrep> = to;
<placePrep> = on;
<inLocPrep> = in;
<atLocPrep> = in;
<fromLocPrep> = from;
<toLocPrep> = to;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment