Skip to content
Snippets Groups Projects
Commit 24e76241 authored by Ingo Killmann's avatar Ingo Killmann
Browse files

gprs grammar small changes for fixing the stupid bug

parent 8f90ab5b
No related branches found
No related tags found
No related merge requests found
......@@ -4,12 +4,12 @@ public <task> = [tobi] [(would | could) you] [please] <command> [please] [tobi];
<command> = <bring_command> | <goto_command> | <follow_command> | <find_command> | <put_command> | <learn_command> | <wait>;
<bring_command> = <bringVerb> [<person>] [the | an | a | some | this] <grab_object> [from | into | to] [<location> | <person>];
<bring_command> = <bringVerb> [<person>] [<article>] <grab_object> [from | into | to] [<location> | <person>];
<goto_command> = <gotoVerb> <preposition> <location>;
<follow_command> = <followVerb> <person>;
<find_command> = <findVerb> ([the | an | a | some | this] <grab_object> | <person>) [in <location>];
<find_command> = <findVerb> ([<article>] <grab_object> | <person>) [in <location>];
<put_command> = <putVerb> <grab_object> <preposition> <location>;
<learn_command> = <learnVerb> [the | a | an | this] (<person> | <location>);
<learn_command> = <learnVerb> [<article>] (<person> | <location>);
<bringVerb> = bring | carry | retrieve | fetch | get | give;
<findVerb> = find | search for;
......@@ -18,7 +18,7 @@ public <task> = [tobi] [(would | could) you] [please] <command> [please] [tobi];
<followVerb> = follow;
<learnVerb> = learn | remember | memorize;
<person> = someone | <personal_pronoun> | <person_name> | (the | a | this) (person | man | woman | guy | girl | boy | human | robot);
<person> = someone | <personal_pronoun> | <person_name> | [<article>] (person | man | woman | guy | girl | boy | human | robot);
<personal_pronoun> = him | her | me;
<person_name> = james|john|robert|michael|william|david|richard|charles|linda|thomas|mary|patricia|joseph|dorothy|barbara|susan|jennifer|maria|elizabeth|margaret;
......@@ -28,7 +28,7 @@ public <task> = [tobi] [(would | could) you] [please] <command> [please] [tobi];
<drink_class> = coke | beer | wine | redbull | water | juice;
<snack_class> = cookies | peanuts | chocolate | hazelnuts | noodles;
<location> = [the | an | a | this] (<appliance_class> | <shelf_class> | <seat_class> | <table_class> | <bin_class> | <decoration_class> | <room_class> | location | room | appliance | shelf | seat | table | bin | decoration | somewhere);
<location> = [<article>] (<appliance_class> | <shelf_class> | <seat_class> | <table_class> | <bin_class> | <decoration_class> | <room_class> | location | room | appliance | shelf | seat | table | bin | decoration | somewhere);
<appliance_class> = fridge | sink | tv;
<shelf_class> = hanger | shelf;
<seat_class> = couch | lounge | bed | armchair;
......@@ -38,4 +38,5 @@ public <task> = [tobi] [(would | could) you] [please] <command> [please] [tobi];
<room_class> = kitchen | living_room | dining_room;
<preposition> = (on [top of]) | in | ([next] to) | at | near | in | into | from;
<article> = the | an | a | some | this;
<wait> = wait;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment