Skip to content
Snippets Groups Projects
Commit 2f0c20b6 authored by Lukas Hindemith's avatar Lukas Hindemith
Browse files

changes

parent 2c162705
No related branches found
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.
Finish editing this message first!
Please register or to comment