Skip to content
Snippets Groups Projects
Commit aa257ffa authored by jkummert's avatar jkummert
Browse files

challenge grammar added

parent a1b6fd46
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=challenge;
jsgf=../../psGrammar/exercise/challenge.jsgf;
rsbscope=/speechrec/psa/jkummert;
bestpath=no;
autoload=yes;
[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=calculator;
jsgf=../../psGrammar/exercise/calculator.jsgf;
rsbscope=/speechrec/psa/jkummert;
bestpath=no;
autoload=yes;
#JSGF V1.0;
grammar calculator;
public <calculate> = <zahl> <operator> <zahl>;
<zahl>=(zero|one|two|three|four|five|six|seven|eight|nine);
<operator>=(plus|minus);
#JSGF V1.0;
grammar challenge;
public <command> = (<wait>)|(<drink>);
<wait>=(wait here);
<drink>=(fetch (coke|coffee|milk));
#JSGF V1.0;
grammar jkummert;
public <command> = (<tobi>|<biron>) (<door> | <joke>);
<tobi>=(tobi);
<biron>=(biron);
<door>=(go to the door);
<joke>=(tell me a joke);
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