Skip to content
Snippets Groups Projects
Commit 0bc4fbdd authored by cstollen's avatar cstollen
Browse files
parents 72ca3d84 ad30c975
No related branches found
No related tags found
No related merge requests found
[main]
startdb=43;
uttdb=47;
silence=400;
timeout=8;
openDeviceDirectly=yes;
alsadevice=sysdefault;
[pocketsphinxinstance]
name=confirm;
jsgf=../../psGrammar/confirm/confirm.jsgf;
rsbscope=/speechrec/psa/confirm;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=dfinnerEx4;
jsgf=../../psGrammar/exercise/dfinnerEx4.jsgf;
rsbscope=/speechrec/psa/speechRecognition;
bestpath=no;
autoload=yes;
[main]
startdb=30;
uttdb=35;
silence=400;
timeout=8;
openDeviceDirectly=yes;
[pocketsphinxinstance]
name=confirm;
jsgf=../../psGrammar/confirm/confirm.jsgf;
rsbscope= /speechrec/psa/confirm;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=grammar_jniermann;
jsgf=../../psGrammar/exercise/grammar_jniermann.jsgf;
rsbscope= /speechrec/psa/grammar_jniermann;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=calculator;
jsgf=../../psGrammar/exercise/calculatorGrammar_jniermann.jsgf;
rsbscope= /speechrec/psa/calculatorGrammar_jniermann;
bestpath=no;
autoload=yes;
[main]
startdb=30;
uttdb=35;
silence=400;
timeout=8;
openDeviceDirectly=yes;
[pocketsphinxinstance]
name=confirm;
jsgf=../../psGrammar/confirm/confirm.jsgf;
rsbscope=/speechrec/psa/confirm;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=exercise4;
jsgf=../../psGrammar/exercise/rlipperts_exercise4.jsgf;
rsbscope=/speechrec/psa/exercise4;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=calculator;
jsgf=../../psGrammar/exercise/rlipperts_calculator.jsgf;
rsbscope=/speechrec/psa/calculator;
bestpath=no;
autoload=yes;
#JSGF V1.0;
grammar calc;
public <calc> =(<add> | <sub>) <num> [and] <num>;
<num> = (one|two|three|four|five|six|seven|eight|nine|zero);
<add> = (add);
<sub> = (sub);
#JSGF V1.0;
grammar dfinnerEx4;
public <dfinnerEx4> = [tobi|tiago] ( <go> | <joke> | <calc> );
<calc> = <number> <op> <number>;
<number> = (one|two|three|four|five|six|seven|eight|nine);
<op> = (plus|minus);
<go> = (go to the door);
<joke> = (tell me a joke);
#JSGF V1.0;
grammar action;
public <action> = <robots> (<door> | <joke>);
<door> = (go to the door);
<joke> = (tell me a joke);
<robots> = (tobi | tiago);
#JSGF V1.0;
grammar calculator;
public <calculator> = [[please] calculate] <operand> <operator> <operand>;
<operand> = <number>;
<operator> = (plus|minus);
<number> = (one|two|three|four|five|six|seven|eight|nine|zero);
#JSGF V1.0;
grammar exercise4;
public <exercise4> = <robot_name> [please] (<door> | <joke>);
<robot_name> = <tobi> | <tiago>;
<tobi> = tobi;
<tiago> = tiago;
<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.
Please register or to comment