Skip to content
Snippets Groups Projects
restaurant.jsgf 776 B
#JSGF V1.0;
grammar ToBI_restaurant;
public <restaurant> = [tobi] [please] <command> [please] [tobi];
<command> = <followMe> | <stop> | <beverages> | <ordering> | <deliveryLocations> | <savePlaceLeft> | <savePlaceRight> | <savePlace>;

<followMe> = (follow me) | (come [(with me) | here]) | (keep up);
<stop> = stop [this];
<beverages> = <objectCategory> | <objects>;
<objectCategory> = drinks | food;
<objects> = <drinks> | <food>;

<drinks> = milk | coke | beer;
<food> = pringles red | pringles green | pringles blue | cookies;

<ordering> = ordering;
<deliveryLocations> = table (one | two | three);
<savePlaceLeft> = left;
<savePlaceRight> = right;
<savePlace> = <save>;
<save> = save [the] (place | location) [[to | on] [the | my] (<savePlaceRight> | <savePlaceLeft>)];