diff --git a/ps-grammar/restaurant/command.jsgf b/ps-grammar/restaurant/command.jsgf new file mode 100644 index 0000000000000000000000000000000000000000..7c5ab47ceac43773a58f84fac3d164b9f801baeb --- /dev/null +++ b/ps-grammar/restaurant/command.jsgf @@ -0,0 +1,12 @@ +#JSGF V1.0; +grammar restaurant_command; + +public <restaurant> = [tobi] [please] <command> [please] [tobi]; +<command> = <followMe> | <stop> | <ordering> | <savePlaceLeft> | <savePlaceRight> | <savePlace>; +<followMe> = (follow me) | (come [(with me) | here]) | (keep up); +<stop> = stop [this]; + +<savePlaceLeft> = left; +<savePlaceRight> = right; +<savePlace> = <save>; +<save> = save [the] (place | location) [[to | on] [the | my] (<savePlaceRight> | <savePlaceLeft>)]; diff --git a/ps-grammar/restaurant/location.jsgf b/ps-grammar/restaurant/location.jsgf new file mode 100644 index 0000000000000000000000000000000000000000..b1b49f78e4ff8bd11faea0f44b030273168ce02b --- /dev/null +++ b/ps-grammar/restaurant/location.jsgf @@ -0,0 +1,8 @@ +#JSGF V1.0; +grammar restaurant_location; + +public <restaurant> = [tobi] [please] <command> [please] [tobi]; +<command> = <objectCategory> | <deliveryLocations>; + +<deliveryLocations> = table (one | two | three); +<objectCategory> = drinks | snacks; diff --git a/ps-grammar/restaurant/object.jsgf b/ps-grammar/restaurant/object.jsgf new file mode 100644 index 0000000000000000000000000000000000000000..8e42f447924ca437e2a63701c914fc3582b213a2 --- /dev/null +++ b/ps-grammar/restaurant/object.jsgf @@ -0,0 +1,9 @@ +#JSGF V1.0; +grammar restaurant_object; + +public <restaurant> = [tobi] [please] <command> [please] [tobi]; +<command> = <objects>; +<objects> = <drinks> | <snacks>; + +<drinks> = (orange juice) | (fruit juice) | (ice tea) | coffee | beer; +<snacks> = chocolates | (chewing gum) | peanuts;