diff --git a/ps-grammar/restaurant/otherCommand.jsgf b/ps-grammar/restaurant/otherCommand.jsgf index e2928401d2f4e1907f2680021e8d4ab4d2a41745..8c68495f96df138d77cdac6e3443364ebc3b2790 100644 --- a/ps-grammar/restaurant/otherCommand.jsgf +++ b/ps-grammar/restaurant/otherCommand.jsgf @@ -1,7 +1,8 @@ #JSGF V1.0; grammar restaurant_save_command; -public <restaurant> = <followMe> | <stop> | <ordering>; +public <restaurant> = <followMe> | <stop> | <ordering> | <save>; +<save> = save [[a] location]; <followMe> = (follow me) | (come [(with me) | here]) | (keep up); <ordering> = ordering; <stop> = stop [this]; diff --git a/ps-grammar/restaurant/saveCommand.jsgf b/ps-grammar/restaurant/saveCommand.jsgf index 472b084737001f473a3d755ff836370cf3386eb1..10fad9be0911efb931c3933cb59ce0c953441026 100644 --- a/ps-grammar/restaurant/saveCommand.jsgf +++ b/ps-grammar/restaurant/saveCommand.jsgf @@ -4,5 +4,6 @@ grammar restaurant_save_command; public <restaurant> = [tobi] [please] save ( <deliveryLocations> | <objectCategory> ) [[to | on] [the | my] ( <savePlaceLeft> | <savePlaceRight> )]; <savePlaceLeft> = left; <savePlaceRight> = right; -<deliveryLocations> = table (one | two | three); +<deliveryLocations> = table <numberOfTable>; +<numberOfTable> = one | two | three; <objectCategory> = drinks | snacks;