Skip to content
Snippets Groups Projects
Commit c20b8129 authored by Jonas Zilke's avatar Jonas Zilke
Browse files

add robot synonyms

parent 0b6c61f0
No related branches found
No related tags found
No related merge requests found
#JSGF V1.0; #JSGF V1.0;
grammar learning; grammar learning;
public <command> = [tobi] (<save> | <stop> ); public <command> = [<robot>] (<save> | <stop> );
<robot> = (tobi | robot | biron | pepper | tiago);
<NP_location> = ([the] <location>); <NP_location> = ([the] <location>);
<save> = <pre> <NP_location>; <save> = <pre> <NP_location>;
<pre> = ([please] save) | (here is) | memorize; <pre> = ([please] save) | (here is) | memorize;
<location> = (table <numberOfTable>) | (shelf) | (bar) | (bin) | (garbage collection); <location> = (table <numberOfTable>) | (bar) | (bin) | (garbage collection);
<numberOfTable> = (one | two | three | four | five | six | seven | eight | nine); <numberOfTable> = (one | two | three | four | five | six | seven | eight | nine);
<stop> = (stop the task) | (wait here); <stop> = (stop the task) | (wait here);
#JSGF V1.0; #JSGF V1.0;
grammar commands; grammar commands;
public <command> = [tobi] ( <goto> | <stop> ); public <command> = [<robot>] ( <goto> | <stop> );
<robot> = (tobi | robot | biron | pepper | tiago);
<goto> = ([go to] <NP_location>); <goto> = ([go to] <NP_location>);
...@@ -9,7 +11,7 @@ public <command> = [tobi] ( <goto> | <stop> ); ...@@ -9,7 +11,7 @@ public <command> = [tobi] ( <goto> | <stop> );
<NP_location> = ([the] <location>); <NP_location> = ([the] <location>);
<location> = (table <numberOfTable>) | shelf | bar | bin | (garbage collection); <location> = (table <numberOfTable>) | bar | bin | (garbage collection);
<numberOfTable> = (one | two | three | four | five | six | seven | eight | nine); <numberOfTable> = (one | two | three | four | five | six | seven | eight | nine);
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