Newer
Older
#JSGF V1.0;
grammar ToBI_shellgame;
public <statement> = [tobi] [please] <command> [please] [tobi];
<command> = <introduce> | <abilities> | <play> | <follow> | <door> | <leave> | <finish> | <observe> | <locate> | <list>;
<introduce> = introduce [yourself];
<abilities> = tell your abilities | list your abilities;
<play> = let us play | lets play;
<follow> = follow [me];
<door> = recognize [a] door;
<leave> = leave | go back | we are done;
<finish> = lets call it a day;
<locate> = ( ( where is [a | an | the] ) | ( where are [the] ) ) <object>;
<list> = ( which objects do you know ) | ( list [the] objects );
<object> = ( milk | apple | box );