Skip to content
Snippets Groups Projects
Commit 9fe679e8 authored by gminareci's avatar gminareci
Browse files

changed gprs grammar and location grammar to add exit and entry door to exit...

changed gprs grammar and location grammar to add exit and entry door to exit class and add location everywhere for searching
parent fa9a03af
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ public <task> = [tobi] [(would | could) you] [please] <command> [please] [tobi];
<food_class> = (noodle sauce) | (cat food) | dumplings | tacos;
<tool_class> = sponge | tape | (sole latex);
<location> = <appliance_class> | <shelf_class> | <seat_class> | <table_class> | <door_class> | door | seating | utensil | location | room | appliance | shelf | seat | table | somewhere | apartment | furniture;
<location> = <appliance_class> | <shelf_class> | <seat_class> | <table_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> | <door_class> | door | seating | utensil | location | room | appliance | shelf | seat | table | somewhere | apartment | furniture;
......@@ -42,9 +42,10 @@ public <task> = [tobi] [(would | could) you] [please] <command> [please] [tobi];
<seat_class> = <seating_class>;
<seating_class> = sofa | bed;
<table_class> = kitchen_table | desk | side_table | couch_table | (bedroom table);
<door_class> = (exit door) | (entry door) | (room door);
<door_class> = (room door);
<room_class> = kitchen | living_room | bedroom | hallway;
<utensil_class> = trash_bin;
<exit_class> = (exit door) | (entry door);
<preposition> = into | to | from;
<further_preposition> = (on [top of]) | in | (next to) | at | near;
......
......@@ -6,15 +6,17 @@ public <statement> = <locationPhrase> [please];
<verb> = go | search | learn | remember | memorize;
<location> = <appliance_class> | <shelf_class> | <seat_class> | <table_class> | <door_class>;
<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);
<seat_class> = <seating_class>;
<seating_class> = sofa | bed;
<table_class> = kitchen_table | desk | side_table | couch_table | (bedroom table);
<door_class> = (exit door) | (entry door) | (room door);
<door_class> = (room door);
<utensil_class> = trash_bin;
<exit_class> = (exit door) | (entry door);
<everywhere_class> = everywhere;
<room_class> = kitchen | living_room | bedroom | hallway;
......
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