Skip to content
Snippets Groups Projects
gprs.jsgf 3.21 KiB
Newer Older
  • Learn to ignore specific revisions
  • #JSGF V1.0;
    grammar ToBI_GPRS;
    public <task> = [tobi] [(would | could) you] [please] <command> [please] [tobi];
    
    
    Leroy John Rügemer's avatar
    Leroy John Rügemer committed
    <command> = <bring_command> | <goto_command>;
    
    
    <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>);
    <follow_command> = <followVerb> <person>;
    <find_command> = <findVerb> [<article>] (<grab_object> | <person>) [in [<article>] <location>];
    <pointat_command> = <pointatVerb> [<article>] <location>;
    <learn_command> = <learnVerb> [<article>] (<person> | <location>);
    <cleanup_command> = <cleanupVerb> [<article> <room_class>];
    <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;
    <findVerb> = detect | find | (search [for]) | (check [for]) | acquire | attain | obtain | (look for);
    <pointatVerb> = (point at) | denote | direct | indicate | suggest;
    <showVerb> = show | demonstrate | present;
    <gotoVerb> = navigate | go | approach | move | run | travel | ride;
    <followVerb> = follow | chase | (come after);
    <learnVerb> = learn | remember | memorize | determine | gain | study | train;
    <cleanupVerb> = (clean up) | (tidy up) | clear | (do up) | (straighten up);
    
    <person> = someone | <personal_pronoun> | <person_name> | (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;
    
    
    Leroy John Rügemer's avatar
    Leroy John Rügemer committed
    <grab_object> = <cleaningstuff_class> | <drink_class> | <snack_class> | <food_class> | cleaningstuff | drink | snack | object | food | something | stuff | item | beverage;
    
    <cleaningstuff_class> = deodorant | toothpaste | cleaner | fresh_discs | sponge;
    
    Leroy John Rügemer's avatar
    Leroy John Rügemer committed
    <drink_class> = fanta | milk;
    <snack_class> = cookies;
    
    <food_class> = tomato_sauce | peanut_butter | chicken_noodles | marmalade | veggie_noodles | garlic_sauce; 
    
    <location> = <appliance_class> | <shelf_class> | <seat_class> | <table_class> | <room_class> | <utensil_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> | <utensil_class> | <door_class> | door | seating | utensil | location | room | appliance | shelf | seat | table | somewhere | apartment;
    
    <appliance_class> = stove | sink | fridge | tv_counter;
    
    Leroy John Rügemer's avatar
    Leroy John Rügemer committed
    <shelf_class> = sideboard;
    
    <seat_class> = <seating_class>;
    <seating_class> = bench | bed | sofa | armchair;
    <table_class> = hallway_table | side_table | kitchen_table | dinner_table | couch_table | bedsidetable;
    <door_class> = exit | entry;
    <room_class> = kitchen | living_room | bed_room | hallway;
    <utensil_class> = hanger | umbrella_stand | trash_bin | plant;
    <preposition> = into | to | from;
    <further_preposition> = (on [top of]) | in | (next to) | at | near;
    
    <article> = the | an | a | some | this;