Skip to content
Snippets Groups Projects
Commit 7ec01798 authored by Jan Pohlmeyer's avatar Jan Pohlmeyer
Browse files

Delete getName grammar from whereIsThis config and add variations to location grammar

parent c446c260
No related branches found
No related tags found
No related merge requests found
......@@ -6,13 +6,6 @@ timeout=8;
openDeviceDirectly=yes;
alsadevice=sysdefault;
[pocketsphinxinstance]
name=getName;
jsgf=../../../psGrammar/tasks/receptionist/getName.jsgf;
rsbscope=/speechrec/psa/receptionist/getname;
bestpath=no;
autoload=yes;
[pocketsphinxinstance]
name=getLocation;
jsgf=../../../psGrammar/tasks/whereIsThis/getLocation.jsgf;
......
......@@ -2,12 +2,16 @@
grammar getLocation;
public <locationstring> = [<prefix>] <location> [<robot>];
<prefix> = (<whereis> | <wherecan>);
<prefix> = (<whereis> | <wherecan> | <canyouguide> | <canyouhelp>);
<whereis> = (where is [the]);
<wherecan> = (where can i find [the]);
<canyouguide> = (can you guide me to [the]);
<canyouhelp> = (can you help me find [the]);
<location> = ( (sofa) | (comfy chair) | (shelf) );
<robot> = (tobi) | (robot) | (biron) | (pepper);
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