Skip to content
Snippets Groups Projects
Commit d434f79c authored by Sarah's avatar Sarah
Browse files
parents dc7a35e0 2f0c20b6
Branches
No related tags found
No related merge requests found
......@@ -27,3 +27,9 @@ rsbscope=/speechrec/psa/goTable;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=anotherGuest;
jsgf=../../../psGrammar/tasks/restaurant/anotherGuest.jsgf;
rsbscope=/speechrec/psa/anotherGuest;
bestpath=no;
autoload=yes;
#JSGF V1.0;
grammar restaurant_save_command;
public <restaurant> = [<title>] (<wait> | <stop>);
<title> = tobi | biron;
<wait> = wait;
<stop> = stop;
#JSGF V1.0;
grammar restaurant_save_command;
public <restaurant> = <title> (<go> | <wait>);
<title> = <tobititle> | <robottitle>;
public <restaurant> = (<tobigo> | <tobiwait> | <robotgo> | <robotwait>);
<tobigo> = <tobititle> <go>;
<tobiwait> = <tobititle> <wait>;
<robotgo> = <robottitle> <go>;
<robotwait> = <robottitle> <wait>;
<tobititle> = tobi | biron;
<robottitle> = robot;
<robottitle> = lisa | homer | sergio | amigo;
<go> = [please] (take the order) [please];
<wait> = wait | stop;
......
......@@ -6,5 +6,5 @@ public <restaurant> = ([tobi] [bring me] [one | a ] <objects> [please]);
<objects> = (<drinks> | <combo>);
<combo> = (<food> (and | with) <food>);
<drinks> = ((coconut milk) | (beer) | (coke) | (tea));
<food> = ((apple) | (paprika) | (pumpernickel) | (chips) | (pretzels) | (pringles) | (biscuits) | (choco syrup) | (baby sweets) | (egg));
<drinks> = ((banana milk) | (cappuccino) | (coke) | (orange drink) | (water));
<food> = ((apple) | (bread) | (cereals) | (pear) | (chocolate cookies) | (party cracker) | (corn flakes) | (crackers) | (lemon) | (noodles) | (pepper) | (potato soup) | (potato) | (pringles) | (salt) | (tomato pasta) | (egg));
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment