Skip to content
Snippets Groups Projects
Commit a4b98bee authored by julia.niermann's avatar julia.niermann
Browse files

Add grammar for calculator

parent c44a2b7e
Branches
No related tags found
No related merge requests found
......@@ -19,4 +19,12 @@ 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;
#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);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment