From b66c0c01dcef99f63557d164e6d09f955a6a6099 Mon Sep 17 00:00:00 2001 From: Ingo Killmann <ikillman@techfak.uni-bielefeld.de> Date: Tue, 25 Jun 2013 20:53:41 +0200 Subject: [PATCH] restaurant grammar --- .../grammar/restaurant/restaurant.jsgf | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/pocketsphinxAdapter/grammar/restaurant/restaurant.jsgf b/pocketsphinxAdapter/grammar/restaurant/restaurant.jsgf index 1aface59..6d7bccfc 100644 --- a/pocketsphinxAdapter/grammar/restaurant/restaurant.jsgf +++ b/pocketsphinxAdapter/grammar/restaurant/restaurant.jsgf @@ -1,3 +1,20 @@ #JSGF V1.0; grammar ToBI_restaurant; -public <restaurant> = +public <restaurant> = [tobi] [please] <command> [please] [tobi]; +<command> = <follow> | <stop> | <beverages> | <ordering> | <deliveryLocations> | <safePlaceLeft> | <safePlaceRight> | <safePlace>; + +<follow> = (follow me) | (come [(with me) | here]) | (keep up); +<stop> = stop [this]; +<beverages> = <objectCategory> | <objects>; +<objectCategory> = drink | food; +<objects> = <drink> | <food>; + +<drink> = beer_bottle | fanta | beer_can | coke | seven_up | chocolate_milk | energy_drink | orange_juice | apple_juice | milk; +<food> = tomato_sauce | peanut_butter | chicken_noodles | marmalade | veggie_noodles | garlic_sauce | chocolate | cookies | drops | cracker; + +<ordering> = ordering; +<deliveryLocations> = table (one | two | three); +<safePlaceLeft> = <safe> left; +<safePlaceRight> = <safe> right; +<safePlace> = <safe>; +<safe> = safe [the] (place | location) [to | on] [the | my]; -- GitLab