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; ...@@ -27,3 +27,9 @@ rsbscope=/speechrec/psa/goTable;
bestpath=no; bestpath=no;
autoload=yes; 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; #JSGF V1.0;
grammar restaurant_save_command; grammar restaurant_save_command;
public <restaurant> = <title> (<go> | <wait>); public <restaurant> = (<tobigo> | <tobiwait> | <robotgo> | <robotwait>);
<title> = <tobititle> | <robottitle>;
<tobigo> = <tobititle> <go>;
<tobiwait> = <tobititle> <wait>;
<robotgo> = <robottitle> <go>;
<robotwait> = <robottitle> <wait>;
<tobititle> = tobi | biron; <tobititle> = tobi | biron;
<robottitle> = robot; <robottitle> = lisa | homer | sergio | amigo;
<go> = [please] (take the order) [please]; <go> = [please] (take the order) [please];
<wait> = wait | stop; <wait> = wait | stop;
......
...@@ -6,5 +6,5 @@ public <restaurant> = ([tobi] [bring me] [one | a ] <objects> [please]); ...@@ -6,5 +6,5 @@ public <restaurant> = ([tobi] [bring me] [one | a ] <objects> [please]);
<objects> = (<drinks> | <combo>); <objects> = (<drinks> | <combo>);
<combo> = (<food> (and | with) <food>); <combo> = (<food> (and | with) <food>);
<drinks> = ((coconut milk) | (beer) | (coke) | (tea)); <drinks> = ((banana milk) | (cappuccino) | (coke) | (orange drink) | (water));
<food> = ((apple) | (paprika) | (pumpernickel) | (chips) | (pretzels) | (pringles) | (biscuits) | (choco syrup) | (baby sweets) | (egg)); <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