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

restaurant

parent 7f196cbb
No related branches found
No related tags found
No related merge requests found
[main]
startdb=43;
uttdb=47;
silence=400;
timeout=8;
openDeviceDirectly=yes;
[pocketsphinxinstance]
name=confirm;
jsgf=../../psGrammar/confirm/confirm.jsgf;
rsbscope=/speechrec/psa/confirm;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=ordering;
jsgf=../../psGrammar/tasks/restaurant/order.jsgf;
rsbscope=/speechrec/psa/ordering;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=goTable;
jsgf=../../psGrammar/tasks/restaurant/goTable.jsgf;
rsbscope=/speechrec/psa/goTable;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=saveTable;
jsgf=../../psGrammar/tasks/restaurant/saveTable.jsgf;
rsbscope=/speechrec/psa/saveTable;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=commands;
jsgf=../../psGrammar/tasks/restaurant/commands.jsgf;
rsbscope=/speechrec/psa/commands;
bestpath=no;
autoload=yes;
[main]
startdb=47;
uttdb=52;
silence=400;
timeout=8;
openDeviceDirectly=yes;
[pocketsphinxinstance]
name=confirm;
hmm=/vol/robocup/2014/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k;
dict=/vol/robocup/2014/share/SpeechRec/psGrammar/dictionary/tobiDic.dic;
jsgf=/vol/robocup/2014/share/SpeechRec/psGrammar/confirm/confirm.jsgf;
rsbscope=/speechrec/psa/confirm;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=ordering;
hmm=/vol/robocup/2014/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k;
dict=/vol/robocup/2014/share/SpeechRec/psGrammar/dictionary/tobiDic.dic;
jsgf=/vol/robocup/2014/share/SpeechRec/psGrammar/restaurant/ordering.jsgf;
rsbscope=/speechrec/psa/ordering;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=saveCommand;
hmm=/vol/robocup/2014/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k;
dict=/vol/robocup/2014/share/SpeechRec/psGrammar/dictionary/tobiDic.dic;
jsgf=/vol/robocup/2014/share/SpeechRec/psGrammar/restaurant/saveCommand.jsgf;
rsbscope=/speechrec/psa/saveCommand;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=otherCommand;
hmm=/vol/robocup/2014/share/pocketsphinx/model/hmm/en_US/hub4wsj_sc_8k;
dict=/vol/robocup/2014/share/SpeechRec/psGrammar/dictionary/tobiDic.dic;
jsgf=/vol/robocup/2014/share/SpeechRec/psGrammar/restaurant/otherCommand.jsgf;
rsbscope=/speechrec/psa/otherCommand;
bestpath=no;
autoload=yes;
File added
#JSGF V1.0;
grammar restaurant_save_command;
public <restaurant> = [tobi] [please] (<followMe> | <stop> | <place> | <table>);
<followMe> = ((follow me) | (come [(with me) | here]) | (keep up));
<stop> = (stop [this]);
<place> = (save (place | location));
<table> = (this [is] table <number>);
<number> = (one | two | three);
#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 | four | five | six | seven | eight | nine);
\ No newline at end of file
#JSGF V1.0;
grammar restaurant_ordering;
public <restaurant> = ([tobi] [please] bring <objects> to <deliveryLocations>);
<deliveryLocations> = (table <numberOfTable>);
<numberOfTable> = (one | two | three | four | five | six | seven | eight | nine);
<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);
#JSGF V1.0;
grammar restaurant_save_command;
public <restaurant> = ([tobi] [please] save ( <deliveryLocations> | <objectCategory> ) [[to | on] [the | my]] ( <savePlaceLeft> | <savePlaceRight> | <savePlaceFront> | <savePlaceBack> ));
<savePlaceFront> = front;
<savePlaceBack> = back;
<savePlaceLeft> = left;
<savePlaceRight> = right;
<deliveryLocations> = (table <numberOfTable>);
<numberOfTable> = (one | two | three);
<objectCategory> = (drinks | snacks);
#JSGF V1.0;
grammar restaurant_ordering;
public <restaurant> = ([tobi] [bring me] [one | a ] <objects> [please]);
<objects> = (<drinks> | <combo>);
<combo> = (<item> (and | with) <item>);
<item> = (<snacks> | <food>);
<drinks> = ((green tea) | (papaya milk) | (pure milk) | water | (orange juice) | (beer));
<food> = ((coconut cereals) | (coco balls) | (egg stars) | (gram soup) | (bean sauce) | (apple) | (lemon) | (pear));
<snacks> = ((biscuits) | (bubble gum) | (chocolates) | (tomato chips) | (barbeque chips) | (honey chips));
\ No newline at end of file
#JSGF V1.0;
grammar restaurant_save_command;
public <restaurant> = [tobi] [please] [save] ( <deliveryLocations> ) [[to | on] [the | my]] ( <savePlaceLeft> | <savePlaceRight> | <savePlaceFront> | <savePlaceBack> );
<savePlaceFront> = front;
<savePlaceBack> = back;
<savePlaceLeft> = left;
<savePlaceRight> = right;
<deliveryLocations> = table <numberOfTable>;
<numberOfTable> = (one | two | three | four | five | six | seven | eight | nine);
\ No newline at end of file
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