-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPizzaOrder.xml
69 lines (57 loc) · 1.52 KB
/
PizzaOrder.xml
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
<?xml version="1.0" encoding="UTF-8" ?>
<grammar version="1.0" xml:lang="en-US"
xmlns="http://www.w3.org/2001/06/grammar"
tag-format="semantics/1.0" root="Main">
<!-- cities.xml:
Defines an SRGS grammar for requesting a flight. This grammar includes
a Cities rule that lists the cities that can be used for departures
and destinations. -->
<rule id="Main">
<item>
I would like to order <ruleref uri="#Size"/>
size pizza with
</item>
<item repeat="0-3" repeat-prob=".7">
<ruleref uri="#Toppings"/>
</item>
<item> confirm </item>
</rule>
<rule id="Greeting" scope="public">
<one-of>
<item> Hi </item>
<item> Hello </item>
<item> </item>
</one-of>
</rule>
<rule id="Want" scope="public">
<one-of>
<item> I would like to order </item>
<item> I want </item>
<item> Give me </item>
<item> I will take </item>
</one-of>
</rule>
<rule id="Size" scope="public">
<one-of>
<item> Small </item>
<item> Medium </item>
<item> Large </item>
<item> Extra Large </item>
</one-of>
</rule>
<rule id="Toppings" scope="public">
<one-of>
<item> Cheese </item>
<item> Pepperoni </item>
<item> Sausage </item>
<item> Peppers </item>
<item> Sauce </item>
<item> Onions </item>
<item> Ham </item>
<item> Pineapple </item>
<item> Mushrooms </item>
<item> Tomatoes </item>
<item> Olives </item>
</one-of>
</rule>
</grammar>