Skip to content
Snippets Groups Projects
Commit 7a7c68ae authored by Leroy John Rügemer's avatar Leroy John Rügemer
Browse files

gprs

parent 805c953a
No related branches found
No related tags found
No related merge requests found
...@@ -2,9 +2,9 @@ ...@@ -2,9 +2,9 @@
grammar ToBI_GPRS; grammar ToBI_GPRS;
public <task> = [<robot_name>] [(would | could) you] [please] <command> [please] [<robot_name>]; public <task> = [<robot_name>] [(would | could) you] [please] <command> [please] [<robot_name>];
<robot_name> = tobi | robot; <robot_name> = (tobi | robot);
<command> = <bring_command> | <goto_command> | <find_command> | <follow_command> | <cleanup_command> | <show_command> | <pointat_command>; <command> = (<bring_command> | <goto_command> | <find_command> | <follow_command> | <cleanup_command> | <show_command> | <pointat_command>);
<bring_command> = (<bringVerb> [<person>] [<article>] <grab_object> [<preposition> [<article>] <location>] [((to|into) [<article>] <second_location>)]) | (<bringVerb> [<article>] <person> <preposition> <article> <location>); <bring_command> = (<bringVerb> [<person>] [<article>] <grab_object> [<preposition> [<article>] <location>] [((to|into) [<article>] <second_location>)]) | (<bringVerb> [<article>] <person> <preposition> <article> <location>);
<goto_command> = (<gotoVerb> <preposition> ([<article>] <location>)); <goto_command> = (<gotoVerb> <preposition> ([<article>] <location>));
...@@ -15,39 +15,39 @@ public <task> = [<robot_name>] [(would | could) you] [please] <command> [please] ...@@ -15,39 +15,39 @@ public <task> = [<robot_name>] [(would | could) you] [please] <command> [please]
<cleanup_command> = (<cleanupVerb> [<article> <room_class>]); <cleanup_command> = (<cleanupVerb> [<article> <room_class>]);
<show_command> = (<showVerb> [<person>] (([<article>] <grab_object>)) | (([the (path|way) to] [<article>] <location>))); <show_command> = (<showVerb> [<person>] (([<article>] <grab_object>)) | (([the (path|way) to] [<article>] <location>)));
<bringVerb> = bring | carry | retrieve | fetch | get | give | put | attend | deliver | convey | gather | (pick up) | take | lead | grasp; <bringVerb> = (bring | carry | retrieve | fetch | get | give | put | attend | deliver | convey | gather | (pick up) | take | lead | grasp);
<findVerb> = detect | find | (search [for]) | (check [for]) | acquire | attain | obtain | (look for); <findVerb> = (detect | find | (search [for]) | (check [for]) | acquire | attain | obtain | (look for));
<pointatVerb> = (point at) | denote | direct | indicate | suggest | show; <pointatVerb> = ((point at) | denote | direct | indicate | suggest | show);
<showVerb> = show | demonstrate | present | (point at) | denote | direct | indicate | suggest; <showVerb> = (show | demonstrate | present | (point at) | denote | direct | indicate | suggest);
<gotoVerb> = navigate | go | approach | move | run | travel | ride; <gotoVerb> = (navigate | go | approach | move | run | travel | ride);
<followVerb> = follow | chase | (come after); <followVerb> = (follow | chase | (come after));
<learnVerb> = learn | remember | memorize | determine | gain | study | train; <learnVerb> = (learn | remember | memorize | determine | gain | study | train);
<cleanupVerb> = (clean up) | (tidy up) | clear | (do up) | (straighten up); <cleanupVerb> = ((clean up) | (tidy up) | clear | (do up) | (straighten up));
<person> = someone | <personal_pronoun> | <person_name> | (person | man | woman | guy | girl | boy | human | robot); <person> = (someone | <personal_pronoun> | <person_name> | (person | man | woman | guy | girl | boy | human | robot));
<personal_pronoun> = him | her | me; <personal_pronoun> = (him | her | me);
<person_name> = james|john|alfred|daniel|charles|luis|paul|richard|robert|steve|anna|beth|carmen|jennifer|jessica|kimberly|kristina|laura|mary|sarah; <person_name> = (james|john|alfred|daniel|charles|luis|paul|richard|robert|steve|anna|beth|carmen|jennifer|jessica|kimberly|kristina|laura|mary|sarah);
<grab_object> = <cleaning_class> | <drink_class> | <snack_class> | <food_class> | tool | (bathroom stuff) | cleaning_stuff | drinks | drink | snacks | snack | object | food | something | stuff | item | beverage; <grab_object> = (<cleaning_class> | <drink_class> | <snack_class> | <food_class> | (cleaning stuff) | drink | snacks | snack | object | food | something | stuff | item | beverage);
<cleaning_class> = brush | detergent | shampoo | sponge | toothpaste; <cleaning_class> = (brush | detergent | shampoo | sponge | toothpaste);
<drink_class> = (orange juice) | beer | cola | (chocolate milk) | (energy drink) | (grape juice) | milk | water; <drink_class> = ((orange juice) | beer | cola | (chocolate milk) | (energy drink) | (grape juice) | milk | water);
<snack_class> = (chocolate cookies) | chips | biscuits | bread | pringles | (strawberry cookies); <snack_class> = ((chocolate cookies) | chips | biscuits | bread | pringles | (strawberry cookies));
<food_class> = (baby food) | crackers | coffee | yeast | noodles | beans; <food_class> = ((baby food) | crackers | coffee | yeast | noodles | beans);
<location> = <appliance_class> | <shelf_class> | <seat_class> | <table_class> | <room_class> | <door_class> | <exit_class> | exit | door | seating | utensil | location | room | appliance | shelf | seat | table | somewhere | apartment | furniture; <location> = (<appliance_class> | <shelf_class> | <seat_class> | <table_class> | <room_class> | <door_class> | <exit_class> | exit | door | seating | utensil | location | room | appliance | shelf | seat | table | somewhere | apartment | furniture);
<second_location> = <appliance_class> | <shelf_class> | <seat_class> | <table_class> | <room_class> | <door_class> | door | seating | utensil | location | room | appliance | shelf | seat | table | somewhere | apartment | furniture; <second_location> = (<appliance_class> | <shelf_class> | <seat_class> | <table_class> | <room_class> | <door_class> | door | seating | utensil | location | room | appliance | shelf | seat | table | somewhere | apartment | furniture);
<appliance_class> = (waste bin) | fridge | stove; <appliance_class> = ((waste bin) | fridge | stove);
<shelf_class> = bar | sideboard | (right sidetable) | (left sidetable); <shelf_class> = (bar | sideboard | (right sidetable) | (left sidetable));
<seat_class> = <seating_class>; <seat_class> = <seating_class>;
<seating_class> = sofa | armchair | bed; <seating_class> = (sofa | armchair | bed);
<table_class> = (kitchen table) | (hallway table) | (dinner table) | (couch table) ; <table_class> = ((kitchen table) | (hallway table) | (dinner table) | (couch table)) ;
<door_class> = (room door); <door_class> = ((room door));
<room_class> = kitchen | (living room) | bedroom | hallway; <room_class> = (kitchen | (living room) | bedroom | hallway);
<exit_class> = (exit door) | (entry door); <exit_class> = ((exit door) | (entry door));
<preposition> = into | to | from | on; <preposition> = (into | to | from | on);
<further_preposition> = (on [top of]) | in | (next to) | at | near; <further_preposition> = ((on [top of]) | in | (next to) | at | near);
<article> = the | an | a | some | this; <article> = (the | an | a | some | this);
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