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

gpsr: test grammar change to circumvent parser bug

parent 840321d9
No related branches found
No related tags found
No related merge requests found
#JSGF V1.0; #JSGF V1.0;
grammar speechRecognition; grammar speechRecognition;
public <sentence> = ([tobi | biron] <VP> [([and|then] <VP>)] [([and|then] <VP>)]); public <sentence> = ([tobi | biron] <VP1> [([and|then] <VP2>)] [([and|then] <VP3>)]);
<VP> = (<VP_tritrans> | <VP_bitrans> | <VP_trans> ); <VP1> = (<VP_tritrans> | <VP_bitrans> | <VP_trans> );
<VP2> = (<VP_tritrans> | <VP_bitrans> | <VP_trans> );
<VP3> = (<VP_tritrans> | <VP_bitrans> | <VP_trans> );
<VP_repeat> = (and <VP> [<VP_repeat>]) | (then <VP> [<VP_repeat>]) | (<VP> [<VP_repeat>]); <VP_repeat> = (and <VP> [<VP_repeat>]) | (then <VP> [<VP_repeat>]) | (<VP> [<VP_repeat>]);
<VP_trans> = <findObj> | <findPrs> | <followPrs> | <gotoLoc> | <speakInfo> | <answer>; <VP_trans> = <findObj> | <findPrs> | <followPrs> | <gotoLoc> | <speakInfo> | <answer>;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment