Skip to content
Snippets Groups Projects
Commit d421e056 authored by Suchit Sharma's avatar Suchit Sharma
Browse files

changed grammer for roocup

parent c62c258b
No related branches found
No related tags found
No related merge requests found
#JSGF V1.0;
grammar ToBI_shellgame;
public <statement> = [tobi] [please] <command> [please] [tobi];
<command> = <introduce> | <abilities> | <play> | <follow> | <door> | <leave> | <finish> | <observe> | <locate> | <list>;
<introduce> = introduce [yourself];
<abilities> = tell your abilities | list your abilities;
<play> = let us play | lets play;
<follow> = follow [me];
<door> = recognize [a] door;
<leave> = leave | go back | we are done;
<finish> = lets call it a day;
<locate> = ( ( where is [a | an | the] ) | ( where are [the] ) ) <object>;
<list> = ( which objects do you know ) | ( list [the] objects );
<object> = ( milk | apple | box );
......@@ -7,4 +7,4 @@ public <statement> = <phrase> [please];
<verb> = follow | learn | remember | memorize | find | search for | get | take | bring | go to;
<person> = <personal_pronoun> | <person_name>;
<personal_pronoun> = him | her | me;
<person_name> = michael | christopher | matthew | joshua | daniel | david | andrew | james | justin | joseph | jessica | ashley | brittany | amanda | samantha | sarah | stephanie | jennifer | elizabeth | lauren;
<person_name> = james|john|alfred|daniel|charles|luis|paul|richard|robert|steve|anna|beth|carmen|jennifer|jessica|kimberly|kristina|laura|mary|sarah;
......@@ -8,11 +8,11 @@ public <statement> = <locationPhrase> [please];
<location> = <appliance_class> | <shelf_class> | <seat_class> | <table_class> | <door_class> | <exit_class> | <everywhere_class>;
<appliance_class> = (coat rack) | kitchen_counter | fridge | bar;
<shelf_class> = book_shelf | (food shelf);
<appliance_class> = waste_bin | fridge | stove;
<shelf_class> = bar | side_board | (right side_table) | (left side_table);
<seat_class> = <seating_class>;
<seating_class> = sofa | bed;
<table_class> = kitchen_table | desk | side_table | couch_table | (bedroom table);
<seating_class> = sofa | armchair | bed;
<table_class> = kitchen_table | hallway_table | dinner_table | couch_table ;
<door_class> = (room door);
<utensil_class> = trash_bin;
<exit_class> = (exit door) | (entry door);
......
......@@ -3,13 +3,13 @@ grammar ToBI_object;
public <statement> = [<verb>] [<article>] <object> [please];
<object> = <grab_object>;
<grab_object> = <bathroom_class> | <drink_class> | <snack_class> | <food_class> | <tool_class>;
<grab_object> = <cleaning_class> | <drink_class> | <snack_class> | <food_class> | tool | (bathroom stuff) | cleaning_stuff | drinks | snacks | object | food | something | stuff | item | beverage | things;
<cleaning_class> = brush | detergent | shampoo | sponge | toothpaste;
<drink_class> = (orange juice) | beer | cola | chocolate_milk | energy_drink | grape_juice | milk | water;
<snack_class> = chocolate_cookies | chips | biscuits | bread | pringles | strawberry_cookies;
<food_class> = baby_food | crackers | coffee | yeast | noodles | beans;
<bathroom_class> = (shower gel) | (hair gel);
<drink_class> = (orange juice) | (fruit juice) | (ice tea) | coffee | beer;
<snack_class> = chocolates | (chewing gum) | peanuts;
<food_class> = (noodle sauce) | (cat food) | dumplings | tacos;
<tool_class> = sponge | tape | (sole latex);
<verb> = bring | carry | retrieve | fetch | get | give | find | search for | put | learn | remember | memorize;
<article> = the | an | some | a | this;
......@@ -2,4 +2,4 @@
grammar ToBI_person;
public <statement> = <naming>;
<naming> = [(my name is) | (i am)] <name>;
<name> = james | john | robert | michael | william | david | richard | charles | joseph | thomas | mary | patricia | linda | barbara | elisabeth | jennifer | maria;
<name> = james|john|alfred|daniel|charles|luis|paul|richard|robert|steve|anna|beth|carmen|jennifer|jessica|kimberly|kristina|laura|mary|sarah;
#JSGF V1.0;
grammar ToBI_person;
public <statement> = <naming>;
<naming> = [(my name is) | (i am)] <name>;
<name> = michael | christopher | matthew | joshua | daniel | david | andrew | james | justin | joseph | jessica | ashley | brittany | amanda | samantha | sarah | stephanie | jennifer | elizabeth | lauren;
......@@ -2,4 +2,4 @@
grammar ToBI_room;
public <statement> = <rooms>;
<rooms> = [the] (living_room | bed_room | hallway | kitchen);
<rooms> = [the] (living_room | bedroom | hallway | kitchen);
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