Skip to content
Snippets Groups Projects
Commit 65959ec2 authored by Leroy John Rügemer's avatar Leroy John Rügemer
Browse files

ÄrestaurantÄ

parent 5a6685b5
Branches
No related tags found
No related merge requests found
[main] [main]
startdb=43; startdb=30;
uttdb=47; uttdb=35;
silence=400; silence=400;
timeout=8; timeout=8;
openDeviceDirectly=yes; openDeviceDirectly=yes;
alsadevice=sysdefault;
[pocketsphinxinstance] [pocketsphinxinstance]
name=confirm; name=confirm;
...@@ -13,29 +14,22 @@ bestpath=no; ...@@ -13,29 +14,22 @@ bestpath=no;
autoload=yes; autoload=yes;
[pocketsphinxinstance] [pocketsphinxinstance]
name=ordering; name=GuideCommand;
jsgf=../../../psGrammar/tasks/restaurant/order.jsgf; jsgf=../../../psGrammar/tasks/restaurant/guideCommand.jsgf;
rsbscope=/speechrec/psa/ordering; rsbscope=/speechrec/psa/guidecommand;
bestpath=no; bestpath=no;
autoload=yes; autoload=yes;
[pocketsphinxinstance] [pocketsphinxinstance]
name=goTable; name=Follow;
jsgf=../../../psGrammar/tasks/restaurant/goTable.jsgf; jsgf=../../../psGrammar/tasks/restaurant/follow.jsgf;
rsbscope=/speechrec/psa/goTable; rsbscope=/speechrec/psa/follow;
bestpath=no; bestpath=no;
autoload=yes; autoload=yes;
[pocketsphinxinstance] [pocketsphinxinstance]
name=saveTable; name=ordering;
jsgf=../../../psGrammar/tasks/restaurant/saveTable.jsgf; jsgf=../../../psGrammar/tasks/restaurant/order.jsgf;
rsbscope=/speechrec/psa/saveTable; rsbscope=/speechrec/psa/ordering;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=commands;
jsgf=../../../psGrammar/tasks/restaurant/commands.jsgf;
rsbscope=/speechrec/psa/commands;
bestpath=no; bestpath=no;
autoload=yes; autoload=yes;
\ No newline at end of file
File deleted
#JSGF V1.0; #JSGF V1.0;
grammar restaurant_save_command; grammar savetable;
public <restaurant> = [tobi] [please] [save] ( <deliveryLocations> ) [[to | on] [the | my]] ( <savePlaceLeft> | <savePlaceRight> | <savePlaceFront> | <savePlaceBack> ); public <command> = [tobi] (<save> | <stop> );
<savePlaceFront> = front;
<savePlaceBack> = back; <save> = <pre> <location>;
<savePlaceLeft> = left; <pre> = ([please] save) | (here is) | memorize;
<savePlaceRight> = right; <location> = (table <numberOfTable>);
<deliveryLocations> = table <numberOfTable>; <numberOfTable> = (one | two | three );
<numberOfTable> = (one | two | three | four | five | six | seven | eight | nine);
\ No newline at end of file <stop> = stop;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment