Download this file

grammar_eng.xml    45 lines (38 with data), 1.1 kB

 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
<?xml version="1.0" encoding="utf-8"?>
<grammar>
<action name="rate_event">
<verb-phrase>
<verb ref="rating"/>
</verb-phrase>
</action>
<request action="rate_event">
<utterance>
<one-of>
<item>let me rate my event</item>
<item>rate event</item>
<item>rate</item>
<item>submit rating</item>
<item>let me rate my event with <individual sort="stars_size"/> stars</item>
<item>rate event with <individual sort="stars_size"/> stars</item>
</one-of>
</utterance>
</request>
<question speaker="system" predicate="selected_stars_size" type="wh_question">
<utterance>
how many stars you want to give to the event
</utterance>
</question>
<report action="RateEventAction" status="ended">
<utterance>
your event was rated with <individual predicate="selected_stars_size"/> stars
</utterance>
</report>
<validity name="AmountOfStarsValidity">
<utterance>select up to 5 stars</utterance>
</validity>
<lexicon>
<verb id="rating">
<infinitive>rate</infinitive>
</verb>
</lexicon>
</grammar>