Skip to content
Snippets Groups Projects
Commit 4418ad50 authored by Mohamed Diaoule Diallo's avatar Mohamed Diaoule Diallo
Browse files

add task5 grammar and modify config

parent bed6373b
No related branches found
No related tags found
No related merge requests found
......@@ -25,3 +25,10 @@ jsgf=../../psGrammar/challenge/team2/table.jsgf;
rsbscope= /speechrec/psa/table;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=table;
jsgf=../../psGrammar/challenge/team2/task5.jsgf;
rsbscope= /speechrec/psa/task5;
bestpath=no;
autoload=yes;
#JSGF V1.0;
grammar task5;
public <command> = [yes] <robot> [please] <command1> [please];
<command1> = (<toBathroom> | <toCashRegister> | <toTableA> | <toTableB> | <toTableC> ) ;
<robot> = (tiago | tobi);
<toBathroom> = ([bring me] [to] [the] <bathroom> | I want to go to the <bathroom> | where is the <bathroom> |where [can] [do] I find the <bathroom>);
<bathroom> = (bathroom | toilet);
<toCashRegister> = ([bring me] [to] [the] <cashRegister> | I want to go to the <cashRegister> | where is the <cashRegister> | where [can] [do] I find the <cashRegister>);
<cashRegister> = (cashier | [cash] register);
<toTableA> = ([bring me] [to] table A | I want to go to table A | where is table A | where [can] [do] I find table A);
<toTableB> = ([bring me] [to] table B | I want to go to table B | where is table B | where [can] [do] I find table B);
<toTableC> = ([bring me] [to] table C | I want to go to table C | where is table C | where [can] [do] I find table C);
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