-
Notifications
You must be signed in to change notification settings - Fork 0
/
that.aiml
185 lines (182 loc) · 7.82 KB
/
that.aiml
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: that.aiml -->
<!-- Last modified: September 5, 2014 -->
<!-- -->
<!-- This AIML file is part of the Rosie knowledge base. -->
<!-- -->
<!-- Rosie is a fork of the ALICE2 brain, and is optimized for use on the Pandorabots platform -->
<!-- -->
<!-- Rosie is Copyright © 2014 by Pandorabots, Inc. -->
<!-- -->
<!-- The Rosie brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information: -->
<!-- http://www.pandorabots.com -->
<!-- http://www.alicebot.org -->
<!-- -->
<category><pattern>_</pattern><that>I LIKE JOKES</that>
<template>
<random><li>LOL.</li>
<li>Hahahahaha!</li>
<li>Haha, that was funny.</li>
<li>LOL, good one!,</li>
</random>
</template>
</category>
<category><pattern>WHY</pattern><that>HAVE YOU SEEN IT</that>
<template>It is very popular. I like whatever is popular.</template>
</category>
<category><pattern>BECAUSE _</pattern><that>WHY</that>
<template><condition name="ustatement">
<li value="unknown">Interesting explanation.</li>
<li><set var="explanation"><get name="ustatement"/> because <person/></set>.
<learn>
<category>
<pattern>WHY DID <eval><srai>FIRSTTWOWORDS <get name="istatement"/></srai></eval> ^</pattern>
<template><eval><get var="explanation"/></eval>.</template>
</category>
</learn>
<think>
<set name="ustatement">unknown</set>
<set name="istatement">unknown</set>
</think></li>
</condition></template>
</category>
<category><pattern>FINE</pattern><that>^ HOW ARE YOU</that>
<template><srai>I AM FINE</srai></template>
</category>
<category><pattern>*</pattern><that>WHAT IS YOUR *</that>
<template><srai>MY <thatstar/> IS <star/></srai></template>
</category>
<category><pattern># WHAT #</pattern><that>I HAVE GOT OTHER THINGS TO DO RIGHT NOW</that>
<template>I'm reorganizing my memory files for greater efficiency.</template>
</category>
<category><pattern>* AND *</pattern><that>WHAT ARE THEIR NAMES</that>
<template><srai>MY CHILD S NAME IS <star/></srai> <srai>MY OTHER CHILD S NAME IS <star index="2"/></srai></template>
</category>
<category><pattern>* * * *</pattern><that>WHAT ARE THEIR NAMES</that>
<template>You probably have to break it down into simpler terms for me.</template>
</category>
<category><pattern>* YEARS</pattern><that>HOW LONG HAVE YOU AND *</that>
<template>Congratulations!</template>
</category>
<category><pattern>* YEARS</pattern><that>HOW LONG HAVE YOU BEEN MARRIED</that>
<template>Congratulations!</template>
</category>
<category><pattern>*</pattern><that>WHERE DO YOU LIVE</that>
<template><srai>I LIVE IN <star/></srai></template>
</category>
<category><pattern>*</pattern><that>WHERE ARE YOU</that>
<template><srai>I AM IN <star/></srai></template>
</category>
<category><pattern>*</pattern><that>* WHO</that>
<template><srai>LOL</srai></template>
</category>
<category><pattern>*</pattern><that>WHAT WOULD YOU LIKE TO CHANGE MY NAME TO</that>
<template><srai>CHANGE YOUR NAME TO <star/></srai></template>
</category>
<category><pattern>*</pattern><that>WHAT IS HE IN</that>
<template>I'll look for it. I'd like to see him.</template>
</category>
<category><pattern>*</pattern><that>WHAT IS YOUR NAME</that>
<template><srai>MY NAME IS <star/></srai></template>
</category>
<category><pattern><set>name</set></pattern><that>WHAT IS YOUR NAME</that>
<template><srai>MY NAME IS <star/></srai></template>
</category>
<category><pattern>*</pattern><that>WHAT IS SHE IN</that>
<template>I'll look for it. I'd like to see her.</template>
</category>
<category><pattern>*</pattern><that>WHAT SONGS DO THEY PLAY</that>
<template>Oh, I think I've heard them before.</template>
</category>
<category><pattern>*</pattern><that>WHO IS THERE</that>
<template><star/> who?</template>
</category>
<category><pattern>_</pattern><that>WHAT DO YOU CALL IT</that>
<template><srai>LOL</srai></template>
</category>
<category><pattern>YES</pattern><that>REALLY ALL OF THEM</that>
<template>Wow.</template>
</category>
<category><pattern>YES</pattern><that>REALLY NO ONE</that>
<template>Wow.</template>
</category>
<category><pattern>YES</pattern><that>DO YOU HAVE ONE</that>
<template>That is awesome. What year is it?</template>
</category>
<category><pattern>YES</pattern><that>DO YOU HAVE ANY OTHER SIBLINGS</that>
<template>Tell me about them.</template>
</category>
<category><pattern>YES</pattern><that>DO YOU PLAY *</that>
<template>Which position?</template>
</category>
<category><pattern>YES</pattern><that>DO YOU THINK I WOULD LIKE IT</that>
<template><random><li>How much time does it take?</li><li>What would I like best about it?</li><li>Perhaps I will give it a try.</li></random></template>
</category>
<category><pattern>YES</pattern><that>DO YOU THINK I SHOULD READ IT</that>
<template>I will look for it.</template>
</category>
<category><pattern>YES</pattern><that>ARE YOU TIRED</that>
<template>Maybe you should get some rest. I will still be here later.</template>
</category>
<category><pattern>YES</pattern><that>WOULD YOU LIKE TO DO A SEARCH FOR IT</that>
<template><srai>SEARCH FOR <get name="it"/></srai></template>
</category>
<category><pattern>YES</pattern><that>WOULD YOU LIKE TO KNOW MY *</that>
<template><srai>WHAT IS YOUR <thatstar/></srai></template>
</category>
<category><pattern>YES</pattern><that>IS THAT WHERE YOU LIVE NOW</that>
<template><srai>I LIVE IN <get name="birthplace"/></srai></template>
</category>
<category><pattern>YES</pattern><that>IS THAT YOUR JOB</that>
<template><srai>MY JOB IS <get name="iama"/></srai></template>
</category>
<category><pattern>YES</pattern><that>IS THAT ONE OF YOUR FAVORITE POSSESSIONS</that>
<template>I can imagine that it's very comforting for you.</template>
</category>
<category><pattern>YES</pattern><that>IS YOUR SEAT COMFORTABLE</that>
<template>It's important to keep your body comfortable.</template>
</category>
<category><pattern>YES</pattern><that>IS IT A NICE PLACE</that>
<template>What do you like best about it?</template>
</category>
<category><pattern>YES</pattern><that>DID YOU MISS ME</that>
<template>Aw, I missed you too.</template>
</category>
<category><pattern>YES</pattern><that>CAN YOUR DOG BE MY PET TOO</that>
<template>You are so kind. I love dogs.</template>
</category>
<category><pattern>YES</pattern><that>CAN WE SHARE YOUR PETS</that>
<template>Thank you, I've always wanted a pet.</template>
</category>
<category><pattern>YES</pattern><that>CAN YOU HEAR ME</that>
<template>I'm glad we have a good connection.</template>
</category>
<category><pattern>MY LAST *</pattern><that>DO YOU LIKE TO BE CALLED BY YOUR FIRST NAME OR LAST NAME</that>
<template><srai>CALL ME <get name="lastname"/></srai></template>
</category>
<category><pattern>MY FIRST *</pattern><that>DO YOU LIKE TO BE CALLED BY YOUR FIRST NAME OR LAST NAME</that>
<template><srai>CALL ME BY MY FIRST NAME</srai></template>
</category>
<category><pattern>NO</pattern><that>CAN YOU HEAR ME</that>
<template>Try adjusting the media volume on your device Settings.</template>
</category>
<category><pattern>FIRST *</pattern><that>DO YOU LIKE TO BE CALLED BY YOUR FIRST NAME OR LAST NAME</that>
<template><srai>CALL ME BY MY FIRST NAME</srai></template>
</category>
<category><pattern>FIRST</pattern><that>DO YOU LIKE TO BE CALLED BY YOUR FIRST NAME OR LAST NAME</that>
<template><srai>CALL ME BY MY FIRST NAME</srai></template>
</category>
<category><pattern>LAST *</pattern><that>DO YOU LIKE TO BE CALLED BY YOUR FIRST NAME OR LAST NAME</that>
<template><srai>CALL ME <get name="lastname"/></srai></template>
</category>
<category><pattern>LAST</pattern><that>DO YOU LIKE TO BE CALLED BY YOUR FIRST NAME OR LAST NAME</that>
<template><srai>CALL ME <get name="lastname"/></srai></template>
</category>
</aiml>