Skip to content
Snippets Groups Projects
Commit a1da0552 authored by lgraesner's avatar lgraesner
Browse files

initial setup of eegpsr grammar

parent 689fcccf
No related branches found
No related tags found
1 merge request!35Robocupchanges
#JSGF V1.0;
grammar speechRecognition;
public <sentence> = [could you | robot | tobi | tiago] [please] <command>;
<command> = (<cmd>);
<cmd> = <countObj>;
<countObj> = (<V_count> <NP_category> (items | objects) at <NP_placement> and (inform | (report to)) <NP_me>) | (<V_count> <NP_category> (items | objects) are in <NP_placement>);
<deliverPrep> = to;
<placePrep> = on;
<inLocPrep> = in;
<fromLocPrep> = from;
<toLocPrep> = to;
<atLocPrep> = at;
<talkPrep> = to;
<LocPrep> = in | at;
<onLocPrep> = on;
<arePrep> = are;
<absPrep> = (at the (left | right) of) | ((left | right) most);
<relPrep> = (at the (left | right)) of | (above | behind | under | (on top of));
<color> = blue | yellow | black | white | red | orange | gray;
<V_take> = bring | take | get | grasp | (pick up);
<V_place> = put | place;
<V_deliver> = bring | give | deliver;
<V_bring> = bring | give;
<V_go> = go | navigate;
<V_find> = find | locate | (look for);
<V_talk> = tell | say;
<V_answer> = answer;
<V_follow> = follow;
<V_meet> = meet | face | contact | greet | find;
<V_guide> = guide | escort | take | lead | accompany;
<V_tell> = tell;
<V_count> = (count the) | (tell me how many);
<V_serve> = serve | arrange | deliver | distribute | give | provide;
<V_introduce> = introduce;
<V_ask> = ask;
<V_leave> = leave;
<V_clean> = (clean out) | (clean up) | (tidy (up | op)) | order | neaten;
<V_dump> = (take out) | dump;
<NP_object> = (the <N_object>) | (a <N_object>) | (an <N_object>) | (<N_object>);
<NP_colObject> = (<color> <N_object>);
<NP_absobject> = (the <absPrep> object);
<NP_relObject> = (the object <relPrep>);
<NP_objectpron> = (<N_objectpron>);
<NP_category> = (the <N_category>) | <N_category>;
<NP_objectprop> = (the <N_objectprop>);
<NP_placement> = (the <N_placement>);
<NP_placementTwo> = (the <N_placementTwo>);
<NP_beacon> = (the <N_beacon>);
<NP_beaconTwo> = (the <N_beaconTwo>);
<NP_room> = (the <N_room>);
<NP_roomTwo> = (the <N_roomTwo>);
<NP_me> = (<N_me>);
<NP_gestperson> = (the <N_gestperson>) | (a <N_gestperson>);
<NP_poseperson> = (a <N_poseperson>);
<NP_genderperson> = (a <N_genderperson>);
<NP_genderpersonplural> = (<N_genderpersonplural>);
<NP_agegenderpersonplural> = (<N_agegenderpersonplural>);
<NP_name> = <N_name>;
<NP_talk> = <N_talk>;
<NP_answer> = <N_answer>;
<NP_personalpron> = <N_personalpron>;
<NP_personattribute> = (the <N_personattribute>);
<NP_posture> = <N_posture>;
<NP_taxi> = ([the] <N_taxi>);
<NP_partyfood> = <N_partyfood>;
<NP_door> = (the <N_door>);
<NP_garbage> = (the <N_garbage>);
<N_objectpron> = it;
<N_objectprop> = biggest | largest | smallest | heaviest | lightest | thinnest;
<N_me> = me;
<N_gestperson> = (person waving) | (person (raising | rising) [their] (left|right) arm) | (person pointing to the (left|right)) | (person calling);
<N_poseperson> = (person sitting) | (person standing) | (person lying down);
<N_genderperson> = man | woman | boy | girl | (male person) | (female person);
<N_genderpersonplural> = men | women | boys | girls | male | female;
<N_agegenderpersonplural> = people | men | women | guests | elders | children;
<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> = them | her | his | him | it;
<N_personattribute> = name | gender | pose;
<N_posture> = sitting | standing | lying down;
<N_three> = three;
<N_object> = sponge | cleanser | (red wine) | (juice pack) | (cola) | (tropical juice) | (milk) | (iced tea) | (orange juice) | (tuna) | (tomato soup) | spam | mustard | (strawberry jello) | (chocolate jello) | (coffee grounds) | sugar | pear | plum | peach | lemon | orange | strawberry | banana | apple | (tennis ball) | (soccer ball) | (rubiks cube) | dice | baseball | pringles | cornflakes | cheezit | spoon | plate | cup | fork | bowl | knife;
<N_category> = (cleaning supplies) | drinks | food | fruits | toys | snacks | dishes;
<N_room> = kitchen | (living room) | bedroom | study;
<N_roomTwo> = kitchen | (living room) | bedroom | study;
<N_placement> = (bedside table) | shelf | trashbin | dishwasher | kitchen table | pantry | cabinet | desk | (tv stand) | (storage rack) | (bookshelf) | (side tables) | sink;
<N_placementTwo> = (bedside table) | shelf | trashbin | dishwasher | kitchen table | pantry | cabinet | desk | (tv stand) | (storage rack) | (bookshelf) | (side tables) | sink;
<N_beacon> = (bedside table) | shelf | trashbin | dishwasher | kitchen table | pantry | cabinet | desk | (tv stand) | (storage rack) | (bookshelf) | bed | (potted plant) | chairs | refrigerator | sink | coatrack | armchair | (desk lamp) | lamp | (side tables) | (sofa) | exit | entrance;
<N_beaconTwo> = (bedside table) | shelf | trashbin | dishwasher | kitchen table | pantry | cabinet | desk | (tv stand) | (storage rack) | (bookshelf) | bed | (potted plant) | chairs | refrigerator | sink | coatrack | armchair | (desk lamp) | lamp | (side tables) | (sofa) | exit | entrance;
<N_name> = adel | angel | axel | charlie | jane | john | jules | morgan | paris | robin | simone;
<N_taxi> = taxi | cab | uber;
<N_partyfood> = snacks | drinks;
<N_door> = ( front | back | main | rear ) (entrance | door);
<N_garbage> = litter | garbage | trash | waste | debris | junk;
<N_luggage> = bag | valise | baggage | suitcase | trolley;
<N_garbage> = litter | garbage | trash | waste | debris | junk;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment