-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSpeechGrammar.grxml
75 lines (75 loc) · 1.71 KB
/
SpeechGrammar.grxml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<grammar version="1.0" xml:lang="en-US" root="rootRule" tag-format="semantics/1.0-literals" xmlns="http://www.w3.org/2001/06/grammar">
<rule id="rootRule">
<one-of>
<item>
<tag>FORWARD</tag>
<one-of>
<item> forwards </item>
<item> forward </item>
<item> straight </item>
<item> go ahead </item>
<item> walk </item>
</one-of>
</item>
<item>
<tag>BACK</tag>
<one-of>
<item> backwards </item>
<item> backward </item>
<item> go back </item>
<item> walk back </item>
<item> back </item>
</one-of>
</item>
<item>
<tag>LEFT</tag>
<one-of>
<item> turn left </item>
<item> go left </item>
<item> left </item>
</one-of>
</item>
<item>
<tag>RIGHT</tag>
<one-of>
<item> turn right </item>
<item> go right </item>
<item> right </item>
</one-of>
</item>
<item>
<tag>RUN</tag>
<one-of>
<item> run </item>
</one-of>
</item>
<item>
<tag>JUMP</tag>
<one-of>
<item> jump </item>
</one-of>
</item>
<item>
<tag>STOP</tag>
<one-of>
<item> stop </item>
<item> halt </item>
</one-of>
</item>
<item>
<tag>HELLO</tag>
<one-of>
<item> hello </item>
<item> hi </item>
<item> wave </item>
</one-of>
</item>
<item>
<tag>MASTER</tag>
<one-of>
<item> master </item>
</one-of>
</item>
</one-of>
</rule>
</grammar>