Skip to content
Snippets Groups Projects
location.jsgf 917 B
Newer Older
  • Learn to ignore specific revisions
  • #JSGF V1.0;
    grammar ToBI_location;
    public <statement> = <locationPhrase> [please];
    
    
    gminareci's avatar
    gminareci committed
    <locationPhrase> = ([<verb>] [<preposition>]) [(the | this)] <location>;
    
    
    <verb> = go | search | learn | remember | memorize;
    
    
    <location> = <appliance_class> | <shelf_class> | <seat_class> | <table_class> | <room_class> | <door_class> | <exit_class> | <everywhere_class>;
    
    gminareci's avatar
    gminareci committed
    <appliance_class> = (waste bin) | fridge | stove;
    
    Leroy John Rügemer's avatar
    Leroy John Rügemer committed
    <shelf_class> = bar | (sideboard) | (right sidetable) | (left sidetable);
    
    <seat_class> = <seating_class>;
    
    <seating_class> = sofa | armchair | bed;
    
    gminareci's avatar
    gminareci committed
    <table_class> = (kitchen table) | (hallway table) | (dinner table) | (couch table) ;
    
    gminareci's avatar
    gminareci committed
    <utensil_class> = (trash bin);
    
    <exit_class> = (exit door) | (entry door);
    <everywhere_class> = everywhere;
    
    Leroy John Rügemer's avatar
    Leroy John Rügemer committed
    
    
    gminareci's avatar
    gminareci committed
    <room_class> = kitchen | (living room) | bedroom | hallway;
    
    Leroy John Rügemer's avatar
    Leroy John Rügemer committed
    
    
    <preposition> = into | (on [top of]) | in | ([next] to) | at | near | in | from;