Skip to content
Snippets Groups Projects
Commit 6dd7a621 authored by Leroy John Rügemer's avatar Leroy John Rügemer Committed by Leroy John Rügemer
Browse files

restaurant additions

parent 750eefa4
No related branches found
No related tags found
No related merge requests found
......@@ -19,6 +19,13 @@ rsbscope=/speechrec/psa/ordering;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=ordering;
jsgf=../../psGrammar/restaurant/goTable.jsgf;
rsbscope=/speechrec/psa/goTable;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=saveCommand;
jsgf=../../psGrammar/restaurant/saveTable.jsgf;
......
#JSGF V1.0;
grammar restaurant_save_command;
public <restaurant> = [tobi] [please] [(take a oder from) | (go to)] <deliveryLocations> [please]);
<deliveryLocations> = table <numberOfTable>;
<numberOfTable> = one | two | three;
\ No newline at end of file
#JSGF V1.0;
grammar restaurant_ordering;
public <restaurant> = [tobi] [please] bring <objects> to <deliveryLocations>;
public <restaurant> = [tobi] [one | a ] <objects> [please];
<deliveryLocations> = table <numberOfTable>;
<objects> = <drinks> | <combo>;
<numberOfTable> = one | two | three;
<objects> = <drinks> | <snacks>;
<drinks> = (orange juice) | beer | cola | (chocolate milk) | (energy drink) | (grape juice) | milk | water;
<snacks> = (chocolate cookies) | chips | biscuits | bread | pringles | (strawberry cookies);
<drinks> = coke;
<combo> = steak;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment