Download this file

grammar_eng.xml    157 lines (140 with data), 5.4 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
 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
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<?xml version="1.0" encoding="utf-8"?>
<grammar>
<action name="show_event_recommendations">
<noun-phrase>
<noun ref="recommendation"/>
</noun-phrase>
</action>
<request action="show_event_recommendations">
<utterance>
<one-of>
<item>refresh recommendations</item>
<item>show recommendations</item>
<item>show recommendations for the next <individual sort="event_list_size"/> events</item>
<item>give me the next <individual sort="event_list_size"/> events</item>
<item>i like to join an event</item>
<item>join an event</item>
<item>i want to join an event</item>
<item>i like to participate in an event</item>
<item>participate in an event</item>
<item>i want to participate in an event</item>
<item>i like to visit an event</item>
<item>visit an event</item>
<item>i want to visit an event</item>
</one-of>
</utterance>
</request>
<question speaker="system" predicate="selected_event_list_size" type="wh_question">
<utterance>
for how many events should i display your recommendations? Select up to 10 events
</utterance>
</question>
<report action="ShowEventRecommendationAction" status="ended">
<utterance>
here are the recommendations for the next <individual predicate="selected_event_list_size"/> events
</utterance>
</report>
<action name="show_event_details">
<noun-phrase>
<noun ref="details"/>
</noun-phrase>
</action>
<request action="show_event_details">
<utterance>
<one-of>
<item>show recommendation details</item>
<item>show event details</item>
<item>show details of event number <individual sort="event_number"/></item>
<item>show details of recommendation number <individual sort="event_number"/></item>
<item>show details of event <individual sort="event_number"/></item>
<item>show details of recommendation <individual sort="event_number"/></item>
</one-of>
</utterance>
</request>
<question speaker="system" predicate="selected_event_number" type="wh_question">
<utterance>
what it the number of the event? Select number 10 or lower
</utterance>
</question>
<report action="ShowEventDetailsAction" status="ended">
<utterance>
here are the details for the recommendation number <individual predicate="selected_event_number"/>
</utterance>
</report>
<action name="go_to_event">
<verb-phrase>
<verb ref="join"/>
</verb-phrase>
</action>
<action name="dont_go_to_event">
<verb-phrase>
<verb ref="decline"/>
</verb-phrase>
</action>
<request action="go_to_event">
<utterance>
<one-of>
<item>join</item>
<item>go</item>
<item>participate</item>
<item>participate in event number <individual sort="event_number"/></item>
<item>participate in recommendation number <individual sort="event_number"/></item>
<item>join event number <individual sort="event_number"/></item>
<item>join recommendation number <individual sort="event_number"/></item>
<item>go to event number <individual sort="event_number"/></item>
<item>go to recommendation number <individual sort="event_number"/></item>
<item>participate in event <individual sort="event_number"/></item>
<item>participate in recommendation <individual sort="event_number"/></item>
<item>join event <individual sort="event_number"/></item>
<item>join recommendation <individual sort="event_number"/></item>
<item>go to event <individual sort="event_number"/></item>
<item>go to recommendation <individual sort="event_number"/></item>
</one-of>
</utterance>
</request>
<request action="dont_go_to_event">
<utterance>
<one-of>
<item>don't join</item>
<item>don't go</item>
<item>don't participate</item>
<item>don't participate in event number <individual sort="event_number"/></item>
<item>don't participate in recommendation number <individual sort="event_number"/></item>
<item>don't join event number <individual sort="event_number"/></item>
<item>don't join recommendation number <individual sort="event_number"/></item>
<item>don't go to event number <individual sort="event_number"/></item>
<item>don't go to recommendation number <individual sort="event_number"/></item>
<item>don't participate in event <individual sort="event_number"/></item>
<item>don't participate in recommendation <individual sort="event_number"/></item>
<item>don't join event <individual sort="event_number"/></item>
<item>don't join recommendation <individual sort="event_number"/></item>
<item>don't go to event <individual sort="event_number"/></item>
<item>don't go to recommendation <individual sort="event_number"/></item>
</one-of>
</utterance>
</request>
<report action="GoToEventAction" status="ended">
<utterance>
you are now participating in the event number <individual predicate="selected_event_number"/>
</utterance>
</report>
<report action="DontGoToEventAction" status="ended">
<utterance>
you have declined your participation in the event number <individual predicate="selected_event_number"/>
</utterance>
</report>
<lexicon>
<noun id="recommendation">
<singular>recommendation</singular>
</noun>
<noun id="details">
<singular>detail</singular>
</noun>
<verb id="decline">
<infinitive>decline</infinitive>
</verb>
<verb id="join">
<infinitive>join</infinitive>
</verb>
</lexicon>
</grammar>