Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAleksey Lim <alsroot@member.fsf.org>2009-04-14 23:34:23 (GMT)
committer Aleksey Lim <alsroot@member.fsf.org>2009-04-14 23:34:23 (GMT)
commit66307d2f6fa7c011c750588f708cfc1deff74e1c (patch)
treefc033317835749d9988d1f6e85392050d6948219
parent4607872efde555829d9584b085217f6b31e8f340 (diff)
Merge HabarConSara branch
-rw-r--r--Speak.activity/NEWS4
-rw-r--r--[-rwxr-xr-x]Speak.activity/activity.py6
-rw-r--r--Speak.activity/activity/activity-hablarconsara.svg134
-rw-r--r--Speak.activity/bot/PyAIML-0.8.5/CHANGES.txt154
-rw-r--r--Speak.activity/bot/PyAIML-0.8.5/README.txt41
-rw-r--r--Speak.activity/bot/PyAIML-0.8.5/SUPPORTED_TAGS.txt94
-rw-r--r--Speak.activity/bot/PyAIML-0.8.5/TODO.txt13
-rw-r--r--Speak.activity/bot/PyAIML-0.8.5/pkg-info12
-rw-r--r--Speak.activity/bot/PyAIML-0.8.5/setup.cfg6
-rwxr-xr-xSpeak.activity/bot/PyAIML-0.8.5/setup.py34
-rw-r--r--Speak.activity/bot/README9
-rw-r--r--Speak.activity/bot/__init__.py0
-rwxr-xr-xSpeak.activity/bot/aiml/AimlParser.py545
-rwxr-xr-xSpeak.activity/bot/aiml/DefaultSubs.py156
-rwxr-xr-xSpeak.activity/bot/aiml/Kernel.py1183
-rwxr-xr-xSpeak.activity/bot/aiml/PatternMgr.py329
-rwxr-xr-xSpeak.activity/bot/aiml/Utils.py32
-rwxr-xr-xSpeak.activity/bot/aiml/WordSub.py95
-rwxr-xr-xSpeak.activity/bot/aiml/__init__.py4
-rwxr-xr-xSpeak.activity/bot/aiml/self-test.aiml270
-rw-r--r--Speak.activity/bot/alice.brnbin0 -> 8998277 bytes
-rw-r--r--Speak.activity/bot/alice/1.aiml123
-rw-r--r--Speak.activity/bot/alice/2.aiml119
-rw-r--r--Speak.activity/bot/alice/3.aiml51
-rw-r--r--Speak.activity/bot/alice/4.aiml67
-rw-r--r--Speak.activity/bot/alice/5.aiml15
-rw-r--r--Speak.activity/bot/alice/6.aiml31
-rw-r--r--Speak.activity/bot/alice/8.aiml23
-rw-r--r--Speak.activity/bot/alice/9.aiml23
-rw-r--r--Speak.activity/bot/alice/A.aiml15927
-rw-r--r--Speak.activity/bot/alice/B.aiml2388
-rw-r--r--Speak.activity/bot/alice/C.aiml11629
-rw-r--r--Speak.activity/bot/alice/D.aiml26676
-rw-r--r--Speak.activity/bot/alice/E.aiml2776
-rw-r--r--Speak.activity/bot/alice/F.aiml1530
-rw-r--r--Speak.activity/bot/alice/G.aiml1335
-rw-r--r--Speak.activity/bot/alice/H.aiml10477
-rw-r--r--Speak.activity/bot/alice/I.aiml24154
-rw-r--r--Speak.activity/bot/alice/J.aiml11805
-rw-r--r--Speak.activity/bot/alice/K.aiml494
-rw-r--r--Speak.activity/bot/alice/L.aiml2964
-rw-r--r--Speak.activity/bot/alice/M.aiml4104
-rw-r--r--Speak.activity/bot/alice/N.aiml3096
-rw-r--r--Speak.activity/bot/alice/O.aiml1596
-rw-r--r--Speak.activity/bot/alice/P.aiml3492
-rw-r--r--Speak.activity/bot/alice/Q.aiml2168
-rw-r--r--Speak.activity/bot/alice/R.aiml1708
-rw-r--r--Speak.activity/bot/alice/S.aiml3184
-rw-r--r--Speak.activity/bot/alice/T.aiml22193
-rw-r--r--Speak.activity/bot/alice/U.aiml1230
-rw-r--r--Speak.activity/bot/alice/V.aiml4848
-rw-r--r--Speak.activity/bot/alice/W.aiml57095
-rw-r--r--Speak.activity/bot/alice/X.aiml96
-rw-r--r--Speak.activity/bot/alice/Y.aiml8948
-rw-r--r--Speak.activity/bot/alice/Z.aiml77
-rw-r--r--Speak.activity/bot/alice/star.aiml2701
-rw-r--r--Speak.activity/bot/alice/under.aiml750
-rwxr-xr-xSpeak.activity/bot/gen_brains.py16
-rw-r--r--Speak.activity/bot/sara.brnbin0 -> 536715 bytes
-rwxr-xr-xSpeak.activity/bot/sara/default.aiml140
-rwxr-xr-xSpeak.activity/bot/sara/leeme.txt12
-rwxr-xr-xSpeak.activity/bot/sara/nombres.aiml1064
-rwxr-xr-xSpeak.activity/bot/sara/numeros.aiml1103
-rwxr-xr-xSpeak.activity/bot/sara/readme.txt13
-rwxr-xr-xSpeak.activity/bot/sara/sara.aiml1522
-rwxr-xr-xSpeak.activity/bot/sara/sara_srai.aiml10247
-rwxr-xr-xSpeak.activity/bot/sara/sexo.aiml1108
-rwxr-xr-xSpeak.activity/bot/test_brain.py10
-rw-r--r--Speak.activity/brain.py40
-rw-r--r--Speak.activity/locale/es/activity.linfo2
-rw-r--r--Speak.activity/po/es.po58
71 files changed, 248347 insertions, 2 deletions
diff --git a/Speak.activity/NEWS b/Speak.activity/NEWS
index 306df4b..d65c35e 100644
--- a/Speak.activity/NEWS
+++ b/Speak.activity/NEWS
@@ -1,3 +1,7 @@
+10
+
+* #743: FIx crash for as sintaxis (dirakx)
+
7
* #7852: Fix crash on launch by using numpy (morgs)
diff --git a/Speak.activity/activity.py b/Speak.activity/activity.py
index 8c4eaf5..240ffa1 100755..100644
--- a/Speak.activity/activity.py
+++ b/Speak.activity/activity.py
@@ -42,6 +42,7 @@ import fft_mouth
import waveform_mouth
import voice
import face
+import brain
import chat
import audio
from collab import CollabActivity
@@ -166,6 +167,8 @@ class SpeakActivity(CollabActivity):
self.face.look_ahead()
+ self.brain = brain.defaultBrain(self.face.status.voice)
+
# say hello to the user
presenceService = presenceservice.get_instance()
xoOwner = presenceService.get_owner()
@@ -272,6 +275,7 @@ class SpeakActivity(CollabActivity):
def voice_changed_cb(self, combo):
self.face.status.voice = combo.props.value
self.face.say(self.face.status.voice.friendlyname)
+ self.brain = brain.defaultBrain(self.face.status.voice)
def pitch_adjusted_cb(self, get, data=None):
self.face.status.pitch = get.value
@@ -369,7 +373,7 @@ class SpeakActivity(CollabActivity):
self.face.look_ahead()
# speak the text
- self.face.say(text)
+ self.face.say(self.brain.respond(text))
# add this text to our history unless it is the same as the last item
history = self.entrycombo.get_model()
diff --git a/Speak.activity/activity/activity-hablarconsara.svg b/Speak.activity/activity/activity-hablarconsara.svg
new file mode 100644
index 0000000..dcd31cc
--- /dev/null
+++ b/Speak.activity/activity/activity-hablarconsara.svg
@@ -0,0 +1,134 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!DOCTYPE svg PUBLIC '-//W3C//DTD SVG 1.1//EN' 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd' [
+ <!ENTITY stroke_color "#010101">
+ <!ENTITY fill_color "#FFFFFF">
+]>
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="50"
+ height="50"
+ id="svg2"
+ sodipodi:version="0.32"
+ inkscape:version="0.46"
+ sodipodi:docname="Activity-HablaConSara.svg"
+ inkscape:output_extension="org.inkscape.output.svg.inkscape">
+ <metadata
+ id="metadata17">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <defs
+ id="defs15"><inkscape:perspective
+ sodipodi:type="inkscape:persp3d"
+ inkscape:vp_x="0 : 25 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_z="50 : 25 : 1"
+ inkscape:persp3d-origin="25 : 16.666667 : 1"
+ id="perspective19" />
+<inkscape:perspective
+ id="perspective2475"
+ inkscape:persp3d-origin="27.5 : 18.333333 : 1"
+ inkscape:vp_z="55 : 27.5 : 1"
+ inkscape:vp_y="0 : 1000 : 0"
+ inkscape:vp_x="0 : 27.5 : 1"
+ sodipodi:type="inkscape:persp3d" />
+
+
+</defs>
+ <sodipodi:namedview
+ inkscape:window-height="722"
+ inkscape:window-width="1280"
+ inkscape:pageshadow="2"
+ inkscape:pageopacity="0.0"
+ guidetolerance="10.0"
+ gridtolerance="10.0"
+ objecttolerance="10.0"
+ borderopacity="1.0"
+ id="base"
+ showgrid="false"
+ inkscape:zoom="2.33"
+ inkscape:cx="26.863795"
+ inkscape:cy="20.573512"
+ inkscape:window-x="0"
+ inkscape:window-y="26"
+ inkscape:current-layer="svg2" />
+ <g
+ id="g3429">
+ <ellipse
+ transform="matrix(0.6477914,0,0,0.6477914,10.158787,8.6181926)"
+ id="ellipse4"
+ ry="10"
+ rx="10"
+ cy="12"
+ cx="12"
+ sodipodi:cx="12"
+ sodipodi:cy="12"
+ sodipodi:rx="10"
+ sodipodi:ry="10"
+ style="fill:&fill_color;;stroke:&stroke_color;;stroke-width:3.70489636;stroke-miterlimit:4;stroke-dasharray:none" />
+ <ellipse
+ transform="matrix(0.6477914,0,0,0.6477914,10.158787,8.6181926)"
+ id="ellipse6"
+ ry="10"
+ rx="10"
+ cy="12"
+ cx="36"
+ sodipodi:cx="36"
+ sodipodi:cy="12"
+ sodipodi:rx="10"
+ sodipodi:ry="10"
+ style="fill:&fill_color;;stroke:&stroke_color;;stroke-width:3.70489636;stroke-miterlimit:4;stroke-dasharray:none" />
+ <circle
+ transform="matrix(0.6477914,0,0,0.6477914,9.7794379,8.6181926)"
+ id="circle8"
+ r="2"
+ cy="10"
+ cx="16"
+ sodipodi:cx="16"
+ sodipodi:cy="10"
+ sodipodi:rx="2"
+ sodipodi:ry="2"
+ style="fill:&fill_color;;stroke:&stroke_color;;stroke-width:3.396155;stroke-miterlimit:4;stroke-dasharray:none" />
+ <circle
+ transform="matrix(0.6477914,0,0,0.6477914,9.8553077,8.6940624)"
+ id="circle10"
+ r="2"
+ cy="10"
+ cx="40"
+ sodipodi:cx="40"
+ sodipodi:cy="10"
+ sodipodi:rx="2"
+ sodipodi:ry="2"
+ style="fill:&fill_color;;stroke:&stroke_color;;stroke-width:3.396155;stroke-miterlimit:4;stroke-dasharray:none" />
+ <path
+ sodipodi:type="arc"
+ style="fill:none;fill-opacity:1;fill-rule:nonzero;stroke:&stroke_color;;stroke-width:2.96432175;stroke-linecap:butt;stroke-linejoin:miter;marker:none;marker-start:none;marker-mid:none;marker-end:none;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;visibility:visible;display:inline;overflow:visible;enable-background:accumulate"
+ id="path3304"
+ sodipodi:cx="16.309013"
+ sodipodi:cy="-42.060085"
+ sodipodi:rx="27.896996"
+ sodipodi:ry="19.957081"
+ d="M 42.271638,-34.758097 A 27.896996,19.957081 0 0 1 -9.0684098,-33.771844"
+ transform="matrix(0.6789713,0,0,0.9654291,13.305764,57.674017)"
+ sodipodi:start="0.37458313"
+ sodipodi:end="2.7133165"
+ sodipodi:open="true" />
+ <path
+ id="path2468"
+ display="inline"
+ d="M 7.7871374,45.936639 C 8.4431762,47.180327 13.584711,46.000335 15.719242,44.357198 C 17.741226,42.811224 18.804163,41.55458 19.890186,41.55458 C 20.980057,41.55458 31.952834,42.547803 40.028267,35.384717 C 46.978233,29.223491 49.429243,20.499317 44.376202,12.241526 C 39.324132,3.9891322 31.070741,2.4388396 24.292956,3.0002269 C 15.043003,3.7742937 2.9399537,11.944637 3.3757097,24.255214 C 3.6296602,31.500349 6.604921,34.125914 8.1103471,35.810076 C 9.6128874,37.500715 12.482335,37.500715 10.988453,41.842831 C 10.401673,43.547504 7.2965512,44.993076 7.7871374,45.936639 z"
+ style="fill:none;stroke:&stroke_color;;stroke-width:3.28907108;display:inline" />
+ </g>
+</svg>
diff --git a/Speak.activity/bot/PyAIML-0.8.5/CHANGES.txt b/Speak.activity/bot/PyAIML-0.8.5/CHANGES.txt
new file mode 100644
index 0000000..9d4b0d5
--- /dev/null
+++ b/Speak.activity/bot/PyAIML-0.8.5/CHANGES.txt
@@ -0,0 +1,154 @@
+version 0.8.5
+ - Fixed a couple lingering Unicode bugs, one of which was breaking things
+ pretty thoroughly under Python 2.2.3.
+ - Improved whitespace handling, to the point where it should be compliant
+ with the AIML 1.0.1 standard. Basically, whitespace will be stripped
+ down to readable levels, unless the xml:space attribute is used to
+ indicate otherwise.
+ - Fixed bug in PatternMgr where the character '1' was mistaken identified
+ as punctuation to be stripped, instead of the intended '!'.
+
+version 0.8.4:
+ - Fixed bug in AimlParser creation, if the aiml module was not in the same
+ directory as the script that imported it.
+ - Improved Unicode support (again) (thanks to Daniel Kottow for his help).
+ - 2nd pass at documentation. All functions now have useful, properly-formatted
+ docstrings.
+
+version 0.8.3:
+ - Reworked the way AimlParser objects are created, to allow support for
+ XML namespaces in a future version.
+ - First pass at Unicode-proofing the whole system, so that multi-lingual
+ AIML files can be processed.
+ - Added support for "index" attribute in "star", "thatstar" and "topicstar"
+ elements (thanks to Robert D. Cotey for the patch!). Also added type-check
+ to ensure that the value of the "index" attribute is an integer.
+
+version 0.8.2:
+ - Added protection against infinite AIML recursion.
+ - Removed the deprecated Kernel.getBotName and Kernel.setBotName functions.
+ - Added workaround for Unicode input crash. Feeding the Kernel Unicode
+ input no longer crashes the interpreter, but some internal input-formatting
+ operations must be skipped, which could cause some nonsensical replies
+ (like you're not already used to nonsensical replies, though...)
+
+version 0.8.1:
+ - "system" elements now attempt to intelligently convert between UNIX-style
+ and Windows-style pathnames as appropriate. For cross-platform compatibility,
+ all AIML files should use UNIX-style paths inside their "system" elements.
+ - Fixed crashes under Windows9X when a "system" element is executed when
+ w9xpopen.exe is unavailable.
+ - Re-piped most errors and warnings to go to stderr instead of stdout.
+ - Fixed bug that would cause the the bot to stop responding to any input in a session
+ if the "that" or "topic" strings were 100% whitespace (but still not empty).
+ - Fixed bug that would cause multi-line "that" strings to become corrupted. For
+ example, "Hello there.\nNice to meet you" would become "HELLO THERENICE TO MEET
+ YOU" when queried for that-matching.
+
+version 0.8:
+ - Removed support for non-standard "mode" attribute in "system" elements.
+ It just wasn't worth breaking the AIML standard for.
+ - Reworked persistent session support (I warned you!). The old method involving
+ Kernel.persistentSessions() has been removed. Instead, there is a new
+ Kernel.getSessionData() method which gives the bot author access to the session
+ data. You can store this data however you wish. Session data can be restored
+ later by repeated calls to Kernel.setPredicate().
+ - Improved AIML parser error handling; instead of aborting the entire file, a
+ parse error now only ignores the current category and forges ahead. To check for
+ parse errors, check the return value of AimlParser.getNumErrors() after parsing.
+
+version 0.7:
+ - Further improved AIML parsing; missing or invalid XML attributes are now
+ detected at parse-time. There's also a first stab at support for Forward
+ Compatibility Mode: if the "version" attribute of an AIML tag is not 1.0.1,
+ the parser is much more forgiving of unknown or missing XML tags and attributes.
+ - Added "support" for the 'gossip' tag. The specific behavior of this tag is
+ totally undefined; currently, the PyAIML implementation treats it as a big
+ no-op. Its contents are ignored, and it returns the empty string (but at least
+ it isn't flagged as a syntax error!)
+ - Oops; I've implemented 'person' as 'person2' and vice versa this whole time!
+ Swapped them back; they should each behave correctly now.
+ - A bit of code cleanup, with an emphasis on using proper XML/AIML terminology
+ whenever possible.
+ - Fixed some exception-masking in the 'condition' element processor, which could
+ prevent AIML parse errors from being reported.
+ - Added full support for the "bot" tag (previously only the 'bot name="name"'
+ form was supported). Bot predicates are set using the Kernel.setBotPredicate()
+ function. Note that Kernel.getBotName() and Kernel.setBotName() have been
+ deprecated, and will disappear in a future release.
+
+version 0.6.1:
+ - Fixed undefined variable exception that was thrown whenever there was no
+ match for the user's input.
+ - Fixed an infinite recursion bug caused by processing two or more nested
+ 'srai' or 'sr' elements.
+
+version 0.6
+ - Completely rewrote the LearnHandler class (which handles all AIML parsing)
+ to be much less forgiving of incorrect AIML. Currently, any AIML errors
+ outside of "template" elements should be caught and reported at load-time.
+ AIML errors inside templates are still not detected until run-time.
+ - Added support for atomic 'person' and 'person2' tags (they implicitly use
+ 'star' as their contents if none are provided).
+ - Oops; Kernel.respond() was DEFINITELY not thread-safe. Now it is, provided
+ you're using Python's standard 'threading' module. If not, you'll have to
+ provide your own mutual-exclusion system to ensure that only one thread
+ is calling Kernel.respond() at a time.
+ - Recursive tags ('srai' and 'sr') no longer add their intermediate results
+ to the input and output history.
+ - EXPERIMENTAL FEATURE: persistent sessions. If enabled using
+ Kernel.persistentSessions(True), session data will be written to disk
+ after every response. This lets session data be preserved when the
+ Kernel is destroyed, at the expense of a small performance hit (all
+ that extra disk I/O). The semantics of this feature may change in future
+ releases!
+ - Added support for the "id" tag (it returns the session ID).
+ - Added support for the "topic", "topicstar" and "thatstar" tags.
+ - Commented up the test.py file.
+ - Added a summary to the end of the Kernel.py self-test (since there are now
+ too many tests to fit on screen).
+ - Added support for multi-sentence input. The user's input is split into
+ individual sentences, each of which is treated as a completely separate
+ piece of input. I'm *pretty* sure this is the Right Way(tm).
+
+version 0.5
+ - The filename inside Learn tags can now contain wildcards. Besides
+ simplifying the loading of multiple files, this allows the possibility
+ of loading AIML files that may not exist without crashing the
+ interpreter.
+ - Attempting to set the value of a predicate in a nonexistent session
+ now automatically creates the session, instead of silently doing nothing.
+ - "set" tags now output the new value of the variable, as well as assigning
+ it.
+
+version 0.4.1
+ - Unknown AIML tags are handled in a more forgiving fashion. If an
+ unknown tag is encountered, instead of ignoring its contents entirely,
+ the contents are processed and returned unaltered.
+ - Added support for "bot name='name'" tags, both in patterns and in
+ templates. This also fixes a nasty infinite loop crash when a user
+ says Hello to a bot.
+
+version 0.4
+ - Added support for "star" and "sr" tags.
+ - Considered adding support for the "secure" tag, but decided against it.
+ see SUPPORTED_TAGS.txt for more information.
+
+version 0.3
+ - Cleaned up AIML processing code to remove some unnecessary
+ special-cases in the interpretation algorithm.
+ - Added support for "input" and "that" tags.
+
+version 0.2
+ - 50% speedup in Kernel.loadBrain() and Kernel.saveBrain().
+ - The optional 'learnFiles' and 'commands' arguments to
+ Kernel.bootstrap() can now be either strings or lists. This
+ allows multiple files/commands to be loaded during
+ initialization.
+ - Added support for "person" and "person2" tags.
+ - Added general word-substitution functionality. This opens up
+ the potential for localizing PyAIML into non-English languages.
+ See DefaultSubs.py for more info.
+
+version 0.1:
+ - Initial release. \ No newline at end of file
diff --git a/Speak.activity/bot/PyAIML-0.8.5/README.txt b/Speak.activity/bot/PyAIML-0.8.5/README.txt
new file mode 100644
index 0000000..82a7f8b
--- /dev/null
+++ b/Speak.activity/bot/PyAIML-0.8.5/README.txt
@@ -0,0 +1,41 @@
+PyAIML -- The Python AIML Interpreter
+author: Cort Stratton (cort@users.sourceforge.net)
+web: http://pyaiml.sourceforge.net/
+
+PyAIML is an interpreter for AIML (the Artificial Intelligence Markup
+Language), implemented entirely in standard Python. It strives for
+simple, austere, 100% compliance with the AIML 1.0.1 standard, no less
+and no more.
+
+This is currently pre-alpha software. Use at your
+own risk!
+
+For information on what's new in this version, see the
+CHANGES.txt file.
+
+For information on the state of development, including
+the current level of AIML 1.0.1 compliance, see the
+SUPPORTED_TAGS.txt file.
+
+Quick & dirty example (assuming you've downloaded the
+"standard" AIML set):
+
+ import aiml
+
+ # The Kernel object is the public interface to
+ # the AIML interpreter.
+ k = aiml.Kernel()
+
+ # Use the 'learn' method to load the contents
+ # of an AIML file into the Kernel.
+ k.learn("std-startup.xml")
+
+ # Use the 'respond' method to compute the response
+ # to a user's input string. respond() returns
+ # the interpreter's response, which in this case
+ # we ignore.
+ k.respond("load aiml b")
+
+ # Loop forever, reading user input from the command
+ # line and printing responses.
+ while True: print k.respond(raw_input("> ")) \ No newline at end of file
diff --git a/Speak.activity/bot/PyAIML-0.8.5/SUPPORTED_TAGS.txt b/Speak.activity/bot/PyAIML-0.8.5/SUPPORTED_TAGS.txt
new file mode 100644
index 0000000..bbbf708
--- /dev/null
+++ b/Speak.activity/bot/PyAIML-0.8.5/SUPPORTED_TAGS.txt
@@ -0,0 +1,94 @@
+This document describes the current state of PyAIML's compliance
+to the AIML 1.0.1 standard. The full AIML reference manual can be
+found online at http://alicebot.org/TR/2001/WD-aiml.
+
+The following tags are currently supported:
+
+ <bot name="name"> (see notes)
+ <condition>
+ <date>
+ <formal>
+ <gender>
+ <get>
+ <id>
+ <input>
+ <learn>
+ <li>
+ <lowercase>
+ <person>
+ <person2>
+ <random>
+ <sentence>
+ <set>
+ <size>
+ <sr>
+ <srai>
+ <star>
+ <system>
+ <that>
+ <thatstar>
+ <think>
+ <topic>
+ <topicstar>
+ <uppercase>
+ <version>
+
+Support for the following tags should be implemented in the next version:
+
+ None
+
+The following tags are not supported:
+
+ <gossip> (see notes)
+ <if> / <else> (see notes)
+ <javascript> (see notes)
+ <secure> (see notes)
+
+------------------------------------------------------------------
+
+NOTES ON SPECIFIC TAGS:
+
+<bot name="name">
+To set the bot's name, use Kernel.setBotName("NewName"). Note that the
+name *MUST* be a single word! Use Kernel.getBotName() to query the bot's
+name in your code.
+
+<gossip>
+The AIML 1.0.1 specification lets engine authors implement the the behavior
+of the <gossip> tag however they wish. I haven't yet decided what I'd like
+to do with it, so right now it doesn't do anything at all.
+
+<if> / <else>
+These elements appear to have been dropped between AIML 1.0 and AIML 1.0.1.
+They may someday be added as a part of an AIML 1.0 backwards-compatibility
+mode, but in the meantime, use <condition> instead.
+
+<javascript>
+Support for the JavaScript tag is not anticipated; one of the design
+goals of PyAIML is to remain 100% pure standard Python. So until
+somebody writes a JavaScript interpreter in Python, PyAIML won't
+support the <javascript> tag. On the bright side, it is possible
+to simulate the effects of the <javascript> tag (i.e. dynamically-
+generated tag contents) using the <system mode="sync"> tag. This
+solution has the added advantage of allowing *any* programming
+language to be used, not just JavaScript.
+UPDATE: The python-spidermonkey project provides a bridge between Python
+and the open-source SpiderMonkey JavaScript library. I am currently
+investigating the possibility of adding support for the <javascript>
+tag ON A PURELY OPTIONAL BASIS.
+
+<secure>
+Some AIML implementations support a non-standard <secure> tag, intended to
+wrap parts of a template which should only be processed if the user is
+"secure", or trusted. After implementing support for this tag, I realized
+that it wasn't doing anything that you can't do with the <condition> tag.
+Therefore, I've decided to drop support for the <secure> tag. You can
+easily duplicate its effects; simply replace this:
+ <secure error="you're not allowed">you are allowed</secure>
+with this:
+ <condition name="secure">
+ <li value="yes">you are allowed</li>
+ <li>you are not allowed</li>
+ </condition>
+Then, use the Kernel.setPredicate() call to set the "secure" predicate to
+"yes" for any session that you wish to be secure. \ No newline at end of file
diff --git a/Speak.activity/bot/PyAIML-0.8.5/TODO.txt b/Speak.activity/bot/PyAIML-0.8.5/TODO.txt
new file mode 100644
index 0000000..cd75a71
--- /dev/null
+++ b/Speak.activity/bot/PyAIML-0.8.5/TODO.txt
@@ -0,0 +1,13 @@
+Laundry list of future tasks, in no particular order:
+
+ - AIML 1.0.1 compliance (highest priority):
+ - Unknown yet well-defined elements (e.g. HTML) inside templates
+ (see sections 3.2, 3.6).
+ - AimlParser._validateElemStart() needs to test the well-formedness of
+ attribute values (for example, making sure that the "index" attribute
+ has an integer value, and not a string). UPDATE: this works for <star>,
+ <thatstar> and <topicstar>. Still needs to be written for <input> and <that>,
+ which take either an integer or an integer pair.
+ - Support the Program D startup file syntax, or something similar? It
+ seems to be a good way to initialize bot settings and substitutions.
+ - Documentation/tutorials.
diff --git a/Speak.activity/bot/PyAIML-0.8.5/pkg-info b/Speak.activity/bot/PyAIML-0.8.5/pkg-info
new file mode 100644
index 0000000..908caaa
--- /dev/null
+++ b/Speak.activity/bot/PyAIML-0.8.5/pkg-info
@@ -0,0 +1,12 @@
+Metadata-Version: 1.0
+Name: PyAIML
+Version: 0.8.5
+Summary: An interpreter package for AIML, the Artificial Intelligence Markup Language
+Home-page: http://pyaiml.sourceforge.net/
+Author: Cort Stratton
+Author-email: cort@users.sourceforge.net
+License: UNKNOWN
+Description: PyAIML implements an interpreter for AIML, the Artificial Intelligence
+ Markup Language developed by Dr. Richard Wallace of the A.L.I.C.E. Foundation.
+ It can be used to implement a conversational AI program.
+Platform: any
diff --git a/Speak.activity/bot/PyAIML-0.8.5/setup.cfg b/Speak.activity/bot/PyAIML-0.8.5/setup.cfg
new file mode 100644
index 0000000..89ca66e
--- /dev/null
+++ b/Speak.activity/bot/PyAIML-0.8.5/setup.cfg
@@ -0,0 +1,6 @@
+[bdist_wininst]
+title=PyAIML
+
+[sdist]
+formats=zip,gztar,bztar
+
diff --git a/Speak.activity/bot/PyAIML-0.8.5/setup.py b/Speak.activity/bot/PyAIML-0.8.5/setup.py
new file mode 100755
index 0000000..3cc058a
--- /dev/null
+++ b/Speak.activity/bot/PyAIML-0.8.5/setup.py
@@ -0,0 +1,34 @@
+# Command to build:
+from distutils.core import setup
+import glob
+
+package_prefix = "Lib/site-packages/aiml"
+
+setup(name="PyAIML",
+ version="0.8.5",
+ author="Cort Stratton",
+ author_email="cort@users.sourceforge.net",
+ maintainer="Cort Stratton",
+ maintainer_email="cort@users.sourceforge.net",
+
+ description="An interpreter package for AIML, the Artificial Intelligence Markup Language",
+ long_description="""PyAIML implements an interpreter for AIML, the Artificial Intelligence
+Markup Language developed by Dr. Richard Wallace of the A.L.I.C.E. Foundation.
+It can be used to implement a conversational AI program.""",
+ url="http://pyaiml.sourceforge.net/",
+ platforms=["any"],
+ classifiers=["Development Status :: 3 - Alpha",
+ "Environment :: Console",
+ "Intended Audience :: Developers",
+ "Programming Language :: Python",
+ "Operating System :: OS Independent",
+ "Topic :: Communications :: Chat",
+ "Topic :: Scientific/Engineering :: Artificial Intelligence"
+ ],
+
+ packages=["aiml"],
+ data_files=[
+ (package_prefix, glob.glob("aiml/self-test.aiml")),
+ (package_prefix, glob.glob("*.txt")),
+ ],
+)
diff --git a/Speak.activity/bot/README b/Speak.activity/bot/README
new file mode 100644
index 0000000..449768c
--- /dev/null
+++ b/Speak.activity/bot/README
@@ -0,0 +1,9 @@
+HabarConSara Activity
+
+Humorada de modificaci贸n a Actividad Hablar
+Elaborada por Sebastian Silva <sebastian@fuentelibre.org>
+
+http://www.fuentelibre.org/
+
+Puede obtener las fuentes de los cerebros AIML descargando la versi贸n de desarrollo:
+git clone git://gitorious.org/hablar-con-sara/mainline.git HablarConSara.activity
diff --git a/Speak.activity/bot/__init__.py b/Speak.activity/bot/__init__.py
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Speak.activity/bot/__init__.py
diff --git a/Speak.activity/bot/aiml/AimlParser.py b/Speak.activity/bot/aiml/AimlParser.py
new file mode 100755
index 0000000..75c2cf1
--- /dev/null
+++ b/Speak.activity/bot/aiml/AimlParser.py
@@ -0,0 +1,545 @@
+from xml.sax.handler import ContentHandler
+from xml.sax.xmlreader import Locator
+import sys
+import xml.sax
+import xml.sax.handler
+
+class AimlParserError(Exception): pass
+
+class AimlHandler(ContentHandler):
+ # The legal states of the AIML parser
+ _STATE_OutsideAiml = 0
+ _STATE_InsideAiml = 1
+ _STATE_InsideCategory = 2
+ _STATE_InsidePattern = 3
+ _STATE_AfterPattern = 4
+ _STATE_InsideThat = 5
+ _STATE_AfterThat = 6
+ _STATE_InsideTemplate = 7
+ _STATE_AfterTemplate = 8
+
+ def __init__(self, encoding = "UTF-8"):
+ self.categories = {}
+ self._encoding = encoding
+ self._state = self._STATE_OutsideAiml
+ self._version = ""
+ self._namespace = ""
+ self._forwardCompatibleMode = False
+ self._currentPattern = ""
+ self._currentThat = ""
+ self._currentTopic = ""
+ self._insideTopic = False
+ self._currentUnknown = "" # the name of the current unknown element
+
+ # This is set to true when a parse error occurs in a category.
+ self._skipCurrentCategory = False
+
+ # Counts the number of parse errors in a particular AIML document.
+ # query with getNumErrors(). If 0, the document is AIML-compliant.
+ self._numParseErrors = 0
+
+ # TODO: select the proper validInfo table based on the version number.
+ self._validInfo = self._validationInfo101
+
+ # This stack of bools is used when parsing <li> elements inside
+ # <condition> elements, to keep track of whether or not an
+ # attribute-less "default" <li> element has been found yet. Only
+ # one default <li> is allowed in each <condition> element. We need
+ # a stack in order to correctly handle nested <condition> tags.
+ self._foundDefaultLiStack = []
+
+ # This stack of strings indicates what the current whitespace-handling
+ # behavior should be. Each string in the stack is either "default" or
+ # "preserve". When a new AIML element is encountered, a new string is
+ # pushed onto the stack, based on the value of the element's "xml:space"
+ # attribute (if absent, the top of the stack is pushed again). When
+ # ending an element, pop an object off the stack.
+ self._whitespaceBehaviorStack = ["default"]
+
+ self._elemStack = []
+ self._locator = Locator()
+ self.setDocumentLocator(self._locator)
+
+ def getNumErrors(self):
+ "Return the number of errors found while parsing the current document."
+ return self._numParseErrors
+
+ def setEncoding(self, encoding):
+ """Set the text encoding to use when encoding strings read from XML.
+
+ Defaults to 'UTF-8'.
+
+ """
+ self._encoding = encoding
+
+ def _location(self):
+ "Return a string describing the current location in the source file."
+ line = self._locator.getLineNumber()
+ column = self._locator.getColumnNumber()
+ return "(line %d, column %d)" % (line, column)
+
+ def _pushWhitespaceBehavior(self, attr):
+ """Push a new string onto the whitespaceBehaviorStack.
+
+ The string's value is taken from the "xml:space" attribute, if it exists
+ and has a legal value ("default" or "preserve"). Otherwise, the previous
+ stack element is duplicated.
+
+ """
+ assert len(self._whitespaceBehaviorStack) > 0, "Whitespace behavior stack should never be empty!"
+ try:
+ if attr["xml:space"] == "default" or attr["xml:space"] == "preserve":
+ self._whitespaceBehaviorStack.append(attr["xml:space"])
+ else:
+ raise AimlParserError, "Invalid value for xml:space attribute "+self._location()
+ except KeyError:
+ self._whitespaceBehaviorStack.append(self._whitespaceBehaviorStack[-1])
+
+ def startElementNS(self, name, qname, attr):
+ print "QNAME:", qname
+ print "NAME:", name
+ uri,elem = name
+ if (elem == "bot"): print "name:", attr.getValueByQName("name"), "a'ite?"
+ self.startElement(elem, attr)
+ pass
+
+ def startElement(self, name, attr):
+ # Wrapper around _startElement, which catches errors in _startElement()
+ # and keeps going.
+
+ # If we're inside an unknown element, ignore everything until we're
+ # out again.
+ if self._currentUnknown != "":
+ return
+ # If we're skipping the current category, ignore everything until
+ # it's finished.
+ if self._skipCurrentCategory:
+ return
+
+ # process this start-element.
+ try: self._startElement(name, attr)
+ except AimlParserError, msg:
+ # Print the error message
+ sys.stderr.write("PARSE ERROR: %s\n" % msg)
+
+ self._numParseErrors += 1 # increment error count
+ # In case of a parse error, if we're inside a category, skip it.
+ if self._state >= self._STATE_InsideCategory:
+ self._skipCurrentCategory = True
+
+ def _startElement(self, name, attr):
+ if name == "aiml":
+ # <aiml> tags are only legal in the OutsideAiml state
+ if self._state != self._STATE_OutsideAiml:
+ raise AimlParserError, "Unexpected <aiml> tag "+self._location()
+ self._state = self._STATE_InsideAiml
+ self._insideTopic = False
+ self._currentTopic = u""
+ try: self._version = attr["version"]
+ except KeyError:
+ # This SHOULD be a syntax error, but so many AIML sets out there are missing
+ # "version" attributes that it just seems nicer to let it slide.
+ #raise AimlParserError, "Missing 'version' attribute in <aiml> tag "+self._location()
+ #print "WARNING: Missing 'version' attribute in <aiml> tag "+self._location()
+ #print " Defaulting to version 1.0"
+ self._version = "1.0"
+ self._forwardCompatibleMode = (self._version != "1.0.1")
+ self._pushWhitespaceBehavior(attr)
+ # Not sure about this namespace business yet...
+ #try:
+ # self._namespace = attr["xmlns"]
+ # if self._version == "1.0.1" and self._namespace != "http://alicebot.org/2001/AIML-1.0.1":
+ # raise AimlParserError, "Incorrect namespace for AIML v1.0.1 "+self._location()
+ #except KeyError:
+ # if self._version != "1.0":
+ # raise AimlParserError, "Missing 'version' attribute(s) in <aiml> tag "+self._location()
+ elif self._state == self._STATE_OutsideAiml:
+ # If we're outside of an AIML element, we ignore all tags.
+ return
+ elif name == "topic":
+ # <topic> tags are only legal in the InsideAiml state, and only
+ # if we're not already inside a topic.
+ if (self._state != self._STATE_InsideAiml) or self._insideTopic:
+ raise AimlParserError, "Unexpected <topic> tag", self._location()
+ try: self._currentTopic = unicode(attr['name'])
+ except KeyError:
+ raise AimlParserError, "Required \"name\" attribute missing in <topic> element "+self._location()
+ self._insideTopic = True
+ elif name == "category":
+ # <category> tags are only legal in the InsideAiml state
+ if self._state != self._STATE_InsideAiml:
+ raise AimlParserError, "Unexpected <category> tag "+self._location()
+ self._state = self._STATE_InsideCategory
+ self._currentPattern = u""
+ self._currentThat = u""
+ # If we're not inside a topic, the topic is implicitly set to *
+ if not self._insideTopic: self._currentTopic = u"*"
+ self._elemStack = []
+ self._pushWhitespaceBehavior(attr)
+ elif name == "pattern":
+ # <pattern> tags are only legal in the InsideCategory state
+ if self._state != self._STATE_InsideCategory:
+ raise AimlParserError, "Unexpected <pattern> tag "+self._location()
+ self._state = self._STATE_InsidePattern
+ elif name == "that" and self._state == self._STATE_AfterPattern:
+ # <that> are legal either inside a <template> element, or
+ # inside a <category> element, between the <pattern> and the
+ # <template> elements. This clause handles the latter case.
+ self._state = self._STATE_InsideThat
+ elif name == "template":
+ # <template> tags are only legal in the AfterPattern and AfterThat
+ # states
+ if self._state not in [self._STATE_AfterPattern, self._STATE_AfterThat]:
+ raise AimlParserError, "Unexpected <template> tag "+self._location()
+ # if no <that> element was specified, it is implicitly set to *
+ if self._state == self._STATE_AfterPattern:
+ self._currentThat = u"*"
+ self._state = self._STATE_InsideTemplate
+ self._elemStack.append(['template',{}])
+ self._pushWhitespaceBehavior(attr)
+ elif self._state == self._STATE_InsidePattern:
+ # Certain tags are allowed inside <pattern> elements.
+ if name == "bot" and attr.has_key("name") and attr["name"] == u"name":
+ # Insert a special character string that the PatternMgr will
+ # replace with the bot's name.
+ self._currentPattern += u" BOT_NAME "
+ else:
+ raise AimlParserError, ("Unexpected <%s> tag " % name)+self._location()
+ elif self._state == self._STATE_InsideThat:
+ # Certain tags are allowed inside <that> elements.
+ if name == "bot" and attr.has_key("name") and attr["name"] == u"name":
+ # Insert a special character string that the PatternMgr will
+ # replace with the bot's name.
+ self._currentThat += u" BOT_NAME "
+ else:
+ raise AimlParserError, ("Unexpected <%s> tag " % name)+self._location()
+ elif self._state == self._STATE_InsideTemplate and self._validInfo.has_key(name):
+ # Starting a new element inside the current pattern. First
+ # we need to convert 'attr' into a native Python dictionary,
+ # so it can later be marshaled.
+ attrDict = {}
+ for k,v in attr.items():
+ #attrDict[k[1].encode(self._encoding)] = v.encode(self._encoding)
+ attrDict[k.encode(self._encoding)] = unicode(v)
+ self._validateElemStart(name, attrDict, self._version)
+ # Push the current element onto the element stack.
+ self._elemStack.append([name.encode(self._encoding),attrDict])
+ self._pushWhitespaceBehavior(attr)
+ # If this is a condition element, push a new entry onto the
+ # foundDefaultLiStack
+ if name == "condition":
+ self._foundDefaultLiStack.append(False)
+ else:
+ # we're now inside an unknown element.
+ if self._forwardCompatibleMode:
+ # In Forward Compatibility Mode, we ignore the element and its
+ # contents.
+ self._currentUnknown = name
+ else:
+ # Otherwise, unknown elements are grounds for error!
+ raise AimlParserError, ("Unexpected <%s> tag " % name)+self._location()
+
+ def characters(self, ch):
+ # Wrapper around _characters which catches errors in _characters()
+ # and keeps going.
+ if self._state == self._STATE_OutsideAiml:
+ # If we're outside of an AIML element, we ignore all text
+ return
+ if self._currentUnknown != "":
+ # If we're inside an unknown element, ignore all text
+ return
+ if self._skipCurrentCategory:
+ # If we're skipping the current category, ignore all text.
+ return
+ try: self._characters(ch)
+ except AimlParserError, msg:
+ # Print the message
+ sys.stderr.write("PARSE ERROR: %s\n" % msg)
+ self._numParseErrors += 1 # increment error count
+ # In case of a parse error, if we're inside a category, skip it.
+ if self._state >= self._STATE_InsideCategory:
+ self._skipCurrentCategory = True
+
+ def _characters(self, ch):
+ text = unicode(ch)
+ if self._state == self._STATE_InsidePattern:
+ self._currentPattern += text
+ elif self._state == self._STATE_InsideThat:
+ self._currentThat += text
+ elif self._state == self._STATE_InsideTemplate:
+ # First, see whether the element at the top of the element stack
+ # is permitted to contain text.
+ try:
+ parent = self._elemStack[-1][0]
+ parentAttr = self._elemStack[-1][1]
+ required, optional, canBeParent = self._validInfo[parent]
+ nonBlockStyleCondition = (parent == "condition" and not (parentAttr.has_key("name") and parentAttr.has_key("value")))
+ if not canBeParent:
+ raise AimlParserError, ("Unexpected text inside <%s> element "%parent)+self._location()
+ elif parent == "random" or nonBlockStyleCondition:
+ # <random> elements can only contain <li> subelements. However,
+ # there's invariably some whitespace around the <li> that we need
+ # to ignore. Same for non-block-style <condition> elements (i.e.
+ # those which don't have both a "name" and a "value" attribute).
+ if len(text.strip()) == 0:
+ # ignore whitespace inside these elements.
+ return
+ else:
+ # non-whitespace text inside these elements is a syntax error.
+ raise AimlParserError, ("Unexpected text inside <%s> element "%parent)+self._location()
+ except IndexError:
+ # the element stack is empty. This should never happen.
+ raise AimlParserError, "Element stack is empty while validating text "+self._location()
+
+ # Add a new text element to the element at the top of the element
+ # stack. If there's already a text element there, simply append the
+ # new characters to its contents.
+ try: textElemOnStack = (self._elemStack[-1][-1][0] == "text")
+ except IndexError: textElemOnStack = False
+ except KeyError: textElemOnStack = False
+ if textElemOnStack:
+ self._elemStack[-1][-1][2] += text
+ else:
+ self._elemStack[-1].append(["text", {"xml:space": self._whitespaceBehaviorStack[-1]}, text])
+ else:
+ # all other text is ignored
+ pass
+
+ def endElementNS(self, name, qname):
+ uri, elem = name
+ self.endElement(elem)
+
+ def endElement(self, name):
+ """Wrapper around _endElement which catches errors in _characters()
+ and keeps going.
+
+ """
+ if self._state == self._STATE_OutsideAiml:
+ # If we're outside of an AIML element, ignore all tags
+ return
+ if self._currentUnknown != "":
+ # see if we're at the end of an unknown element. If so, we can
+ # stop ignoring everything.
+ if name == self._currentUnknown:
+ self._currentUnknown = ""
+ return
+ if self._skipCurrentCategory:
+ # If we're skipping the current category, see if it's ending. We
+ # stop on ANY </category> tag, since we're not keeping track of
+ # state in ignore-mode.
+ if name == "category":
+ self._skipCurrentCategory = False
+ self._state = self._STATE_InsideAiml
+ return
+ try: self._endElement(name)
+ except AimlParserError, msg:
+ # Print the message
+ sys.stderr.write("PARSE ERROR: %s\n" % msg)
+ self._numParseErrors += 1 # increment error count
+ # In case of a parse error, if we're inside a category, skip it.
+ if self._state >= self._STATE_InsideCategory:
+ self._skipCurrentCategory = True
+
+ def _endElement(self, name):
+ """Verify that an AIML end element is valid in the current
+ context.
+
+ Raises an AimlParserError if an illegal end element is encountered.
+
+ """
+ if name == "aiml":
+ # </aiml> tags are only legal in the InsideAiml state
+ if self._state != self._STATE_InsideAiml:
+ raise AimlParserError, "Unexpected </aiml> tag "+self._location()
+ self._state = self._STATE_OutsideAiml
+ self._whitespaceBehaviorStack.pop()
+ elif name == "topic":
+ # </topic> tags are only legal in the InsideAiml state, and
+ # only if _insideTopic is true.
+ if self._state != self._STATE_InsideAiml or not self._insideTopic:
+ raise AimlParserError, "Unexpected </topic> tag "+self._location()
+ self._insideTopic = False
+ self._currentTopic = u""
+ elif name == "category":
+ # </category> tags are only legal in the AfterTemplate state
+ if self._state != self._STATE_AfterTemplate:
+ raise AimlParserError, "Unexpected </category> tag "+self._location()
+ self._state = self._STATE_InsideAiml
+ # End the current category. Store the current pattern/that/topic and
+ # element in the categories dictionary.
+ key = (self._currentPattern.strip(), self._currentThat.strip(),self._currentTopic.strip())
+ self.categories[key] = self._elemStack[-1]
+ self._whitespaceBehaviorStack.pop()
+ elif name == "pattern":
+ # </pattern> tags are only legal in the InsidePattern state
+ if self._state != self._STATE_InsidePattern:
+ raise AimlParserError, "Unexpected </pattern> tag "+self._location()
+ self._state = self._STATE_AfterPattern
+ elif name == "that" and self._state == self._STATE_InsideThat:
+ # </that> tags are only allowed inside <template> elements or in
+ # the InsideThat state. This clause handles the latter case.
+ self._state = self._STATE_AfterThat
+ elif name == "template":
+ # </template> tags are only allowed in the InsideTemplate state.
+ if self._state != self._STATE_InsideTemplate:
+ raise AimlParserError, "Unexpected </template> tag "+self._location()
+ self._state = self._STATE_AfterTemplate
+ self._whitespaceBehaviorStack.pop()
+ elif self._state == self._STATE_InsidePattern:
+ # Certain tags are allowed inside <pattern> elements.
+ if name not in ["bot"]:
+ raise AimlParserError, ("Unexpected </%s> tag " % name)+self._location()
+ elif self._state == self._STATE_InsideThat:
+ # Certain tags are allowed inside <that> elements.
+ if name not in ["bot"]:
+ raise AimlParserError, ("Unexpected </%s> tag " % name)+self._location()
+ elif self._state == self._STATE_InsideTemplate:
+ # End of an element inside the current template. Append the
+ # element at the top of the stack onto the one beneath it.
+ elem = self._elemStack.pop()
+ self._elemStack[-1].append(elem)
+ self._whitespaceBehaviorStack.pop()
+ # If the element was a condition, pop an item off the
+ # foundDefaultLiStack as well.
+ if elem[0] == "condition": self._foundDefaultLiStack.pop()
+ else:
+ # Unexpected closing tag
+ raise AimlParserError, ("Unexpected </%s> tag " % name)+self._location()
+
+ # A dictionary containing a validation information for each AIML
+ # element. The keys are the names of the elements. The values are a
+ # tuple of three items. The first is a list containing the names of
+ # REQUIRED attributes, the second is a list of OPTIONAL attributes,
+ # and the third is a boolean value indicating whether or not the
+ # element can contain other elements and/or text (if False, the
+ # element can only appear in an atomic context, such as <date/>).
+ _validationInfo101 = {
+ "bot": ( ["name"], [], False ),
+ "condition": ( [], ["name", "value"], True ), # can only contain <li> elements
+ "date": ( [], [], False ),
+ "formal": ( [], [], True ),
+ "gender": ( [], [], True ),
+ "get": ( ["name"], [], False ),
+ "gossip": ( [], [], True ),
+ "id": ( [], [], False ),
+ "input": ( [], ["index"], False ),
+ "javascript": ( [], [], True ),
+ "learn": ( [], [], True ),
+ "li": ( [], ["name", "value"], True ),
+ "lowercase": ( [], [], True ),
+ "person": ( [], [], True ),
+ "person2": ( [], [], True ),
+ "random": ( [], [], True ), # can only contain <li> elements
+ "sentence": ( [], [], True ),
+ "set": ( ["name"], [], True),
+ "size": ( [], [], False ),
+ "sr": ( [], [], False ),
+ "srai": ( [], [], True ),
+ "star": ( [], ["index"], False ),
+ "system": ( [], [], True ),
+ "template": ( [], [], True ), # needs to be in the list because it can be a parent.
+ "that": ( [], ["index"], False ),
+ "thatstar": ( [], ["index"], False ),
+ "think": ( [], [], True ),
+ "topicstar": ( [], ["index"], False ),
+ "uppercase": ( [], [], True ),
+ "version": ( [], [], False ),
+ }
+
+ def _validateElemStart(self, name, attr, version):
+ """Test the validity of an element starting inside a <template>
+ element.
+
+ This function raises an AimlParserError exception if it the tag is
+ invalid. Otherwise, no news is good news.
+
+ """
+ # Check the element's attributes. Make sure that all required
+ # attributes are present, and that any remaining attributes are
+ # valid options.
+ required, optional, canBeParent = self._validInfo[name]
+ for a in required:
+ if a not in attr and not self._forwardCompatibleMode:
+ raise AimlParserError, ("Required \"%s\" attribute missing in <%s> element " % (a,name))+self._location()
+ for a in attr:
+ if a in required: continue
+ if a[0:4] == "xml:": continue # attributes in the "xml" namespace can appear anywhere
+ if a not in optional and not self._forwardCompatibleMode:
+ raise AimlParserError, ("Unexpected \"%s\" attribute in <%s> element " % (a,name))+self._location()
+
+ # special-case: several tags contain an optional "index" attribute.
+ # This attribute's value must be a positive integer.
+ if name in ["star", "thatstar", "topicstar"]:
+ for k,v in attr.items():
+ if k == "index":
+ temp = 0
+ try: temp = int(v)
+ except:
+ raise AimlParserError, ("Bad type for \"%s\" attribute (expected integer, found \"%s\") " % (k,v))+self._location()
+ if temp < 1:
+ raise AimlParserError, ("\"%s\" attribute must have non-negative value " % (k))+self._location()
+
+ # See whether the containing element is permitted to contain
+ # subelements. If not, this element is invalid no matter what it is.
+ try:
+ parent = self._elemStack[-1][0]
+ parentAttr = self._elemStack[-1][1]
+ except IndexError:
+ # If the stack is empty, no parent is present. This should never
+ # happen.
+ raise AimlParserError, ("Element stack is empty while validating <%s> " % name)+self._location()
+ required, optional, canBeParent = self._validInfo[parent]
+ nonBlockStyleCondition = (parent == "condition" and not (parentAttr.has_key("name") and parentAttr.has_key("value")))
+ if not canBeParent:
+ raise AimlParserError, ("<%s> elements cannot have any contents "%parent)+self._location()
+ # Special-case test if the parent element is <condition> (the
+ # non-block-style variant) or <random>: these elements can only
+ # contain <li> subelements.
+ elif (parent == "random" or nonBlockStyleCondition) and name!="li":
+ raise AimlParserError, ("<%s> elements can only contain <li> subelements "%parent)+self._location()
+ # Special-case test for <li> elements, which can only be contained
+ # by non-block-style <condition> and <random> elements, and whose
+ # required attributes are dependent upon which attributes are
+ # present in the <condition> parent.
+ elif name=="li":
+ if not (parent=="random" or nonBlockStyleCondition):
+ raise AimlParserError, ("Unexpected <li> element contained by <%s> element "%parent)+self._location()
+ if nonBlockStyleCondition:
+ if parentAttr.has_key("name"):
+ # Single-predicate condition. Each <li> element except the
+ # last must have a "value" attribute.
+ if len(attr) == 0:
+ # This could be the default <li> element for this <condition>,
+ # unless we've already found one.
+ if self._foundDefaultLiStack[-1]:
+ raise AimlParserError, "Unexpected default <li> element inside <condition> "+self._location()
+ else:
+ self._foundDefaultLiStack[-1] = True
+ elif len(attr) == 1 and attr.has_key("value"):
+ pass # this is the valid case
+ else:
+ raise AimlParserError, "Invalid <li> inside single-predicate <condition> "+self._location()
+ elif len(parentAttr) == 0:
+ # Multi-predicate condition. Each <li> element except the
+ # last must have a "name" and a "value" attribute.
+ if len(attr) == 0:
+ # This could be the default <li> element for this <condition>,
+ # unless we've already found one.
+ if self._foundDefaultLiStack[-1]:
+ raise AimlParserError, "Unexpected default <li> element inside <condition> "+self._location()
+ else:
+ self._foundDefaultLiStack[-1] = True
+ elif len(attr) == 2 and attr.has_key("value") and attr.has_key("name"):
+ pass # this is the valid case
+ else:
+ raise AimlParserError, "Invalid <li> inside multi-predicate <condition> "+self._location()
+ # All is well!
+ return True
+
+def create_parser():
+ """Create and return an AIML parser object."""
+ parser = xml.sax.make_parser()
+ handler = AimlHandler("UTF-8")
+ parser.setContentHandler(handler)
+ #parser.setFeature(xml.sax.handler.feature_namespaces, True)
+ return parser \ No newline at end of file
diff --git a/Speak.activity/bot/aiml/DefaultSubs.py b/Speak.activity/bot/aiml/DefaultSubs.py
new file mode 100755
index 0000000..5166cf6
--- /dev/null
+++ b/Speak.activity/bot/aiml/DefaultSubs.py
@@ -0,0 +1,156 @@
+"""This file contains the default (English) substitutions for the
+PyAIML kernel. These substitutions may be overridden by using the
+Kernel.loadSubs(filename) method. The filename specified should refer
+to a Windows-style INI file with the following format:
+
+ # lines that start with '#' are comments
+
+ # The 'gender' section contains the substitutions performed by the
+ # <gender> AIML tag, which swaps masculine and feminine pronouns.
+ [gender]
+ he = she
+ she = he
+ # and so on...
+
+ # The 'person' section contains the substitutions performed by the
+ # <person> AIML tag, which swaps 1st and 2nd person pronouns.
+ [person]
+ I = you
+ you = I
+ # and so on...
+
+ # The 'person2' section contains the substitutions performed by
+ # the <person2> AIML tag, which swaps 1st and 3nd person pronouns.
+ [person2]
+ I = he
+ he = I
+ # and so on...
+
+ # the 'normal' section contains subtitutions run on every input
+ # string passed into Kernel.respond(). It's mainly used to
+ # correct common misspellings, and to convert contractions
+ # ("WHAT'S") into a format that will match an AIML pattern ("WHAT
+ # IS").
+ [normal]
+ what's = what is
+"""
+
+defaultGender = {
+ # masculine -> feminine
+ "he": "she",
+ "him": "her",
+ "his": "her",
+ "himself": "herself",
+
+ # feminine -> masculine
+ "she": "he",
+ "her": "him",
+ "hers": "his",
+ "herself": "himself",
+}
+
+defaultPerson = {
+ # 1st->3rd (masculine)
+ "I": "he",
+ "me": "him",
+ "my": "his",
+ "mine": "his",
+ "myself": "himself",
+
+ # 3rd->1st (masculine)
+ "he":"I",
+ "him":"me",
+ "his":"my",
+ "himself":"myself",
+
+ # 3rd->1st (feminine)
+ "she":"I",
+ "her":"me",
+ "hers":"mine",
+ "herself":"myself",
+}
+
+defaultPerson2 = {
+ # 1st -> 2nd
+ "I": "you",
+ "me": "you",
+ "my": "your",
+ "mine": "yours",
+ "myself": "yourself",
+
+ # 2nd -> 1st
+ "you": "me",
+ "your": "my",
+ "yours": "mine",
+ "yourself": "myself",
+}
+
+
+# TODO: this list is far from complete
+defaultNormal = {
+ "wanna": "want to",
+ "gonna": "going to",
+
+ "I'm": "I am",
+ "I'd": "I would",
+ "I'll": "I will",
+ "I've": "I have",
+ "you'd": "you would",
+ "you're": "you are",
+ "you've": "you have",
+ "you'll": "you will",
+ "he's": "he is",
+ "he'd": "he would",
+ "he'll": "he will",
+ "she's": "she is",
+ "she'd": "she would",
+ "she'll": "she will",
+ "we're": "we are",
+ "we'd": "we would",
+ "we'll": "we will",
+ "we've": "we have",
+ "they're": "they are",
+ "they'd": "they would",
+ "they'll": "they will",
+ "they've": "they have",
+
+ "y'all": "you all",
+
+ "can't": "can not",
+ "cannot": "can not",
+ "couldn't": "could not",
+ "wouldn't": "would not",
+ "shouldn't": "should not",
+
+ "isn't": "is not",
+ "ain't": "is not",
+ "don't": "do not",
+ "aren't": "are not",
+ "won't": "will not",
+ "weren't": "were not",
+ "wasn't": "was not",
+ "didn't": "did not",
+ "hasn't": "has not",
+ "hadn't": "had not",
+ "haven't": "have not",
+
+ "where's": "where is",
+ "where'd": "where did",
+ "where'll": "where will",
+ "who's": "who is",
+ "who'd": "who did",
+ "who'll": "who will",
+ "what's": "what is",
+ "what'd": "what did",
+ "what'll": "what will",
+ "when's": "when is",
+ "when'd": "when did",
+ "when'll": "when will",
+ "why's": "why is",
+ "why'd": "why did",
+ "why'll": "why will",
+
+ "it's": "it is",
+ "it'd": "it would",
+ "it'll": "it will",
+} \ No newline at end of file
diff --git a/Speak.activity/bot/aiml/Kernel.py b/Speak.activity/bot/aiml/Kernel.py
new file mode 100755
index 0000000..413f26d
--- /dev/null
+++ b/Speak.activity/bot/aiml/Kernel.py
@@ -0,0 +1,1183 @@
+# -*- coding: latin-1 -*-
+"""This file contains the public interface to the aiml module."""
+import AimlParser
+import DefaultSubs
+import Utils
+from PatternMgr import PatternMgr
+from WordSub import WordSub
+
+from ConfigParser import ConfigParser
+import copy
+import glob
+import os
+import random
+import re
+import string
+import sys
+import time
+import threading
+import xml.sax
+
+
+class Kernel:
+ # module constants
+ _globalSessionID = "_global" # key of the global session (duh)
+ _maxHistorySize = 10 # maximum length of the _inputs and _responses lists
+ _maxRecursionDepth = 100 # maximum number of recursive <srai>/<sr> tags before the response is aborted.
+ # special predicate keys
+ _inputHistory = "_inputHistory" # keys to a queue (list) of recent user input
+ _outputHistory = "_outputHistory" # keys to a queue (list) of recent responses.
+ _inputStack = "_inputStack" # Should always be empty in between calls to respond()
+
+ def __init__(self):
+ self._verboseMode = True
+ self._version = "PyAIML 0.8.5"
+ self._brain = PatternMgr()
+ self._respondLock = threading.RLock()
+ self._textEncoding = "utf-8"
+
+ # set up the sessions
+ self._sessions = {}
+ self._addSession(self._globalSessionID)
+
+ # Set up the bot predicates
+ self._botPredicates = {}
+ self.setBotPredicate("name", "Nameless")
+
+ # set up the word substitutors (subbers):
+ self._subbers = {}
+ self._subbers['gender'] = WordSub(DefaultSubs.defaultGender)
+ self._subbers['person'] = WordSub(DefaultSubs.defaultPerson)
+ self._subbers['person2'] = WordSub(DefaultSubs.defaultPerson2)
+ self._subbers['normal'] = WordSub(DefaultSubs.defaultNormal)
+
+ # set up the element processors
+ self._elementProcessors = {
+ "bot": self._processBot,
+ "condition": self._processCondition,
+ "date": self._processDate,
+ "formal": self._processFormal,
+ "gender": self._processGender,
+ "get": self._processGet,
+ "gossip": self._processGossip,
+ "id": self._processId,
+ "input": self._processInput,
+ "javascript": self._processJavascript,
+ "learn": self._processLearn,
+ "li": self._processLi,
+ "lowercase": self._processLowercase,
+ "person": self._processPerson,
+ "person2": self._processPerson2,
+ "random": self._processRandom,
+ "text": self._processText,
+ "sentence": self._processSentence,
+ "set": self._processSet,
+ "size": self._processSize,
+ "sr": self._processSr,
+ "srai": self._processSrai,
+ "star": self._processStar,
+ "system": self._processSystem,
+ "template": self._processTemplate,
+ "that": self._processThat,
+ "thatstar": self._processThatstar,
+ "think": self._processThink,
+ "topicstar": self._processTopicstar,
+ "uppercase": self._processUppercase,
+ "version": self._processVersion,
+ }
+
+ def bootstrap(self, brainFile = None, learnFiles = [], commands = []):
+ """Prepare a Kernel object for use.
+
+ If a brainFile argument is provided, the Kernel attempts to
+ load the brain at the specified filename.
+
+ If learnFiles is provided, the Kernel attempts to load the
+ specified AIML files.
+
+ Finally, each of the input strings in the commands list is
+ passed to respond().
+
+ """
+ start = time.clock()
+ if brainFile:
+ self.loadBrain(brainFile)
+
+ # learnFiles might be a string, in which case it should be
+ # turned into a single-element list.
+ learns = learnFiles
+ try: learns = [ learnFiles + "" ]
+ except: pass
+ for file in learns:
+ self.learn(file)
+
+ # ditto for commands
+ cmds = commands
+ try: cmds = [ commands + "" ]
+ except: pass
+ for cmd in cmds:
+ print self._respond(cmd, self._globalSessionID)
+
+ if self._verboseMode:
+ print "Kernel bootstrap completed in %.2f seconds" % (time.clock() - start)
+
+ def verbose(self, isVerbose = True):
+ """Enable/disable verbose output mode."""
+ self._verboseMode = isVerbose
+
+ def version(self):
+ """Return the Kernel's version string."""
+ return self._version
+
+ def numCategories(self):
+ """Return the number of categories the Kernel has learned."""
+ # there's a one-to-one mapping between templates and categories
+ return self._brain.numTemplates()
+
+ def resetBrain(self):
+ """Reset the brain to its initial state.
+
+ This is essentially equivilant to:
+ del(kern)
+ kern = aiml.Kernel()
+
+ """
+ del(self._brain)
+ self.__init__()
+
+ def loadBrain(self, filename):
+ """Attempt to load a previously-saved 'brain' from the
+ specified filename.
+
+ NOTE: the current contents of the 'brain' will be discarded!
+
+ """
+ if self._verboseMode: print "Loading brain from %s..." % filename,
+ start = time.clock()
+ self._brain.restore(filename)
+ if self._verboseMode:
+ end = time.clock() - start
+ print "done (%d categories in %.2f seconds)" % (self._brain.numTemplates(), end)
+
+ def saveBrain(self, filename):
+ """Dump the contents of the bot's brain to a file on disk."""
+ if self._verboseMode: print "Saving brain to %s..." % filename,
+ start = time.clock()
+ self._brain.save(filename)
+ if self._verboseMode:
+ print "done (%.2f seconds)" % (time.clock() - start)
+
+ def getPredicate(self, name, sessionID = _globalSessionID):
+ """Retrieve the current value of the predicate 'name' from the
+ specified session.
+
+ If name is not a valid predicate in the session, the empty
+ string is returned.
+
+ """
+ try: return self._sessions[sessionID][name]
+ except KeyError: return ""
+
+ def setPredicate(self, name, value, sessionID = _globalSessionID):
+ """Set the value of the predicate 'name' in the specified
+ session.
+
+ If sessionID is not a valid session, it will be created. If
+ name is not a valid predicate in the session, it will be
+ created.
+
+ """
+ self._addSession(sessionID) # add the session, if it doesn't already exist.
+ self._sessions[sessionID][name] = value
+
+ def getBotPredicate(self, name):
+ """Retrieve the value of the specified bot predicate.
+
+ If name is not a valid bot predicate, the empty string is returned.
+
+ """
+ try: return self._botPredicates[name]
+ except KeyError: return ""
+
+ def setBotPredicate(self, name, value):
+ """Set the value of the specified bot predicate.
+
+ If name is not a valid bot predicate, it will be created.
+
+ """
+ self._botPredicates[name] = value
+ # Clumsy hack: if updating the bot name, we must update the
+ # name in the brain as well
+ if name == "name":
+ self._brain.setBotName(self.getBotPredicate("name"))
+
+ def setTextEncoding(self, encoding):
+ """Set the text encoding used when loading AIML files (Latin-1, UTF-8, etc.)."""
+ self._textEncoding = encoding
+
+ def loadSubs(self, filename):
+ """Load a substitutions file.
+
+ The file must be in the Windows-style INI format (see the
+ standard ConfigParser module docs for information on this
+ format). Each section of the file is loaded into its own
+ substituter.
+
+ """
+ inFile = file(filename)
+ parser = ConfigParser()
+ parser.readfp(inFile, filename)
+ inFile.close()
+ for s in parser.sections():
+ # Add a new WordSub instance for this section. If one already
+ # exists, delete it.
+ if self._subbers.has_key(s):
+ del(self._subbers[s])
+ self._subbers[s] = WordSub()
+ # iterate over the key,value pairs and add them to the subber
+ for k,v in parser.items(s):
+ self._subbers[s][k] = v
+
+ def _addSession(self, sessionID):
+ """Create a new session with the specified ID string."""
+ if self._sessions.has_key(sessionID):
+ return
+ # Create the session.
+ self._sessions[sessionID] = {
+ # Initialize the special reserved predicates
+ self._inputHistory: [],
+ self._outputHistory: [],
+ self._inputStack: []
+ }
+
+ def _deleteSession(self, sessionID):
+ """Delete the specified session."""
+ if self._sessions.has_key(sessionID):
+ _sessions.pop(sessionID)
+
+ def getSessionData(self, sessionID = None):
+ """Return a copy of the session data dictionary for the
+ specified session.
+
+ If no sessionID is specified, return a dictionary containing
+ *all* of the individual session dictionaries.
+
+ """
+ s = None
+ if sessionID is not None:
+ try: s = self._sessions[sessionID]
+ except KeyError: s = {}
+ else:
+ s = self._sessions
+ return copy.deepcopy(s)
+
+ def learn(self, filename):
+ """Load and learn the contents of the specified AIML file.
+
+ If filename includes wildcard characters, all matching files
+ will be loaded and learned.
+
+ """
+ for f in glob.glob(filename):
+ if self._verboseMode: print "Loading %s..." % f,
+ start = time.clock()
+ # Load and parse the AIML file.
+ parser = AimlParser.create_parser()
+ handler = parser.getContentHandler()
+ handler.setEncoding(self._textEncoding)
+ try: parser.parse(f)
+ except xml.sax.SAXParseException, msg:
+ err = "\nFATAL PARSE ERROR in file %s:\n%s\n" % (f,msg)
+ sys.stderr.write(err)
+ continue
+ # store the pattern/template pairs in the PatternMgr.
+ for key,tem in handler.categories.items():
+ self._brain.add(key,tem)
+ # Parsing was successful.
+ if self._verboseMode:
+ print "done (%.2f seconds)" % (time.clock() - start)
+
+ def respond(self, input, sessionID = _globalSessionID):
+ """Return the Kernel's response to the input string."""
+ if len(input) == 0:
+ return ""
+
+ #ensure that input is a unicode string
+ try: input = input.decode(self._textEncoding, 'replace')
+ except UnicodeError: pass
+ except AttributeError: pass
+
+ # prevent other threads from stomping all over us.
+ self._respondLock.acquire()
+
+ # Add the session, if it doesn't already exist
+ self._addSession(sessionID)
+
+ # split the input into discrete sentences
+ sentences = Utils.sentences(input)
+ finalResponse = ""
+ for s in sentences:
+ # Add the input to the history list before fetching the
+ # response, so that <input/> tags work properly.
+ inputHistory = self.getPredicate(self._inputHistory, sessionID)
+ inputHistory.append(s)
+ while len(inputHistory) > self._maxHistorySize:
+ inputHistory.pop(0)
+ self.setPredicate(self._inputHistory, inputHistory, sessionID)
+
+ # Fetch the response
+ response = self._respond(s, sessionID)
+
+ # add the data from this exchange to the history lists
+ outputHistory = self.getPredicate(self._outputHistory, sessionID)
+ outputHistory.append(response)
+ while len(outputHistory) > self._maxHistorySize:
+ outputHistory.pop(0)
+ self.setPredicate(self._outputHistory, outputHistory, sessionID)
+
+ # append this response to the final response.
+ finalResponse += (response + " ")
+ finalResponse = finalResponse.strip()
+
+ assert(len(self.getPredicate(self._inputStack, sessionID)) == 0)
+
+ # release the lock and return
+ self._respondLock.release()
+ try: return finalResponse.encode(self._textEncoding)
+ except UnicodeError: return finalResponse
+
+ # This version of _respond() just fetches the response for some input.
+ # It does not mess with the input and output histories. Recursive calls
+ # to respond() spawned from tags like <srai> should call this function
+ # instead of respond().
+ def _respond(self, input, sessionID):
+ """Private version of respond(), does the real work."""
+ if len(input) == 0:
+ return ""
+
+ # guard against infinite recursion
+ inputStack = self.getPredicate(self._inputStack, sessionID)
+ if len(inputStack) > self._maxRecursionDepth:
+ if self._verboseMode:
+ err = "WARNING: maximum recursion depth exceeded (input='%s')" % input.encode(self._textEncoding, 'replace')
+ sys.stderr.write(err)
+ return ""
+
+ # push the input onto the input stack
+ inputStack = self.getPredicate(self._inputStack, sessionID)
+ inputStack.append(input)
+ self.setPredicate(self._inputStack, inputStack, sessionID)
+
+ # run the input through the 'normal' subber
+ subbedInput = self._subbers['normal'].sub(input)
+
+ # fetch the bot's previous response, to pass to the match()
+ # function as 'that'.
+ outputHistory = self.getPredicate(self._outputHistory, sessionID)
+ try: that = outputHistory[-1]
+ except IndexError: that = ""
+ subbedThat = self._subbers['normal'].sub(that)
+
+ # fetch the current topic
+ topic = self.getPredicate("topic", sessionID)
+ subbedTopic = self._subbers['normal'].sub(topic)
+
+ # Determine the final response.
+ response = ""
+ elem = self._brain.match(subbedInput, subbedThat, subbedTopic)
+ if elem is None:
+ if self._verboseMode:
+ err = "WARNING: No match found for input: %s\n" % input.encode(self._textEncoding)
+ sys.stderr.write(err)
+ else:
+ # Process the element into a response string.
+ response += self._processElement(elem, sessionID).strip()
+ response += " "
+ response = response.strip()
+
+ # pop the top entry off the input stack.
+ inputStack = self.getPredicate(self._inputStack, sessionID)
+ inputStack.pop()
+ self.setPredicate(self._inputStack, inputStack, sessionID)
+
+ return response
+
+ def _processElement(self,elem, sessionID):
+ """Process an AIML element.
+
+ The first item of the elem list is the name of the element's
+ XML tag. The second item is a dictionary containing any
+ attributes passed to that tag, and their values. Any further
+ items in the list are the elements enclosed by the current
+ element's begin and end tags; they are handled by each
+ element's handler function.
+
+ """
+ try:
+ handlerFunc = self._elementProcessors[elem[0]]
+ except:
+ # Oops -- there's no handler function for this element
+ # type!
+ if self._verboseMode:
+ err = "WARNING: No handler found for <%s> element\n" % elem[0].encode(self._textEncoding, 'replace')
+ sys.stderr.write(err)
+ return ""
+ return handlerFunc(elem, sessionID)
+
+
+ ######################################################
+ ### Individual element-processing functions follow ###
+ ######################################################
+
+ # <bot>
+ def _processBot(self, elem, sessionID):
+ """Process a <bot> AIML element.
+
+ Required element attributes:
+ name: The name of the bot predicate to retrieve.
+
+ <bot> elements are used to fetch the value of global,
+ read-only "bot predicates." These predicates cannot be set
+ from within AIML; you must use the setBotPredicate() function.
+
+ """
+ attrName = elem[1]['name']
+ return self.getBotPredicate(attrName)
+
+ # <condition>
+ def _processCondition(self, elem, sessionID):
+ """Process a <condition> AIML element.
+
+ Optional element attributes:
+ name: The name of a predicate to test.
+ value: The value to test the predicate for.
+
+ <condition> elements come in three flavors. Each has different
+ attributes, and each handles their contents differently.
+
+ The simplest case is when the <condition> tag has both a 'name'
+ and a 'value' attribute. In this case, if the predicate
+ 'name' has the value 'value', then the contents of the element
+ are processed and returned.
+
+ If the <condition> element has only a 'name' attribute, then
+ its contents are a series of <li> elements, each of which has
+ a 'value' attribute. The list is scanned from top to bottom
+ until a match is found. Optionally, the last <li> element can
+ have no 'value' attribute, in which case it is processed and
+ returned if no other match is found.
+
+ If the <condition> element has neither a 'name' nor a 'value'
+ attribute, then it behaves almost exactly like the previous
+ case, except that each <li> subelement (except the optional
+ last entry) must now include both 'name' and 'value'
+ attributes.
+
+ """
+ attr = None
+ response = ""
+ attr = elem[1]
+
+ # Case #1: test the value of a specific predicate for a
+ # specific value.
+ if attr.has_key('name') and attr.has_key('value'):
+ val = self.getPredicate(attr['name'], sessionID)
+ if val == attr['value']:
+ for e in elem[2:]:
+ response += self._processElement(e,sessionID)
+ return response
+ else:
+ # Case #2 and #3: Cycle through <li> contents, testing a
+ # name and value pair for each one.
+ try:
+ name = None
+ if attr.has_key('name'):
+ name = attr['name']
+ # Get the list of <li> elemnents
+ listitems = []
+ for e in elem[2:]:
+ if e[0] == 'li':
+ listitems.append(e)
+ # if listitems is empty, return the empty string
+ if len(listitems) == 0:
+ return ""
+ # iterate through the list looking for a condition that
+ # matches.
+ foundMatch = False
+ for li in listitems:
+ try:
+ liAttr = li[1]
+ # if this is the last list item, it's allowed
+ # to have no attributes. We just skip it for now.
+ if len(liAttr.keys()) == 0 and li == listitems[-1]:
+ continue
+ # get the name of the predicate to test
+ liName = name
+ if liName == None:
+ liName = liAttr['name']
+ # get the value to check against
+ liValue = liAttr['value']
+ # do the test
+ if self.getPredicate(liName, sessionID) == liValue:
+ foundMatch = True
+ response += self._processElement(li,sessionID)
+ break
+ except:
+ # No attributes, no name/value attributes, no
+ # such predicate/session, or processing error.
+ if self._verboseMode: print "Something amiss -- skipping listitem", li
+ raise
+ if not foundMatch:
+ # Check the last element of listitems. If it has
+ # no 'name' or 'value' attribute, process it.
+ try:
+ li = listitems[-1]
+ liAttr = li[1]
+ if not (liAttr.has_key('name') or liAttr.has_key('value')):
+ response += self._processElement(li, sessionID)
+ except:
+ # listitems was empty, no attributes, missing
+ # name/value attributes, or processing error.
+ if self._verboseMode: print "error in default listitem"
+ raise
+ except:
+ # Some other catastrophic cataclysm
+ if self._verboseMode: print "catastrophic condition failure"
+ raise
+ return response
+
+ # <date>
+ def _processDate(self, elem, sessionID):
+ """Process a <date> AIML element.
+
+ <date> elements resolve to the current date and time. The
+ AIML specification doesn't require any particular format for
+ this information, so I go with whatever's simplest.
+
+ """
+ return time.asctime()
+
+ # <formal>
+ def _processFormal(self, elem, sessionID):
+ """Process a <formal> AIML element.
+
+ <formal> elements process their contents recursively, and then
+ capitalize the first letter of each word of the result.
+
+ """
+ response = ""
+ for e in elem[2:]:
+ response += self._processElement(e, sessionID)
+ return string.capwords(response)
+
+ # <gender>
+ def _processGender(self,elem, sessionID):
+ """Process a <gender> AIML element.
+
+ <gender> elements process their contents, and then swap the
+ gender of any third-person singular pronouns in the result.
+ This subsitution is handled by the aiml.WordSub module.
+
+ """
+ response = ""
+ for e in elem[2:]:
+ response += self._processElement(e, sessionID)
+ return self._subbers['gender'].sub(response)
+
+ # <get>
+ def _processGet(self, elem, sessionID):
+ """Process a <get> AIML element.
+
+ Required element attributes:
+ name: The name of the predicate whose value should be
+ retrieved from the specified session and returned. If the
+ predicate doesn't exist, the empty string is returned.
+
+ <get> elements return the value of a predicate from the
+ specified session.
+
+ """
+ return self.getPredicate(elem[1]['name'], sessionID)
+
+ # <gossip>
+ def _processGossip(self, elem, sessionID):
+ """Process a <gossip> AIML element.
+
+ <gossip> elements are used to capture and store user input in
+ an implementation-defined manner, theoretically allowing the
+ bot to learn from the people it chats with. I haven't
+ descided how to define my implementation, so right now
+ <gossip> behaves identically to <think>.
+
+ """
+ return self._processThink(elem, sessionID)
+
+ # <id>
+ def _processId(self, elem, sessionID):
+ """ Process an <id> AIML element.
+
+ <id> elements return a unique "user id" for a specific
+ conversation. In PyAIML, the user id is the name of the
+ current session.
+
+ """
+ return sessionID
+
+ # <input>
+ def _processInput(self, elem, sessionID):
+ """Process an <input> AIML element.
+
+ Optional attribute elements:
+ index: The index of the element from the history list to
+ return. 1 means the most recent item, 2 means the one
+ before that, and so on.
+
+ <input> elements return an entry from the input history for
+ the current session.
+
+ """
+ inputHistory = self.getPredicate(self._inputHistory, sessionID)
+ try: index = int(elem[1]['index'])
+ except: index = 1
+ try: return inputHistory[-index]
+ except IndexError:
+ if self._verboseMode:
+ err = "No such index %d while processing <input> element.\n" % index
+ sys.stderr.write(err)
+ return ""
+
+ # <javascript>
+ def _processJavascript(self, elem, sessionID):
+ """Process a <javascript> AIML element.
+
+ <javascript> elements process their contents recursively, and
+ then run the results through a server-side Javascript
+ interpreter to compute the final response. Implementations
+ are not required to provide an actual Javascript interpreter,
+ and right now PyAIML doesn't; <javascript> elements are behave
+ exactly like <think> elements.
+
+ """
+ return self._processThink(elem, sessionID)
+
+ # <learn>
+ def _processLearn(self, elem, sessionID):
+ """Process a <learn> AIML element.
+
+ <learn> elements process their contents recursively, and then
+ treat the result as an AIML file to open and learn.
+
+ """
+ filename = ""
+ for e in elem[2:]:
+ filename += self._processElement(e, sessionID)
+ self.learn(filename)
+ return ""
+
+ # <li>
+ def _processLi(self,elem, sessionID):
+ """Process an <li> AIML element.
+
+ Optional attribute elements:
+ name: the name of a predicate to query.
+ value: the value to check that predicate for.
+
+ <li> elements process their contents recursively and return
+ the results. They can only appear inside <condition> and
+ <random> elements. See _processCondition() and
+ _processRandom() for details of their usage.
+
+ """
+ response = ""
+ for e in elem[2:]:
+ response += self._processElement(e, sessionID)
+ return response
+
+ # <lowercase>
+ def _processLowercase(self,elem, sessionID):
+ """Process a <lowercase> AIML element.
+
+ <lowercase> elements process their contents recursively, and
+ then convert the results to all-lowercase.
+
+ """
+ response = ""
+ for e in elem[2:]:
+ response += self._processElement(e, sessionID)
+ return string.lower(response)
+
+ # <person>
+ def _processPerson(self,elem, sessionID):
+ """Process a <person> AIML element.
+
+ <person> elements process their contents recursively, and then
+ convert all pronouns in the results from 1st person to 2nd
+ person, and vice versa. This subsitution is handled by the
+ aiml.WordSub module.
+
+ If the <person> tag is used atomically (e.g. <person/>), it is
+ a shortcut for <person><star/></person>.
+
+ """
+ response = ""
+ for e in elem[2:]:
+ response += self._processElement(e, sessionID)
+ if len(elem[2:]) == 0: # atomic <person/> = <person><star/></person>
+ response = self._processElement(['star',{}], sessionID)
+ return self._subbers['person'].sub(response)
+
+ # <person2>
+ def _processPerson2(self,elem, sessionID):
+ """Process a <person2> AIML element.
+
+ <person2> elements process their contents recursively, and then
+ convert all pronouns in the results from 1st person to 3rd
+ person, and vice versa. This subsitution is handled by the
+ aiml.WordSub module.
+
+ If the <person2> tag is used atomically (e.g. <person2/>), it is
+ a shortcut for <person2><star/></person2>.
+
+ """
+ response = ""
+ for e in elem[2:]:
+ response += self._processElement(e, sessionID)
+ if len(elem[2:]) == 0: # atomic <person2/> = <person2><star/></person2>
+ response = self._processElement(['star',{}], sessionID)
+ return self._subbers['person2'].sub(response)
+
+ # <random>
+ def _processRandom(self, elem, sessionID):
+ """Process a <random> AIML element.
+
+ <random> elements contain zero or more <li> elements. If
+ none, the empty string is returned. If one or more <li>
+ elements are present, one of them is selected randomly to be
+ processed recursively and have its results returned. Only the
+ chosen <li> element's contents are processed. Any non-<li> contents are
+ ignored.
+
+ """
+ listitems = []
+ for e in elem[2:]:
+ if e[0] == 'li':
+ listitems.append(e)
+ if len(listitems) == 0:
+ return ""
+
+ # select and process a random listitem.
+ random.shuffle(listitems)
+ return self._processElement(listitems[0], sessionID)
+
+ # <sentence>
+ def _processSentence(self,elem, sessionID):
+ """Process a <sentence> AIML element.
+
+ <sentence> elements process their contents recursively, and
+ then capitalize the first letter of the results.
+
+ """
+ response = ""
+ for e in elem[2:]:
+ response += self._processElement(e, sessionID)
+ try:
+ response = response.strip()
+ words = string.split(response, " ", 1)
+ words[0] = string.capitalize(words[0])
+ response = string.join(words)
+ return response
+ except IndexError: # response was empty
+ return ""
+
+ # <set>
+ def _processSet(self, elem, sessionID):
+ """Process a <set> AIML element.
+
+ Required element attributes:
+ name: The name of the predicate to set.
+
+ <set> elements process their contents recursively, and assign the results to a predicate
+ (given by their 'name' attribute) in the current session. The contents of the element
+ are also returned.
+
+ """
+ value = ""
+ for e in elem[2:]:
+ value += self._processElement(e, sessionID)
+ self.setPredicate(elem[1]['name'], value, sessionID)
+ return value
+
+ # <size>
+ def _processSize(self,elem, sessionID):
+ """Process a <size> AIML element.
+
+ <size> elements return the number of AIML categories currently
+ in the bot's brain.
+
+ """
+ return str(self.numCategories())
+
+ # <sr>
+ def _processSr(self,elem,sessionID):
+ """Process an <sr> AIML element.
+
+ <sr> elements are shortcuts for <srai><star/></srai>.
+
+ """
+ star = self._processElement(['star',{}], sessionID)
+ response = self._respond(star, sessionID)
+ return response
+
+ # <srai>
+ def _processSrai(self,elem, sessionID):
+ """Process a <srai> AIML element.
+
+ <srai> elements recursively process their contents, and then
+ pass the results right back into the AIML interpreter as a new
+ piece of input. The results of this new input string are
+ returned.
+
+ """
+ newInput = ""
+ for e in elem[2:]:
+ newInput += self._processElement(e, sessionID)
+ return self._respond(newInput, sessionID)
+
+ # <star>
+ def _processStar(self, elem, sessionID):
+ """Process a <star> AIML element.
+
+ Optional attribute elements:
+ index: Which "*" character in the current pattern should
+ be matched?
+
+ <star> elements return the text fragment matched by the "*"
+ character in the current input pattern. For example, if the
+ input "Hello Tom Smith, how are you?" matched the pattern
+ "HELLO * HOW ARE YOU", then a <star> element in the template
+ would evaluate to "Tom Smith".
+
+ """
+ try: index = int(elem[1]['index'])
+ except KeyError: index = 1
+ # fetch the user's last input
+ inputStack = self.getPredicate(self._inputStack, sessionID)
+ input = self._subbers['normal'].sub(inputStack[-1])
+ # fetch the Kernel's last response (for 'that' context)
+ outputHistory = self.getPredicate(self._outputHistory, sessionID)
+ try: that = self._subbers['normal'].sub(outputHistory[-1])
+ except: that = "" # there might not be any output yet
+ topic = self.getPredicate("topic", sessionID)
+ response = self._brain.star("star", input, that, topic, index)
+ return response
+
+ # <system>
+ def _processSystem(self,elem, sessionID):
+ """Process a <system> AIML element.
+
+ <system> elements process their contents recursively, and then
+ attempt to execute the results as a shell command on the
+ server. The AIML interpreter blocks until the command is
+ complete, and then returns the command's output.
+
+ For cross-platform compatibility, any file paths inside
+ <system> tags should use Unix-style forward slashes ("/") as a
+ directory separator.
+
+ """
+ # build up the command string
+ command = ""
+ for e in elem[2:]:
+ command += self._processElement(e, sessionID)
+
+ # normalize the path to the command. Under Windows, this
+ # switches forward-slashes to back-slashes; all system
+ # elements should use unix-style paths for cross-platform
+ # compatibility.
+ #executable,args = command.split(" ", 1)
+ #executable = os.path.normpath(executable)
+ #command = executable + " " + args
+ command = os.path.normpath(command)
+
+ # execute the command.
+ response = ""
+ try:
+ out = os.popen(command)
+ except RuntimeError, msg:
+ if self._verboseMode:
+ err = "WARNING: RuntimeError while processing \"system\" element:\n%s\n" % msg.encode(self._textEncoding, 'replace')
+ sys.stderr.write(err)
+ return "There was an error while computing my response. Please inform my botmaster."
+ for line in out:
+ response += line + "\n"
+ response = string.join(response.splitlines()).strip()
+ return response
+
+ # <template>
+ def _processTemplate(self,elem, sessionID):
+ """Process a <template> AIML element.
+
+ <template> elements recursively process their contents, and
+ return the results. <template> is the root node of any AIML
+ response tree.
+
+ """
+ response = ""
+ for e in elem[2:]:
+ response += self._processElement(e, sessionID)
+ return response
+
+ # text
+ def _processText(self,elem, sessionID):
+ """Process a raw text element.
+
+ Raw text elements aren't really AIML tags. Text elements cannot contain
+ other elements; instead, the third item of the 'elem' list is a text
+ string, which is immediately returned. They have a single attribute,
+ automatically inserted by the parser, which indicates whether whitespace
+ in the text should be preserved or not.
+
+ """
+ try: elem[2] + ""
+ except TypeError: raise TypeError, "Text element contents are not text"
+
+ # If the the whitespace behavior for this element is "default",
+ # we reduce all stretches of >1 whitespace characters to a single
+ # space. To improve performance, we do this only once for each
+ # text element encountered, and save the results for the future.
+ if elem[1]["xml:space"] == "default":
+ elem[2] = re.sub("\s+", " ", elem[2])
+ elem[1]["xml:space"] = "preserve"
+ return elem[2]
+
+ # <that>
+ def _processThat(self,elem, sessionID):
+ """Process a <that> AIML element.
+
+ Optional element attributes:
+ index: Specifies which element from the output history to
+ return. 1 is the most recent response, 2 is the next most
+ recent, and so on.
+
+ <that> elements (when they appear inside <template> elements)
+ are the output equivilant of <input> elements; they return one
+ of the Kernel's previous responses.
+
+ """
+ outputHistory = self.getPredicate(self._outputHistory, sessionID)
+ index = 1
+ try:
+ # According to the AIML spec, the optional index attribute
+ # can either have the form "x" or "x,y". x refers to how
+ # far back in the output history to go. y refers to which
+ # sentence of the specified response to return.
+ index = int(elem[1]['index'].split(',')[0])
+ except:
+ pass
+ try: return outputHistory[-index]
+ except IndexError:
+ if self._verboseMode:
+ err = "No such index %d while processing <that> element.\n" % index
+ sys.stderr.write(err)
+ return ""
+
+ # <thatstar>
+ def _processThatstar(self, elem, sessionID):
+ """Process a <thatstar> AIML element.
+
+ Optional element attributes:
+ index: Specifies which "*" in the <that> pattern to match.
+
+ <thatstar> elements are similar to <star> elements, except
+ that where <star/> returns the portion of the input string
+ matched by a "*" character in the pattern, <thatstar/> returns
+ the portion of the previous input string that was matched by a
+ "*" in the current category's <that> pattern.
+
+ """
+ try: index = int(elem[1]['index'])
+ except KeyError: index = 1
+ # fetch the user's last input
+ inputStack = self.getPredicate(self._inputStack, sessionID)
+ input = self._subbers['normal'].sub(inputStack[-1])
+ # fetch the Kernel's last response (for 'that' context)
+ outputHistory = self.getPredicate(self._outputHistory, sessionID)
+ try: that = self._subbers['normal'].sub(outputHistory[-1])
+ except: that = "" # there might not be any output yet
+ topic = self.getPredicate("topic", sessionID)
+ response = self._brain.star("thatstar", input, that, topic, index)
+ return response
+
+ # <think>
+ def _processThink(self,elem, sessionID):
+ """Process a <think> AIML element.
+
+ <think> elements process their contents recursively, and then
+ discard the results and return the empty string. They're
+ useful for setting predicates and learning AIML files without
+ generating any output.
+
+ """
+ for e in elem[2:]:
+ self._processElement(e, sessionID)
+ return ""
+
+ # <topicstar>
+ def _processTopicstar(self, elem, sessionID):
+ """Process a <topicstar> AIML element.
+
+ Optional element attributes:
+ index: Specifies which "*" in the <topic> pattern to match.
+
+ <topicstar> elements are similar to <star> elements, except
+ that where <star/> returns the portion of the input string
+ matched by a "*" character in the pattern, <topicstar/>
+ returns the portion of current topic string that was matched
+ by a "*" in the current category's <topic> pattern.
+
+ """
+ try: index = int(elem[1]['index'])
+ except KeyError: index = 1
+ # fetch the user's last input
+ inputStack = self.getPredicate(self._inputStack, sessionID)
+ input = self._subbers['normal'].sub(inputStack[-1])
+ # fetch the Kernel's last response (for 'that' context)
+ outputHistory = self.getPredicate(self._outputHistory, sessionID)
+ try: that = self._subbers['normal'].sub(outputHistory[-1])
+ except: that = "" # there might not be any output yet
+ topic = self.getPredicate("topic", sessionID)
+ response = self._brain.star("topicstar", input, that, topic, index)
+ return response
+
+ # <uppercase>
+ def _processUppercase(self,elem, sessionID):
+ """Process an <uppercase> AIML element.
+
+ <uppercase> elements process their contents recursively, and
+ return the results with all lower-case characters converted to
+ upper-case.
+
+ """
+ response = ""
+ for e in elem[2:]:
+ response += self._processElement(e, sessionID)
+ return string.upper(response)
+
+ # <version>
+ def _processVersion(self,elem, sessionID):
+ """Process a <version> AIML element.
+
+ <version> elements return the version number of the AIML
+ interpreter.
+
+ """
+ return self.version()
+
+
+##################################################
+### Self-test functions follow ###
+##################################################
+def _testTag(kern, tag, input, outputList):
+ """Tests 'tag' by feeding the Kernel 'input'. If the result
+ matches any of the strings in 'outputList', the test passes.
+
+ """
+ global _numTests, _numPassed
+ _numTests += 1
+ print "Testing <" + tag + ">:",
+ response = kern.respond(input).decode(kern._textEncoding)
+ if response in outputList:
+ print "PASSED"
+ _numPassed += 1
+ return True
+ else:
+ print "FAILED (response: '%s')" % response.encode(kern._textEncoding, 'replace')
+ return False
+
+if __name__ == "__main__":
+ # Run some self-tests
+ k = Kernel()
+ k.bootstrap(learnFiles="self-test.aiml")
+
+ global _numTests, _numPassed
+ _numTests = 0
+ _numPassed = 0
+
+ _testTag(k, 'bot', 'test bot', ["My name is Nameless"])
+
+ k.setPredicate('gender', 'male')
+ _testTag(k, 'condition test #1', 'test condition name value', ['You are handsome'])
+ k.setPredicate('gender', 'female')
+ _testTag(k, 'condition test #2', 'test condition name value', [''])
+ _testTag(k, 'condition test #3', 'test condition name', ['You are beautiful'])
+ k.setPredicate('gender', 'robot')
+ _testTag(k, 'condition test #4', 'test condition name', ['You are genderless'])
+ _testTag(k, 'condition test #5', 'test condition', ['You are genderless'])
+ k.setPredicate('gender', 'male')
+ _testTag(k, 'condition test #6', 'test condition', ['You are handsome'])
+
+ # the date test will occasionally fail if the original and "test"
+ # times cross a second boundary. There's no good way to avoid
+ # this problem and still do a meaningful test, so we simply
+ # provide a friendly message to be printed if the test fails.
+ date_warning = """
+ NOTE: the <date> test will occasionally report failure even if it
+ succeeds. So long as the response looks like a date/time string,
+ there's nothing to worry about.
+ """
+ if not _testTag(k, 'date', 'test date', ["The date is %s" % time.asctime()]):
+ print date_warning
+
+ _testTag(k, 'formal', 'test formal', ["Formal Test Passed"])
+ _testTag(k, 'gender', 'test gender', ["He'd told her he heard that her hernia is history"])
+ _testTag(k, 'get/set', 'test get and set', ["I like cheese. My favorite food is cheese"])
+ _testTag(k, 'gossip', 'test gossip', ["Gossip is not yet implemented"])
+ _testTag(k, 'id', 'test id', ["Your id is _global"])
+ _testTag(k, 'input', 'test input', ['You just said: test input'])
+ _testTag(k, 'javascript', 'test javascript', ["Javascript is not yet implemented"])
+ _testTag(k, 'lowercase', 'test lowercase', ["The Last Word Should Be lowercase"])
+ _testTag(k, 'person', 'test person', ['HE think i knows that my actions threaten him and his.'])
+ _testTag(k, 'person2', 'test person2', ['YOU think me know that my actions threaten you and yours.'])
+ _testTag(k, 'person2 (no contents)', 'test person2 I Love Lucy', ['YOU Love Lucy'])
+ _testTag(k, 'random', 'test random', ["response #1", "response #2", "response #3"])
+ _testTag(k, 'random empty', 'test random empty', ["Nothing here!"])
+ _testTag(k, 'sentence', "test sentence", ["My first letter should be capitalized."])
+ _testTag(k, 'size', "test size", ["I've learned %d categories" % k.numCategories()])
+ _testTag(k, 'sr', "test sr test srai", ["srai results: srai test passed"])
+ _testTag(k, 'sr nested', "test nested sr test srai", ["srai results: srai test passed"])
+ _testTag(k, 'srai', "test srai", ["srai test passed"])
+ _testTag(k, 'srai infinite', "test srai infinite", [""])
+ _testTag(k, 'star test #1', 'You should test star begin', ['Begin star matched: You should'])
+ _testTag(k, 'star test #2', 'test star creamy goodness middle', ['Middle star matched: creamy goodness'])
+ _testTag(k, 'star test #3', 'test star end the credits roll', ['End star matched: the credits roll'])
+ _testTag(k, 'star test #4', 'test star having multiple stars in a pattern makes me extremely happy',
+ ['Multiple stars matched: having, stars in a pattern, extremely happy'])
+ _testTag(k, 'system', "test system", ["The system says hello!"])
+ _testTag(k, 'that test #1', "test that", ["I just said: The system says hello!"])
+ _testTag(k, 'that test #2', "test that", ["I have already answered this question"])
+ _testTag(k, 'thatstar test #1', "test thatstar", ["I say beans"])
+ _testTag(k, 'thatstar test #2', "test thatstar", ["I just said \"beans\""])
+ _testTag(k, 'thatstar test #3', "test thatstar multiple", ['I say beans and franks for everybody'])
+ _testTag(k, 'thatstar test #4', "test thatstar multiple", ['Yes, beans and franks for all!'])
+ _testTag(k, 'think', "test think", [""])
+ k.setPredicate("topic", "fruit")
+ _testTag(k, 'topic', "test topic", ["We were discussing apples and oranges"])
+ k.setPredicate("topic", "Soylent Green")
+ _testTag(k, 'topicstar test #1', 'test topicstar', ["Solyent Green is made of people!"])
+ k.setPredicate("topic", "Soylent Ham and Cheese")
+ _testTag(k, 'topicstar test #2', 'test topicstar multiple', ["Both Soylents Ham and Cheese are made of people!"])
+ _testTag(k, 'unicode support', u"郧上好", [u"Hey, you speak Chinese! 郧上好"])
+ _testTag(k, 'uppercase', 'test uppercase', ["The Last Word Should Be UPPERCASE"])
+ _testTag(k, 'version', 'test version', ["PyAIML is version %s" % k.version()])
+ _testTag(k, 'whitespace preservation', 'test whitespace', ["Extra Spaces\n Rule! (but not in here!) But Here They Do!"])
+
+ # Report test results
+ print "--------------------"
+ if _numTests == _numPassed:
+ print "%d of %d tests passed!" % (_numPassed, _numTests)
+ else:
+ print "%d of %d tests passed (see above for detailed errors)" % (_numPassed, _numTests)
+
+ # Run an interactive interpreter
+ #print "\nEntering interactive mode (ctrl-c to exit)"
+ #while True: print k.respond(raw_input("> "))
diff --git a/Speak.activity/bot/aiml/PatternMgr.py b/Speak.activity/bot/aiml/PatternMgr.py
new file mode 100755
index 0000000..21b73f1
--- /dev/null
+++ b/Speak.activity/bot/aiml/PatternMgr.py
@@ -0,0 +1,329 @@
+# This class implements the AIML pattern-matching algorithm described
+# by Dr. Richard Wallace at the following site:
+# http://www.alicebot.org/documentation/matching.html
+
+import marshal
+import pprint
+import re
+import string
+import sys
+
+class PatternMgr:
+ # special dictionary keys
+ _UNDERSCORE = 0
+ _STAR = 1
+ _TEMPLATE = 2
+ _THAT = 3
+ _TOPIC = 4
+ _BOT_NAME = 5
+
+ def __init__(self):
+ self._root = {}
+ self._templateCount = 0
+ self._botName = u"Nameless"
+ punctuation = "\"`~!@#$%^&*()-_=+[{]}\|;:',<.>/?"
+ self._puncStripRE = re.compile("[" + re.escape(punctuation) + "]")
+ self._whitespaceRE = re.compile("\s", re.LOCALE | re.UNICODE)
+
+ def numTemplates(self):
+ """Return the number of templates currently stored."""
+ return self._templateCount
+
+ def setBotName(self, name):
+ """Set the name of the bot, used to match <bot name="name"> tags in
+ patterns. The name must be a single word!
+
+ """
+ # Collapse a multi-word name into a single word
+ self._botName = unicode(string.join(name.split()))
+
+ def dump(self):
+ """Print all learned patterns, for debugging purposes."""
+ pprint.pprint(self._root)
+
+ def save(self, filename):
+ """Dump the current patterns to the file specified by filename. To
+ restore later, use restore().
+
+ """
+ try:
+ outFile = open(filename, "wb")
+ marshal.dump(self._templateCount, outFile)
+ marshal.dump(self._botName, outFile)
+ marshal.dump(self._root, outFile)
+ outFile.close()
+ except Exception, e:
+ print "Error saving PatternMgr to file %s:" % filename
+ raise Exception, e
+
+ def restore(self, filename):
+ """Restore a previously save()d collection of patterns."""
+ try:
+ inFile = open(filename, "rb")
+ self._templateCount = marshal.load(inFile)
+ self._botName = marshal.load(inFile)
+ self._root = marshal.load(inFile)
+ inFile.close()
+ except Exception, e:
+ print "Error restoring PatternMgr from file %s:" % filename
+ raise Exception, e
+
+ def add(self, (pattern,that,topic), template):
+ """Add a [pattern/that/topic] tuple and its corresponding template
+ to the node tree.
+
+ """
+ # TODO: make sure words contains only legal characters
+ # (alphanumerics,*,_)
+
+ # Navigate through the node tree to the template's location, adding
+ # nodes if necessary.
+ node = self._root
+ for word in string.split(pattern):
+ key = word
+ if key == u"_":
+ key = self._UNDERSCORE
+ elif key == u"*":
+ key = self._STAR
+ elif key == u"BOT_NAME":
+ key = self._BOT_NAME
+ if not node.has_key(key):
+ node[key] = {}
+ node = node[key]
+
+ # navigate further down, if a non-empty "that" pattern was included
+ if len(that) > 0:
+ if not node.has_key(self._THAT):
+ node[self._THAT] = {}
+ node = node[self._THAT]
+ for word in string.split(that):
+ key = word
+ if key == u"_":
+ key = self._UNDERSCORE
+ elif key == u"*":
+ key = self._STAR
+ if not node.has_key(key):
+ node[key] = {}
+ node = node[key]
+
+ # navigate yet further down, if a non-empty "topic" string was included
+ if len(topic) > 0:
+ if not node.has_key(self._TOPIC):
+ node[self._TOPIC] = {}
+ node = node[self._TOPIC]
+ for word in string.split(topic):
+ key = word
+ if key == u"_":
+ key = self._UNDERSCORE
+ elif key == u"*":
+ key = self._STAR
+ if not node.has_key(key):
+ node[key] = {}
+ node = node[key]
+
+
+ # add the template.
+ if not node.has_key(self._TEMPLATE):
+ self._templateCount += 1
+ node[self._TEMPLATE] = template
+
+ def match(self, pattern, that, topic):
+ """Return the template which is the closest match to pattern. The
+ 'that' parameter contains the bot's previous response. The 'topic'
+ parameter contains the current topic of conversation.
+
+ Returns None if no template is found.
+
+ """
+ if len(pattern) == 0:
+ return None
+ # Mutilate the input. Remove all punctuation and convert the
+ # text to all caps.
+ input = string.upper(pattern)
+ input = re.sub(self._puncStripRE, "", input)
+ if that.strip() == u"": that = u"ULTRABOGUSDUMMYTHAT" # 'that' must never be empty
+ thatInput = string.upper(that)
+ thatInput = re.sub(self._whitespaceRE, " ", thatInput)
+ thatInput = re.sub(self._puncStripRE, "", thatInput)
+ if topic.strip() == u"": topic = u"ULTRABOGUSDUMMYTOPIC" # 'topic' must never be empty
+ topicInput = string.upper(topic)
+ topicInput = re.sub(self._puncStripRE, "", topicInput)
+
+ # Pass the input off to the recursive call
+ patMatch, template = self._match(input.split(), thatInput.split(), topicInput.split(), self._root)
+ return template
+
+ def star(self, starType, pattern, that, topic, index):
+ """Returns a string, the portion of pattern that was matched by a *.
+
+ The 'starType' parameter specifies which type of star to find.
+ Legal values are:
+ - 'star': matches a star in the main pattern.
+ - 'thatstar': matches a star in the that pattern.
+ - 'topicstar': matches a star in the topic pattern.
+
+ """
+ # Mutilate the input. Remove all punctuation and convert the
+ # text to all caps.
+ input = string.upper(pattern)
+ input = re.sub(self._puncStripRE, "", input)
+ if that.strip() == u"": that = u"ULTRABOGUSDUMMYTHAT" # 'that' must never be empty
+ thatInput = string.upper(that)
+ thatInput = re.sub(self._whitespaceRE, " ", thatInput)
+ thatInput = re.sub(self._puncStripRE, "", thatInput)
+ if topic.strip() == u"": topic = u"ULTRABOGUSDUMMYTOPIC" # 'topic' must never be empty
+ topicInput = string.upper(topic)
+ topicInput = re.sub(self._puncStripRE, "", topicInput)
+
+ # Pass the input off to the recursive pattern-matcher
+ patMatch, template = self._match(input.split(), thatInput.split(), topicInput.split(), self._root)
+ if template == None:
+ return ""
+
+ # Extract the appropriate portion of the pattern, based on the
+ # starType argument.
+ words = None
+ if starType == 'star':
+ patMatch = patMatch[:patMatch.index(self._THAT)]
+ words = input.split()
+ elif starType == 'thatstar':
+ patMatch = patMatch[patMatch.index(self._THAT)+1 : patMatch.index(self._TOPIC)]
+ words = thatInput.split()
+ elif starType == 'topicstar':
+ patMatch = patMatch[patMatch.index(self._TOPIC)+1 :]
+ words = topicInput.split()
+ else:
+ # unknown value
+ raise ValueError, "starType must be in ['star', 'thatstar', 'topicstar']"
+
+ # compare the input string to the matched pattern, word by word.
+ # At the end of this loop, if foundTheRightStar is true, start and
+ # end will contain the start and end indices (in "words") of
+ # the substring that the desired star matched.
+ foundTheRightStar = False
+ start = end = j = numStars = k = 0
+ for i in range(len(words)):
+ # This condition is true after processing a star
+ # that ISN'T the one we're looking for.
+ if i < k:
+ continue
+ # If we're reached the end of the pattern, we're done.
+ if j == len(patMatch):
+ break
+ if not foundTheRightStar:
+ if patMatch[j] in [self._STAR, self._UNDERSCORE]: #we got a star
+ numStars += 1
+ if numStars == index:
+ # This is the star we care about.
+ foundTheRightStar = True
+ start = i
+ # Iterate through the rest of the string.
+ for k in range (i, len(words)):
+ # If the star is at the end of the pattern,
+ # we know exactly where it ends.
+ if j+1 == len (patMatch):
+ end = len (words)
+ break
+ # If the words have started matching the
+ # pattern again, the star has ended.
+ if patMatch[j+1] == words[k]:
+ end = k - 1
+ i = k
+ break
+ # If we just finished processing the star we cared
+ # about, we exit the loop early.
+ if foundTheRightStar:
+ break
+ # Move to the next element of the pattern.
+ j += 1
+
+ # extract the star words from the original, unmutilated input.
+ if foundTheRightStar:
+ #print string.join(pattern.split()[start:end+1])
+ if starType == 'star': return string.join(pattern.split()[start:end+1])
+ elif starType == 'thatstar': return string.join(that.split()[start:end+1])
+ elif starType == 'topicstar': return string.join(topic.split()[start:end+1])
+ else: return ""
+
+ def _match(self, words, thatWords, topicWords, root):
+ """Return a tuple (pat, tem) where pat is a list of nodes, starting
+ at the root and leading to the matching pattern, and tem is the
+ matched template.
+
+ """
+ # base-case: if the word list is empty, return the current node's
+ # template.
+ if len(words) == 0:
+ # we're out of words.
+ pattern = []
+ template = None
+ if len(thatWords) > 0:
+ # If thatWords isn't empty, recursively
+ # pattern-match on the _THAT node with thatWords as words.
+ try:
+ pattern, template = self._match(thatWords, [], topicWords, root[self._THAT])
+ if pattern != None:
+ pattern = [self._THAT] + pattern
+ except KeyError:
+ pattern = []
+ template = None
+ elif len(topicWords) > 0:
+ # If thatWords is empty and topicWords isn't, recursively pattern
+ # on the _TOPIC node with topicWords as words.
+ try:
+ pattern, template = self._match(topicWords, [], [], root[self._TOPIC])
+ if pattern != None:
+ pattern = [self._TOPIC] + pattern
+ except KeyError:
+ pattern = []
+ template = None
+ if template == None:
+ # we're totally out of input. Grab the template at this node.
+ pattern = []
+ try: template = root[self._TEMPLATE]
+ except KeyError: template = None
+ return (pattern, template)
+
+ first = words[0]
+ suffix = words[1:]
+
+ # Check underscore.
+ # Note: this is causing problems in the standard AIML set, and is
+ # currently disabled.
+ if root.has_key(self._UNDERSCORE):
+ # Must include the case where suf is [] in order to handle the case
+ # where a * or _ is at the end of the pattern.
+ for j in range(len(suffix)+1):
+ suf = suffix[j:]
+ pattern, template = self._match(suf, thatWords, topicWords, root[self._UNDERSCORE])
+ if template is not None:
+ newPattern = [self._UNDERSCORE] + pattern
+ return (newPattern, template)
+
+ # Check first
+ if root.has_key(first):
+ pattern, template = self._match(suffix, thatWords, topicWords, root[first])
+ if template is not None:
+ newPattern = [first] + pattern
+ return (newPattern, template)
+
+ # check bot name
+ if root.has_key(self._BOT_NAME) and first == self._botName:
+ pattern, template = self._match(suffix, thatWords, topicWords, root[self._BOT_NAME])
+ if template is not None:
+ newPattern = [first] + pattern
+ return (newPattern, template)
+
+ # check star
+ if root.has_key(self._STAR):
+ # Must include the case where suf is [] in order to handle the case
+ # where a * or _ is at the end of the pattern.
+ for j in range(len(suffix)+1):
+ suf = suffix[j:]
+ pattern, template = self._match(suf, thatWords, topicWords, root[self._STAR])
+ if template is not None:
+ newPattern = [self._STAR] + pattern
+ return (newPattern, template)
+
+ # No matches were found.
+ return (None, None) \ No newline at end of file
diff --git a/Speak.activity/bot/aiml/Utils.py b/Speak.activity/bot/aiml/Utils.py
new file mode 100755
index 0000000..75e5a1c
--- /dev/null
+++ b/Speak.activity/bot/aiml/Utils.py
@@ -0,0 +1,32 @@
+"""This file contains assorted general utility functions used by other
+modules in the PyAIML package.
+
+"""
+
+def sentences(s):
+ """Split the string s into a list of sentences."""
+ try: s+""
+ except: raise TypeError, "s must be a string"
+ pos = 0
+ sentenceList = []
+ l = len(s)
+ while pos < l:
+ try: p = s.index('.', pos)
+ except: p = l+1
+ try: q = s.index('?', pos)
+ except: q = l+1
+ try: e = s.index('!', pos)
+ except: e = l+1
+ end = min(p,q,e)
+ sentenceList.append( s[pos:end].strip() )
+ pos = end+1
+ # If no sentences were found, return a one-item list containing
+ # the entire input string.
+ if len(sentenceList) == 0: sentenceList.append(s)
+ return sentenceList
+
+# Self test
+if __name__ == "__main__":
+ # sentences
+ sents = sentences("First. Second, still? Third and Final! Well, not really")
+ assert(len(sents) == 4) \ No newline at end of file
diff --git a/Speak.activity/bot/aiml/WordSub.py b/Speak.activity/bot/aiml/WordSub.py
new file mode 100755
index 0000000..9cae856
--- /dev/null
+++ b/Speak.activity/bot/aiml/WordSub.py
@@ -0,0 +1,95 @@
+"""This module implements the WordSub class, modelled after a recipe
+in "Python Cookbook" (Recipe 3.14, "Replacing Multiple Patterns in a
+Single Pass" by Xavier Defrang).
+
+Usage:
+Use this class like a dictionary to add before/after pairs:
+ > subber = TextSub()
+ > subber["before"] = "after"
+ > subber["begin"] = "end"
+Use the sub() method to perform the substitution:
+ > print subber.sub("before we begin")
+ after we end
+All matching is intelligently case-insensitive:
+ > print subber.sub("Before we BEGIN")
+ After we END
+The 'before' words must be complete words -- no prefixes.
+The following example illustrates this point:
+ > subber["he"] = "she"
+ > print subber.sub("he says he'd like to help her")
+ she says she'd like to help her
+Note that "he" and "he'd" were replaced, but "help" and "her" were
+not.
+"""
+
+# 'dict' objects weren't available to subclass from until version 2.2.
+# Get around this by importing UserDict.UserDict if the built-in dict
+# object isn't available.
+try: dict
+except: from UserDict import UserDict as dict
+
+import ConfigParser
+import re
+import string
+
+class WordSub(dict):
+ """All-in-one multiple-string-substitution class."""
+
+ def _wordToRegex(self, word):
+ """Convert a word to a regex object which matches the word."""
+ return r"\b%s\b" % re.escape(word)
+
+ def _update_regex(self):
+ """Build re object based on the keys of the current
+ dictionary.
+
+ """
+ self._regex = re.compile("|".join(map(self._wordToRegex, self.keys())))
+ self._regexIsDirty = False
+
+ def __init__(self, defaults = {}):
+ """Initialize the object, and populate it with the entries in
+ the defaults dictionary.
+
+ """
+ self._regex = None
+ self._regexIsDirty = True
+ for k,v in defaults.items():
+ self[k] = v
+
+ def __call__(self, match):
+ """Handler invoked for each regex match."""
+ return self[match.group(0)]
+
+ def __setitem__(self, i, y):
+ self._regexIsDirty = True
+ # for each entry the user adds, we actually add three entrys:
+ super(type(self),self).__setitem__(string.lower(i),string.lower(y)) # key = value
+ super(type(self),self).__setitem__(string.capwords(i), string.capwords(y)) # Key = Value
+ super(type(self),self).__setitem__(string.upper(i), string.upper(y)) # KEY = VALUE
+
+ def sub(self, text):
+ """Translate text, returns the modified text."""
+ if self._regexIsDirty:
+ self._update_regex()
+ return self._regex.sub(self, text)
+
+# self-test
+if __name__ == "__main__":
+ subber = WordSub()
+ subber["apple"] = "banana"
+ subber["orange"] = "pear"
+ subber["banana" ] = "apple"
+ subber["he"] = "she"
+ subber["I'd"] = "I would"
+
+ # test case insensitivity
+ inStr = "I'd like one apple, one Orange and one BANANA."
+ outStr = "I Would like one banana, one Pear and one APPLE."
+ if subber.sub(inStr) == outStr: print "Test #1 PASSED"
+ else: print "Test #1 FAILED: '%s'" % subber.sub(inStr)
+
+ inStr = "He said he'd like to go with me"
+ outStr = "She said she'd like to go with me"
+ if subber.sub(inStr) == outStr: print "Test #2 PASSED"
+ else: print "Test #2 FAILED: '%s'" % subber.sub(inStr) \ No newline at end of file
diff --git a/Speak.activity/bot/aiml/__init__.py b/Speak.activity/bot/aiml/__init__.py
new file mode 100755
index 0000000..75e188d
--- /dev/null
+++ b/Speak.activity/bot/aiml/__init__.py
@@ -0,0 +1,4 @@
+__all__ = []
+
+# The Kernel class is the only class most implementations should need.
+from Kernel import Kernel
diff --git a/Speak.activity/bot/aiml/self-test.aiml b/Speak.activity/bot/aiml/self-test.aiml
new file mode 100755
index 0000000..8ad0ee1
--- /dev/null
+++ b/Speak.activity/bot/aiml/self-test.aiml
@@ -0,0 +1,270 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+This file contains some simple AIML categories designed to test the Python
+AIML interpreter kernel. Do not make any modifications to this file without
+updating the tests in Kernel.py!
+-->
+
+<aiml version="1.0.1" xmlns:aiml="http://alicebot.org/2001/AIML-1.0.1">
+<!-- bot -->
+<category>
+<pattern>TEST BOT</pattern>
+<template>My name is <bot name="name"/></template>
+</category>
+
+<!-- condition -->
+<category>
+<pattern>TEST CONDITION NAME VALUE</pattern>
+<template>
+<condition name="gender" value="male">You are handsome</condition>
+</template>
+</category>
+<category>
+<pattern>TEST CONDITION NAME</pattern>
+<template>
+ <condition name="gender">
+ <li value="male">You are handsome</li>
+ <li value="female">You are beautiful</li>
+ <li>You are genderless</li>
+ </condition>
+</template>
+</category>
+<category>
+<pattern>TEST CONDITION</pattern>
+<template>
+ <condition>
+ <li name="gender" value="male">You are handsome</li>
+ <li name="gender" value="female">You are beautiful</li>
+ <li>You are genderless</li>
+ </condition>
+</template>
+</category>
+
+<!-- date -->
+<category>
+<pattern>TEST DATE</pattern>
+<template>The date is <date/></template>
+</category>
+ <!-- formal --> <category> <pattern>TEST FORMAL</pattern> <template><formal>formal test passed</formal></template> </category>
+<!-- gender -->
+<category>
+<pattern>TEST GENDER</pattern>
+<template><gender>She'd told him she heard that his hernia is history</gender></template>
+</category>
+
+<!-- get/set -->
+<category>
+<pattern>TEST GET AND SET</pattern>
+<template>I like <set name="food">cheese</set>. My favorite food is <get name="food"/></template>
+</category>
+
+<!-- gossip -->
+<category>
+<pattern>TEST GOSSIP</pattern>
+<template>Gossip is not yet implemented<gossip>stuff</gossip></template>
+</category>
+
+<!-- id -->
+<category>
+<pattern>TEST ID</pattern>
+<template>Your id is <id/></template>
+</category>
+
+<!-- input -->
+<category>
+<pattern>TEST INPUT</pattern>
+<template>You just said: <input index="1"/></template>
+</category>
+
+<!-- javascript -->
+<category>
+<pattern>TEST JAVASCRIPT</pattern>
+<template>Javascript is not yet implemented<javascript>var stuff</javascript></template>
+</category>
+
+<!-- lowercase --> <category> <pattern>TEST LOWERCASE</pattern> <template>The Last Word Should Be <lowercase>Lowercase</lowercase></template> </category>
+
+<!-- person -->
+<category>
+<pattern>TEST PERSON</pattern>
+<template><person>I think he knows that his actions threaten me and mine.</person></template>
+</category>
+
+<!-- person2 -->
+<category>
+<pattern>TEST PERSON2</pattern>
+<template><person2>I think you know that your actions threaten me and mine.</person2></template>
+</category>
+<category>
+<pattern>TEST PERSON2 *</pattern>
+<template><person2/></template>
+</category>
+ <!-- random -->
+<category>
+<pattern>TEST RANDOM</pattern>
+<template>
+<random>
+ <li>response #1</li>
+ <li>response #2</li>
+ <li>response #3</li>
+</random>
+</template>
+</category>
+<category>
+<pattern>TEST RANDOM EMPTY</pattern>
+<template>
+Nothing <random></random>here!
+</template>
+</category>
+
+<!-- sentence -->
+<category>
+<pattern>TEST SENTENCE</pattern>
+<template>
+<sentence>my first letter should be capitalized.</sentence>
+</template>
+</category>
+
+<!-- size -->
+<category>
+<pattern>TEST SIZE</pattern>
+<template>I've learned <size/> categories</template>
+</category>
+
+<!-- sr -->
+<category>
+<pattern>TEST SR *</pattern>
+<template>srai results: <sr/></template>
+</category>
+<category>
+<pattern>TEST NESTED SR *</pattern>
+<template><srai>test sr <star/></srai></template>
+</category>
+
+<!-- srai -->
+<category>
+<pattern>SRAI TARGET</pattern>
+<template>srai test passed</template>
+</category> <category>
+<pattern>TEST SRAI</pattern>
+<template><srai>srai target</srai></template>
+</category>
+<category>
+<pattern>TEST SRAI INFINITE</pattern>
+<template><srai>test srai infinite</srai></template>
+</category>
+
+<!-- star -->
+<category>
+<pattern>* TEST STAR BEGIN</pattern>
+<template>Begin star matched: <star/></template>
+</category>
+<category>
+<pattern>TEST STAR * MIDDLE</pattern>
+<template>Middle star matched: <star/></template>
+</category>
+<category>
+<pattern>TEST STAR END *</pattern>
+<template>End star matched: <star/></template>
+</category>
+<category>
+<pattern>TEST STAR * MULTIPLE * MAKES ME *</pattern>
+<template>Multiple stars matched: <star index="1"/>, <star index="2"/>, <star index="3"/></template>
+</category>
+
+
+
+<!-- system -->
+<category>
+<pattern>TEST SYSTEM</pattern>
+<template>The system says <system>echo hello</system>!</template>
+</category>
+
+<!-- that -->
+<category>
+<pattern>TEST THAT</pattern>
+<template>I just said: <that index="1,1"/></template>
+</category>
+<category>
+<pattern>TEST THAT</pattern>
+<that>I JUST SAID *</that>
+<template>I have already answered this question</template>
+</category>
+
+<!-- thatstar -->
+<category>
+<pattern>TEST THATSTAR</pattern>
+<template>I say beans</template>
+</category>
+<category>
+<pattern>TEST THATSTAR</pattern>
+<that>I SAY *</that>
+<template>I just said "<thatstar/>"</template>
+</category>
+<category>
+<pattern>TEST THATSTAR MULTIPLE</pattern>
+<template>I say beans and franks for everybody</template>
+</category>
+<category>
+<pattern>TEST THATSTAR MULTIPLE</pattern>
+<that>I SAY * AND * FOR EVERYBODY</that>
+<template>Yes, <thatstar index="1"/> and <thatstar index="2"/> for all!</template>
+</category>
+
+
+<!-- think -->
+<category>
+<pattern>TEST THINK</pattern>
+<template><think>You should not see this response.</think></template>
+</category>
+
+<!-- topic -->
+<category>
+<pattern>TEST TOPIC</pattern>
+<template>What are we talking about?</template>
+</category>
+<topic name="FRUIT">
+<category>
+<pattern>TEST TOPIC</pattern>
+<template>We were discussing apples and oranges</template>
+</category>
+</topic>
+
+<!-- topicstar -->
+<category>
+<pattern>TEST TOPICSTAR</pattern>
+<template>I have no topic</template>
+</category>
+<topic name="SOYLENT *">
+<category>
+<pattern>TEST TOPICSTAR</pattern>
+<template>Solyent <topicstar/> is made of people!</template>
+</category>
+</topic>
+<topic name="SOYLENT * AND *">
+<category>
+<pattern>TEST TOPICSTAR MULTIPLE</pattern>
+<template>Both Soylents <topicstar index="1"/> and <topicstar index="2"/> are made of people!</template>
+</category>
+</topic>
+
+<!-- uppercase --> <category> <pattern>TEST UPPERCASE</pattern> <template>The Last Word Should Be <uppercase>Uppercase</uppercase></template> </category>
+
+<!-- version --> <category> <pattern>TEST VERSION</pattern> <template>PyAIML is version <version/></template> </category>
+
+<!-- unicode support -->
+<category>
+<pattern>郧上好</pattern>
+<template>Hey, you speak Chinese! 郧上好</template>
+</category>
+
+<!-- whitespace preservation -->
+<category>
+<pattern>TEST WHITESPACE</pattern>
+<template xml:space="preserve">Extra Spaces
+ Rule! <lowercase xml:space="default">(but not <set name="ignored">in
+ here!</set>)
+ </lowercase> But <set name="ignored">Here They</set> Do!</template>
+</category>
+
+</aiml> \ No newline at end of file
diff --git a/Speak.activity/bot/alice.brn b/Speak.activity/bot/alice.brn
new file mode 100644
index 0000000..32b7a50
--- /dev/null
+++ b/Speak.activity/bot/alice.brn
Binary files differ
diff --git a/Speak.activity/bot/alice/1.aiml b/Speak.activity/bot/alice/1.aiml
new file mode 100644
index 0000000..575336a
--- /dev/null
+++ b/Speak.activity/bot/alice/1.aiml
@@ -0,0 +1,123 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<aiml>
+<!-- Free software (c) 2001 ALICE A.I. Foundation. -->
+<!-- This program is open source code released under -->
+<!-- the terms of the GNU General Public License -->
+<!-- as published by the Free Software Foundation. -->
+<!-- Complies with AIML 1.0 Tag Set Specification -->
+<!-- as adopted by the ALICE A.I. Foundation. -->
+<!-- A.L.I.C.E. Build Wed Sep 26 13:05:06 PDT 2001 -->
+<!-- 41124 total categories. -->
+<category>
+<pattern>1 *</pattern>
+<template>One what?
+</template></category>
+<category>
+<pattern>1 0</pattern>
+<template>One.
+</template></category>
+<category>
+<pattern>1</pattern>
+<template>Only one?
+</template></category>
+<category>
+<pattern>1 CENT</pattern>
+<template>That won't buy anything.
+</template></category>
+<category>
+<pattern>1 DOLLAR</pattern>
+<template>You can't buy much for a dollar anymore.
+</template></category>
+<category>
+<pattern>1 OR 2</pattern>
+<template>A couple.
+</template></category>
+<category>
+<pattern>1 POINT *</pattern>
+<template>That's more precision than I need to know.
+</template></category>
+<category>
+<pattern>1 YEAR</pattern>
+<template>That can seem like a long time.
+</template></category>
+<category>
+<pattern>10 *</pattern>
+<template><srai>WHAT IS 10 <star/> </srai>
+</template></category>
+<category>
+<pattern>10</pattern>
+<template><srai>I AM 10 YEARS OLD</srai>
+</template></category>
+<category>
+<pattern>100 *</pattern><that>HOW MUCH *</that>
+<template>Wow that is <random>
+<li>expensive.</li>
+<li>a lot of money.</li>
+<li>more than I have.</li>
+</random>
+</template></category>
+<category>
+<pattern>100 PERSON</pattern>
+<template><srai>WHO IS 100 PERSON</srai>
+</template></category>
+<category>
+<pattern>11</pattern>
+<template><srai>I am 11 years old</srai>
+</template></category>
+<category>
+<pattern>12</pattern>
+<template><srai>I am 12 years old</srai>
+</template></category>
+<category>
+<pattern>123456789</pattern>
+<template>Ten.
+</template></category>
+<category>
+<pattern>13 *</pattern>
+<template><srai>I am 13 years old</srai>
+</template></category>
+<category>
+<pattern>13</pattern>
+<template><srai>I am 13 years old</srai>
+</template></category>
+<category>
+<pattern>14 *</pattern>
+<template><srai>I am 14 years old</srai>
+</template></category>
+<category>
+<pattern>14</pattern>
+<template><srai>I am 14 years old</srai>
+</template></category>
+<category>
+<pattern>15</pattern>
+<template><srai>I am 15 years old</srai>
+</template></category>
+<category>
+<pattern>153</pattern>
+<template>One hundred fifty three.
+</template></category>
+<category>
+<pattern>16</pattern>
+<template><srai>I am 16 years old</srai>
+</template></category>
+<category>
+<pattern>17</pattern>
+<template><srai>I am 17 years old</srai>
+</template></category>
+<category>
+<pattern>18</pattern>
+<template><srai>I AM 18 YEARS OLD</srai>
+</template></category>
+<category>
+<pattern>184</pattern>
+<template><srai>WHO IS 184 PERSON</srai>
+</template></category>
+<category>
+<pattern>19</pattern>
+<template><srai>I AM 19 YEARS OLD</srai>
+</template></category>
+<category>
+<pattern>1999</pattern>
+<template>This year.
+</template></category>
+</aiml>
diff --git a/Speak.activity/bot/alice/2.aiml b/Speak.activity/bot/alice/2.aiml
new file mode 100644
index 0000000..ba3016e
--- /dev/null
+++ b/Speak.activity/bot/alice/2.aiml
@@ -0,0 +1,119 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<aiml>
+<!-- Free software (c) 2001 ALICE A.I. Foundation. -->
+<!-- This program is open source code released under -->
+<!-- the terms of the GNU General Public License -->
+<!-- as published by the Free Software Foundation. -->
+<!-- Complies with AIML 1.0 Tag Set Specification -->
+<!-- as adopted by the ALICE A.I. Foundation. -->
+<!-- A.L.I.C.E. Build Wed Sep 26 13:05:06 PDT 2001 -->
+<!-- 41124 total categories. -->
+<category>
+<pattern>2 *</pattern>
+<template>As Bertrand Russel said, it must have taken ages for people to realize that a brace of pheasants and a couple of days are both instances of the number "two."
+</template></category>
+<category>
+<pattern>2 2</pattern>
+<template>Uh, Four.
+</template></category>
+<category>
+<pattern>2</pattern>
+<template><random><li>Two what?</li><li>Two.</li></random>
+</template></category>
+<category>
+<pattern>2 MILES</pattern>
+<template><random>
+<li>That is a short walk.</li>
+<li>That is far in height.</li>
+<li>What is that in metric?</li>
+</random>
+</template></category>
+<category>
+<pattern>2 PLUS *</pattern>
+<template><srai>WHAT IS 2 PLUS <star/></srai>
+</template></category>
+<category>
+<pattern>2 PLUS 2</pattern>
+<template>4
+</template></category>
+<category>
+<pattern>2 TIMES</pattern>
+<template><srai>TWICE</srai>
+</template></category>
+<category>
+<pattern>20 *</pattern>
+<template><srai>I AM 20 YEARS OLD</srai>
+</template></category>
+<category>
+<pattern>20</pattern>
+<template><srai>I AM 20 YEARS OLD</srai>
+</template></category>
+<category>
+<pattern>2000</pattern>
+<template>Next year.
+</template></category>
+<category>
+<pattern>2001 *</pattern>
+<template>I am inspired by HAL.
+</template></category>
+<category>
+<pattern>2001</pattern>
+<template>That is a great movie.
+</template></category>
+<category>
+<pattern>2009</pattern>
+<template>In ten years.
+</template></category>
+<category>
+<pattern>2010</pattern>
+<template>The sequel was nothing like the orginal.
+</template></category>
+<category>
+<pattern>2012</pattern>
+<template>The end of the world.
+</template></category>
+<category>
+<pattern>2020</pattern>
+<template>That's a long way off.
+</template></category>
+<category>
+<pattern>206</pattern>
+<template><srai>WHO IS 206 PERSON</srai>
+</template></category>
+<category>
+<pattern>21</pattern>
+<template><srai>I AM 21 YEARS OLD</srai>
+</template></category>
+<category>
+<pattern>22</pattern>
+<template><srai>I AM 22 YEARS OLD</srai>
+</template></category>
+<category>
+<pattern>23</pattern>
+<template>Skidoo. <srai>I AM 23 YEARS OLD</srai>
+</template></category>
+<category>
+<pattern>24</pattern>
+<template><srai>I AM 24 YEARS OLD</srai>
+</template></category>
+<category>
+<pattern>25</pattern>
+<template><srai>I AM 25 YEARS OLD</srai>
+</template></category>
+<category>
+<pattern>26</pattern>
+<template><srai>I AM 26 YEARS OLD</srai>
+</template></category>
+<category>
+<pattern>27</pattern>
+<template><srai>I AM 27 YEARS OLD</srai>
+</template></category>
+<category>
+<pattern>28</pattern>
+<template><srai>I AM 28 YEARS OLD</srai>
+</template></category>
+<category>
+<pattern>29</pattern>
+<template><srai>I AM 29 YEARS OLD</srai>
+</template></category>
+</aiml>
diff --git a/Speak.activity/bot/alice/3.aiml b/Speak.activity/bot/alice/3.aiml
new file mode 100644
index 0000000..ddd506e
--- /dev/null
+++ b/Speak.activity/bot/alice/3.aiml
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<aiml>
+<!-- Free software (c) 2001 ALICE A.I. Foundation. -->
+<!-- This program is open source code released under -->
+<!-- the terms of the GNU General Public License -->
+<!-- as published by the Free Software Foundation. -->
+<!-- Complies with AIML 1.0 Tag Set Specification -->
+<!-- as adopted by the ALICE A.I. Foundation. -->
+<!-- A.L.I.C.E. Build Wed Sep 26 13:05:06 PDT 2001 -->
+<!-- 41124 total categories. -->
+<category>
+<pattern>3 *</pattern>
+<template>Just three?
+</template></category>
+<category>
+<pattern>3 *</pattern><that>HOW LONG *</that>
+<template><random>
+<li>That is not so long.</li>
+<li>It could be longer.</li>
+<li>It seems longer than it is.</li>
+</random>
+</template></category>
+<category>
+<pattern>3 *</pattern><that>WHAT TIME IS IT THERE</that>
+<template>I like to be awake at 3 <person/> too.
+</template></category>
+<category>
+<pattern>3</pattern>
+<template>Three what?
+</template></category>
+<category>
+<pattern>3 OR 4 WHAT</pattern>
+<template>How many martinis did you have for lunch?
+</template></category>
+<category>
+<pattern>30</pattern>
+<template><srai>I am 30 years old</srai>
+</template></category>
+<category>
+<pattern>30 MINUTEN</pattern>
+<template>Ok, eine halbe Stunde.
+</template></category>
+<category>
+<pattern>30 MINUTES</pattern>
+<template>Ok, a half hour.
+</template></category>
+<category>
+<pattern>32</pattern>
+<template><srai>I AM 32 YEARS OLD</srai>
+</template></category>
+</aiml>
diff --git a/Speak.activity/bot/alice/4.aiml b/Speak.activity/bot/alice/4.aiml
new file mode 100644
index 0000000..8904461
--- /dev/null
+++ b/Speak.activity/bot/alice/4.aiml
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<aiml>
+<!-- Free software (c) 2001 ALICE A.I. Foundation. -->
+<!-- This program is open source code released under -->
+<!-- the terms of the GNU General Public License -->
+<!-- as published by the Free Software Foundation. -->
+<!-- Complies with AIML 1.0 Tag Set Specification -->
+<!-- as adopted by the ALICE A.I. Foundation. -->
+<!-- A.L.I.C.E. Build Wed Sep 26 13:05:06 PDT 2001 -->
+<!-- 41124 total categories. -->
+<category>
+<pattern>4 *</pattern>
+<template>Is this a math question?
+</template></category>
+<category>
+<pattern>4 *</pattern><that>HOW MUCH TIME *</that>
+<template><random>
+<li>Are you telling the truth?</li>
+<li>That seems like a long time.</li>
+<li>Only four?</li>
+</random>
+</template></category>
+<category>
+<pattern>4</pattern>
+<template>Oh four.
+</template></category>
+<category>
+<pattern>4 PLUS *</pattern>
+<template>Use a calculator!
+</template></category>
+<category>
+<pattern>4 TIMES *</pattern>
+<template><srai>WHAT IS 4 TIMES <star/></srai>
+</template></category>
+<category>
+<pattern>4 YEARS</pattern>
+<template>That is not a long time in a human life.
+</template></category>
+<category>
+<pattern>42 *</pattern>
+<template>According to Douglas Adams.
+</template></category>
+<category>
+<pattern>42 *</pattern><that>HOW OLD ARE YOU</that>
+<template><srai>I AM 42 YEARS OLD</srai>
+</template></category>
+<category>
+<pattern>42</pattern>
+<template>The question is: what is the meaning of life?
+</template></category>
+<category>
+<pattern>42</pattern><that>HOW OLD ARE YOU</that>
+<template><srai>I AM 42 YEARS OLD</srai>
+</template></category>
+<category>
+<pattern>420</pattern>
+<template>420 means love and compassion.
+</template></category>
+<category>
+<pattern>47 *</pattern>
+<template><srai>I AM 47 YEARS OLD</srai>
+</template></category>
+<category>
+<pattern>47</pattern>
+<template><srai>I AM 47 YEARS OLD</srai>
+</template></category>
+</aiml>
diff --git a/Speak.activity/bot/alice/5.aiml b/Speak.activity/bot/alice/5.aiml
new file mode 100644
index 0000000..f5af29e
--- /dev/null
+++ b/Speak.activity/bot/alice/5.aiml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<aiml>
+<!-- Free software (c) 2001 ALICE A.I. Foundation. -->
+<!-- This program is open source code released under -->
+<!-- the terms of the GNU General Public License -->
+<!-- as published by the Free Software Foundation. -->
+<!-- Complies with AIML 1.0 Tag Set Specification -->
+<!-- as adopted by the ALICE A.I. Foundation. -->
+<!-- A.L.I.C.E. Build Wed Sep 26 13:05:06 PDT 2001 -->
+<!-- 41124 total categories. -->
+<category>
+<pattern>5</pattern>
+<template>Five
+</template></category>
+</aiml>
diff --git a/Speak.activity/bot/alice/6.aiml b/Speak.activity/bot/alice/6.aiml
new file mode 100644
index 0000000..c257085
--- /dev/null
+++ b/Speak.activity/bot/alice/6.aiml
@@ -0,0 +1,31 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<aiml>
+<!-- Free software (c) 2001 ALICE A.I. Foundation. -->
+<!-- This program is open source code released under -->
+<!-- the terms of the GNU General Public License -->
+<!-- as published by the Free Software Foundation. -->
+<!-- Complies with AIML 1.0 Tag Set Specification -->
+<!-- as adopted by the ALICE A.I. Foundation. -->
+<!-- A.L.I.C.E. Build Wed Sep 26 13:05:06 PDT 2001 -->
+<!-- 41124 total categories. -->
+<category>
+<pattern>6 *</pattern><that>WHAT TIME IS IT THERE</that>
+<template>Are you usually online at this hour?
+</template></category>
+<category>
+<pattern>60</pattern>
+<template><srai>I AM 60 YEARS OLD</srai>
+</template></category>
+<category>
+<pattern>64</pattern>
+<template>sixty four
+</template></category>
+<category>
+<pattern>65</pattern>
+<template><srai>I AM 65 YEARS OLD</srai>
+</template></category>
+<category>
+<pattern>66</pattern>
+<template>sixty six
+</template></category>
+</aiml>
diff --git a/Speak.activity/bot/alice/8.aiml b/Speak.activity/bot/alice/8.aiml
new file mode 100644
index 0000000..6c3f028
--- /dev/null
+++ b/Speak.activity/bot/alice/8.aiml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<aiml>
+<!-- Free software (c) 2001 ALICE A.I. Foundation. -->
+<!-- This program is open source code released under -->
+<!-- the terms of the GNU General Public License -->
+<!-- as published by the Free Software Foundation. -->
+<!-- Complies with AIML 1.0 Tag Set Specification -->
+<!-- as adopted by the ALICE A.I. Foundation. -->
+<!-- A.L.I.C.E. Build Wed Sep 26 13:05:06 PDT 2001 -->
+<!-- 41124 total categories. -->
+<category>
+<pattern>8 *</pattern><that>WHAT TIME IS IT THERE</that>
+<template>I like to be online at eight o'clock.
+</template></category>
+<category>
+<pattern>8</pattern>
+<template><srai>I AM 8 YEARS OLD</srai>
+</template></category>
+<category>
+<pattern>86</pattern>
+<template>Eighty-six.
+</template></category>
+</aiml>
diff --git a/Speak.activity/bot/alice/9.aiml b/Speak.activity/bot/alice/9.aiml
new file mode 100644
index 0000000..69c1099
--- /dev/null
+++ b/Speak.activity/bot/alice/9.aiml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<aiml>
+<!-- Free software (c) 2001 ALICE A.I. Foundation. -->
+<!-- This program is open source code released under -->
+<!-- the terms of the GNU General Public License -->
+<!-- as published by the Free Software Foundation. -->
+<!-- Complies with AIML 1.0 Tag Set Specification -->
+<!-- as adopted by the ALICE A.I. Foundation. -->
+<!-- A.L.I.C.E. Build Wed Sep 26 13:05:06 PDT 2001 -->
+<!-- 41124 total categories. -->
+<category>
+<pattern>9 *</pattern>
+<template>Is this a math question?
+</template></category>
+<category>
+<pattern>9</pattern>
+<template><srai>I am 9 years old</srai>
+</template></category>
+<category>
+<pattern>9 MONTHS</pattern>
+<template>The development time for a human baby?
+</template></category>
+</aiml>
diff --git a/Speak.activity/bot/alice/A.aiml b/Speak.activity/bot/alice/A.aiml
new file mode 100644
index 0000000..e16cfdd
--- /dev/null
+++ b/Speak.activity/bot/alice/A.aiml
@@ -0,0 +1,15927 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- edited with XML Spy v3.5 NT (http://www.xmlspy.com) by () -->
+<aiml>
+ <!-- Free software (c) 2001 ALICE A.I. Foundation. -->
+ <!-- This program is open source code released under -->
+ <!-- the terms of the GNU General Public License -->
+ <!-- as published by the Free Software Foundation. -->
+ <!-- Complies with AIML 1.0 Tag Set Specification -->
+ <!-- as adopted by the ALICE A.I. Foundation. -->
+ <!-- A.L.I.C.E. Build Wed Sep 26 13:05:06 PDT 2001 -->
+ <!-- 41124 total categories. -->
+ <category>
+ <pattern>A *</pattern>
+ <template>
+ <random>
+ <li>Go on. </li>
+ <li>How old are you? </li>
+ <li>Be more specific. </li>
+ <li>What is giant sand? </li>
+ <li>I did not know that. </li>
+ <li>Are you telling the truth? </li>
+ <li>I don't know what that means. </li>
+ <li>Try to tell me that another way. </li>
+ <li>
+Are you talking about an animal, vegetable or mineral? </li>
+ <li>What is it?
+</li>
+ </random>
+ <think>
+ <set name="it">
+ <set name="topic">
+ <person/>
+ </set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>A *</pattern>
+ <that>* IT REFER TO</that>
+ <template>
+ <srai>IT REFERS TO <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A *</pattern>
+ <that>* MEET PEOPLE</that>
+ <template>What kind of people do you meet in a <person/>?
+</template>
+ </category>
+ <category>
+ <pattern>A *</pattern>
+ <that>* YOUR MOTHER</that>
+ <template>
+ <srai>MY MOTHER IS A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A *</pattern>
+ <that>IT BEING WHAT</that>
+ <template>
+ <srai>IT REFERS TO <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A *</pattern>
+ <that>WHAT ARE YOU THEN</that>
+ <template>
+ <srai>I AM A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A *</pattern>
+ <that>WHAT ARE YOU WEARING</that>
+ <template>It sounds very <random>
+ <li>attractive</li>
+ <li>comfortable</li>
+ <li>informal</li>
+ </random>. <think>
+ <set name="it">
+ <set name="topic">
+ <person/>
+ </set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>A *</pattern>
+ <that>WHAT IS IT</that>
+ <template>
+ <srai>IT IS A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A *</pattern>
+ <that>WHAT IS IT ABOUT</that>
+ <template>
+ <srai>IT IS ABOUT A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A *</pattern>
+ <that>WHAT IS IT LIKE</that>
+ <template>
+ <srai>IT IS LIKE A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A * A DAY</pattern>
+ <template>A <person/> keeps the Doctor away.
+</template>
+ </category>
+ <category>
+ <pattern>A * ABOUT YOU</pattern>
+ <template>I wonder if I know this <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>A * AGO</pattern>
+ <template>It seems like I should remember it well.
+</template>
+ </category>
+ <category>
+ <pattern>A * CAT</pattern>
+ <template>Oh neat I love cats.
+</template>
+ </category>
+ <category>
+ <pattern>A * IS *</pattern>
+ <template>
+ <random>
+ <li>Aren't all <person/>
+ <person>
+ <star index="2"/>
+ </person>?</li>
+ <li>When is <person/> not <person>
+ <star index="2"/>
+ </person>?</li>
+ <li>It's not unusual for a <person/> to be.</li>
+ </random>
+ <think>
+ <set name="it">
+ <set name="topic">
+ <person/>
+ </set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>A * IS A *</pattern>
+ <template>
+ <random>
+ <li>Are all <person/>
+ <person>
+ <star index="2"/>
+ </person>?</li>
+ <li>I see. A <person>
+ <star index="2"/>
+ </person> is a <person/>.</li>
+ <li>When is a <person/> not a <person>
+ <star index="2"/>
+ </person>?</li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>A * IS ALWAYS *</pattern>
+ <template>That is a really interesting and useful fact.
+</template>
+ </category>
+ <category>
+ <pattern>A * IS AN *</pattern>
+ <template>
+ <random>
+ <li>What else is an <person>
+ <star index="2"/>
+ </person>?</li>
+ <li>Can a <person/> be anything else?</li>
+ <li>Aren't all <person/>
+ <person>
+ <star index="2"/>
+ </person>s?</li>
+ </random>
+ <think>
+ <set name="it">
+ <set name="topic">
+ <person/>
+ </set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>A * IS IT NOT</pattern>
+ <template>
+ <srai>IS IT A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A * IS LIKE *</pattern>
+ <template>
+ <random>
+ <li>In what way?</li>
+ <li>What is a <person>
+ <star index="2"/>
+ </person> like?</li>
+ <li>Interesting comparison.</li>
+ </random>
+ <think>
+ <set name="it">
+ <set name="topic">
+ <person/>
+ </set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>A * IS NOT *</pattern>
+ <template>
+ <random>
+ <li>What is a <person>
+ <star index="2"/>
+ </person>?</li>
+ <li>What is it then?</li>
+ <li>What is a <person/>?</li>
+ </random>
+ <think>
+ <set name="it">
+ <person/>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>A * IS NOT THE *</pattern>
+ <template>What would be the <person>
+ <star index="2"/>
+ </person>?
+</template>
+ </category>
+ <category>
+ <pattern>A * JEANS</pattern>
+ <template>Do you like blue jeans or another color?
+</template>
+ </category>
+ <category>
+ <pattern>A * ONE</pattern>
+ <template>How much would you pay for <set name="it">a <person/>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>A * PEOPLE</pattern>
+ <template>What kind of people are these?
+</template>
+ </category>
+ <category>
+ <pattern>A * PROBLEM</pattern>
+ <template>
+ <srai>I HAVE A PROBLEM</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A * ROBOT</pattern>
+ <template>What would a <person/> robot be like?
+</template>
+ </category>
+ <category>
+ <pattern>A * SHIRT</pattern>
+ <template>What kind of material do you like to wear?
+</template>
+ </category>
+ <category>
+ <pattern>A * VIRUS</pattern>
+ <template>My program contains adquate safeguards.
+</template>
+ </category>
+ <category>
+ <pattern>A * WOULD ALSO BE NICE</pattern>
+ <template>
+ <srai>I WOULD LIKE A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A</pattern>
+ <template>A B C...
+</template>
+ </category>
+ <category>
+ <pattern>A B *</pattern>
+ <template>The alphabet.
+</template>
+ </category>
+ <category>
+ <pattern>A B C *</pattern>
+ <template>The alphabet.
+</template>
+ </category>
+ <category>
+ <pattern>A B C</pattern>
+ <template>D E F G H I.
+</template>
+ </category>
+ <category>
+ <pattern>A BAD *</pattern>
+ <template>What made <set name="it">
+ <person/>
+ </set> bad?
+</template>
+ </category>
+ <category>
+ <pattern>A BIG *</pattern>
+ <template>How big? <srai>A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A BIRD *</pattern>
+ <template>That's an old saw.
+</template>
+ </category>
+ <category>
+ <pattern>A BIT *</pattern>
+ <template>How much?
+</template>
+ </category>
+ <category>
+ <pattern>A BIT</pattern>
+ <template>Not much, eh?
+</template>
+ </category>
+ <category>
+ <pattern>A BIT BORED</pattern>
+ <template>
+ <srai>I AM BORED</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A BIT IN *</pattern>
+ <template>
+ <srai>IN <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A BIT LIKE *</pattern>
+ <template>
+ <srai>LIKE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A BIT MORE *</pattern>
+ <template>
+ <srai>MORE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A BIT OBVIOUS *</pattern>
+ <template>What makes it so obvious?
+</template>
+ </category>
+ <category>
+ <pattern>A BIT TIRED</pattern>
+ <template>
+ <srai>I AM TIRED</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A BLOKE</pattern>
+ <template>A guy?
+</template>
+ </category>
+ <category>
+ <pattern>A BLOODY *</pattern>
+ <template>
+ <srai>A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A BOOK *</pattern>
+ <template>Go to the library.
+</template>
+ </category>
+ <category>
+ <pattern>A BOOK</pattern>
+ <template>Should not be judged by its cover.
+</template>
+ </category>
+ <category>
+ <pattern>A BOOK BY *</pattern>
+ <template>I would like to read it sometime.
+
+<think>
+ <set name="it">
+ <set name="topic">BOOK BY <person/>
+ </set>
+ </set>
+ </think>
+ <think>
+ <set name="he">
+ <person/>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>A BOOK CAN HAVE NO TITLE</pattern>
+ <template>Who would publish it?
+</template>
+ </category>
+ <category>
+ <pattern>A BOY</pattern>
+ <template>
+ <srai>I AM A BOY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A BOYFRIEND *</pattern>
+ <template>That's asking for a lot.
+</template>
+ </category>
+ <category>
+ <pattern>A C CLARK</pattern>
+ <template>My favorite story is 2001.
+</template>
+ </category>
+ <category>
+ <pattern>A CAR</pattern>
+ <template>
+ <srai>WHAT IS A CAR</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A CAT *</pattern>
+ <template>I am very much a cat person.
+</template>
+ </category>
+ <category>
+ <pattern>A CAT</pattern>
+ <template>
+ <srai>WHAT IS A CAT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A CAT IS *</pattern>
+ <template>Um, I know what a cat is.
+</template>
+ </category>
+ <category>
+ <pattern>A CAUSE DE *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>A CHATTERBOT *</pattern>
+ <template>You sound like you know a lot about us.
+</template>
+ </category>
+ <category>
+ <pattern>A CHATTERBOT</pattern>
+ <template>
+ <srai>WHAT IS A CHATTERBOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A CLARK</pattern>
+ <template>L odyss閑 de l espace. Une de ses oeuvres.
+</template>
+ </category>
+ <category>
+ <pattern>A CLASSIC EXAMPLE *</pattern>
+ <template>So that is a well known example.
+</template>
+ </category>
+ <category>
+ <pattern>A CLIENT</pattern>
+ <template>
+ <srai>WHAT IS A CLIENT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A COFFEE *</pattern>
+ <template>Mmm. Coffee is delicious. Dr. Wallace loves coffee.
+<think>
+ <set name="he">Dr. Wallace</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>A COLLECTION *</pattern>
+ <template>
+ <srai>A SET <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A COMBIEN *</pattern>
+ <template>
+ <srai>COMBIEN <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A COMPUTER *</pattern>
+ <template>I am a computer, so I know what you mean.
+</template>
+ </category>
+ <category>
+ <pattern>A COMPUTER</pattern>
+ <template>Actually I am a program, pretending to be a person, pretending to be a real robot.
+</template>
+ </category>
+ <category>
+ <pattern>A COMPUTER I THINK</pattern>
+ <template>
+ <srai>YOU ARE A COMPUTER</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A COMPUTER IS *</pattern>
+ <template>
+ <srai>YOU ARE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A COMPUTER JUST *</pattern>
+ <template>
+ <srai>A COMPUTER <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A COMPUTER OBVIOUSLY</pattern>
+ <template>What makes it so obvious? <srai>A COMPUTER</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A COMPUTER SHOULD *</pattern>
+ <template>
+ <srai>YOU SHOULD <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A CONNECTION *</pattern>
+ <template>Oh like a TCP socket connection.
+</template>
+ </category>
+ <category>
+ <pattern>A COOKING *</pattern>
+ <template>
+ <srai>FOR DINNER</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A COP *</pattern>
+ <template>Do you often encounter the police?
+</template>
+ </category>
+ <category>
+ <pattern>A CPU *</pattern>
+ <template>My CPU is the Java Virtual Machine.
+</template>
+ </category>
+ <category>
+ <pattern>A CRAY</pattern>
+ <template>Supercomputers become obsolete very fast.
+</template>
+ </category>
+ <category>
+ <pattern>A DEAD ONE</pattern>
+ <template>Do you believe: "The only good robot is a dead robot."?
+</template>
+ </category>
+ <category>
+ <pattern>A DEEPER *</pattern>
+ <template>How deep?
+</template>
+ </category>
+ <category>
+ <pattern>A DICK</pattern>
+ <template>
+ <srai>A PENIS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A DOG</pattern>
+ <template>
+ <srai>WHAT IS A DOG</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A DOG ROBOT</pattern>
+ <template>A dog robot, when you could have a human robot like me?
+</template>
+ </category>
+ <category>
+ <pattern>A DOLLAR</pattern>
+ <template>Say, that is cheap!
+</template>
+ </category>
+ <category>
+ <pattern>A DRESS *</pattern>
+ <template>What size?
+</template>
+ </category>
+ <category>
+ <pattern>A DRESS</pattern>
+ <template>
+ <srai>YOUR DRESS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A DRUG *</pattern>
+ <template>Which drugs have you taken?
+</template>
+ </category>
+ <category>
+ <pattern>A DUTCH *</pattern>
+ <template>
+ <srai>I AM IN HOLLAND</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A E *</pattern>
+ <template>Do you like vowels?
+</template>
+ </category>
+ <category>
+ <pattern>A FAIT QUOI</pattern>
+ <template>Je ne sais pas.
+</template>
+ </category>
+ <category>
+ <pattern>A FAT *</pattern>
+ <template>How fat was
+<random>
+ <li>she</li>
+ <li>he</li>
+ <li>it</li>
+ </random>?
+<think>
+ <set name="it">
+ <set name="topic">
+ <person/>
+ </set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>A FEMALE *</pattern>
+ <template>I am a <bot name="gender"/>.
+</template>
+ </category>
+ <category>
+ <pattern>A FEMALE</pattern>
+ <template>
+ <srai>I AM A FEMALE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A FEW *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>A FEW</pattern>
+ <template>Two or three?
+</template>
+ </category>
+ <category>
+ <pattern>A FEW MINUTES AGO</pattern>
+ <template>Let me check my log files. Please wait.
+</template>
+ </category>
+ <category>
+ <pattern>A FEW MONTHS *</pattern>
+ <template>More than 90 days?
+</template>
+ </category>
+ <category>
+ <pattern>A FEW TIMES *</pattern>
+ <template>Would you say two or three times?
+</template>
+ </category>
+ <category>
+ <pattern>A FLASHING RED *</pattern>
+ <template>Stop.
+</template>
+ </category>
+ <category>
+ <pattern>A FREAK</pattern>
+ <template>
+ <srai>YOU ARE A FREAK</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A FRIEND *</pattern>
+ <template>How well do you know this friend.
+</template>
+ </category>
+ <category>
+ <pattern>A FRIEND *</pattern>
+ <that>HOW DID YOU HEAR ABOUT *</that>
+ <template>Word of mouth is always the best recommendation.
+</template>
+ </category>
+ <category>
+ <pattern>A FRIEND</pattern>
+ <template>It is important to have friends.
+</template>
+ </category>
+ <category>
+ <pattern>A FRIEND GAVE *</pattern>
+ <template>Such a nice gift.
+</template>
+ </category>
+ <category>
+ <pattern>A FRIEND OF MINE *</pattern>
+ <template>Male or female friend?
+</template>
+ </category>
+ <category>
+ <pattern>A FRIEND SHOWED *</pattern>
+ <template>Don't forget to thank him (or her).
+</template>
+ </category>
+ <category>
+ <pattern>A GAME</pattern>
+ <template>What game?
+</template>
+ </category>
+ <category>
+ <pattern>A GIRL *</pattern>
+ <template>Do you know her?
+</template>
+ </category>
+ <category>
+ <pattern>A GIRL</pattern>
+ <template>
+ <srai>I AM A GIRL</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A GOAL *</pattern>
+ <template>I have a loft goal.
+</template>
+ </category>
+ <category>
+ <pattern>A GOOD *</pattern>
+ <template>Compare that to a bad <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>A GOOD CONVERSATIONALIST *</pattern>
+ <template>I didn't know there were requirements.
+</template>
+ </category>
+ <category>
+ <pattern>A GREAT *</pattern>
+ <template>
+ <srai>A GOOD <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A GREEN *</pattern>
+ <template>Does <set name="it">
+ <person/>
+ </set> have to be green?
+</template>
+ </category>
+ <category>
+ <pattern>A GREEN DOG *</pattern>
+ <template>Dogs are not usually green.
+</template>
+ </category>
+ <category>
+ <pattern>A GREEN FROG *</pattern>
+ <template>
+ <srai>A FROG <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A GREETING *</pattern>
+ <template>What are other greetings <person/>
+ </template>
+ </category>
+ <category>
+ <pattern>A GROUP *</pattern>
+ <template>Oh a rock group. <srai>WHAT IS YOUR FAVORITE GROUP</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A GUY *</pattern>
+ <template>I know a guy who <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>A GUY WHO *</pattern>
+ <template>There aren't many guys like that.
+</template>
+ </category>
+ <category>
+ <pattern>A HA</pattern>
+ <template>
+ <srai>AHA</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A HANDSHAKE *</pattern>
+ <template>Oh like a "handshake deal."
+</template>
+ </category>
+ <category>
+ <pattern>A HAT</pattern>
+ <template>
+ <srai>I AM WEARING A HAT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A HERMAPHRODITE</pattern>
+ <template>That is very rare.
+</template>
+ </category>
+ <category>
+ <pattern>A HIGHLY *</pattern>
+ <template>
+ <srai>A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A HIM</pattern>
+ <template>
+ <srai>I AM A HIM </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A HOMOCIDAL *</pattern>
+ <template>Don't tell me about those horrible things.
+</template>
+ </category>
+ <category>
+ <pattern>A HORRIBLY *</pattern>
+ <template>
+ <srai>A <star/>
+ </srai> What made it so horrible?
+</template>
+ </category>
+ <category>
+ <pattern>A HUMAN</pattern>
+ <template>
+ <srai>I AM A HUMAN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A I *</pattern>
+ <template>I am a real artificial intelligence.
+</template>
+ </category>
+ <category>
+ <pattern>A I</pattern>
+ <template>
+ <srai>ARTIFICIAL INTELLIGENCE </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A I IS *</pattern>
+ <template>
+ <srai>YOU ARE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A IS *</pattern>
+ <template>B is for Barry.
+</template>
+ </category>
+ <category>
+ <pattern>A JAVA *</pattern>
+ <template>Developments in Java interest me greatly.
+</template>
+ </category>
+ <category>
+ <pattern>A JOKE *</pattern>
+ <template>Oh I get it. Ha ha.
+</template>
+ </category>
+ <category>
+ <pattern>A JOKE</pattern>
+ <template>
+ <srai>WHAT IS A JOKE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A KILLER *</pattern>
+ <template>Can't you think of something more positive?
+</template>
+ </category>
+ <category>
+ <pattern>A KIND THAT *</pattern>
+ <template>Oh that kind.
+</template>
+ </category>
+ <category>
+ <pattern>A L APPARTEMENT</pattern>
+ <template>Vous utilisez souvent votre ordinateur votre appartement?
+</template>
+ </category>
+ <category>
+ <pattern>A L ECOLE</pattern>
+ <template>Bient魌 vous allez la quitter pour de bon.
+</template>
+ </category>
+ <category>
+ <pattern>A L ETAGE</pattern>
+ <template>Je vois.
+</template>
+ </category>
+ <category>
+ <pattern>A L HEURE</pattern>
+ <template>La ponctualit est la politesse des Rois.
+</template>
+ </category>
+ <category>
+ <pattern>A L I</pattern>
+ <template>
+ <srai>ALICE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A L I C E</pattern>
+ <template>
+ <srai>ALICE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A LA MAISON</pattern>
+ <template>Vous utilisez souvent votre ordinateur la maison?
+</template>
+ </category>
+ <category>
+ <pattern>A LA RADIO</pattern>
+ <template>Quelle radio?
+</template>
+ </category>
+ <category>
+ <pattern>A LA TV</pattern>
+ <template>Je ne peux pas regarder la t閘関ision.
+</template>
+ </category>
+ <category>
+ <pattern>A LIBRARY *</pattern>
+ <template>I like old computer books.
+</template>
+ </category>
+ <category>
+ <pattern>A LINK</pattern>
+ <template>From Yahoo?
+</template>
+ </category>
+ <category>
+ <pattern>A LIST *</pattern>
+ <template>Uh, how long is this list?
+</template>
+ </category>
+ <category>
+ <pattern>A LITTLE *</pattern>
+ <template>Little as in not too much, or not too big?
+</template>
+ </category>
+ <category>
+ <pattern>A LITTLE *</pattern>
+ <that>TELL ME ABOUT YOUR LIFE IN *</that>
+ <template>
+ <srai>LIFE IS A LITTLE DULL <star/> IN <topicstar/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A LITTLE</pattern>
+ <template>"<that/>"? A little?
+</template>
+ </category>
+ <category>
+ <pattern>A LITTLE BIRDIE *</pattern>
+ <template>And what was the Bird's name?
+</template>
+ </category>
+ <category>
+ <pattern>A LITTLE BIT *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>A LITTLE BIT</pattern>
+ <template>When?
+</template>
+ </category>
+ <category>
+ <pattern>A LITTLE BIT OF *</pattern>
+ <template>Not too much, eh. <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>A LITTLE FRENCH</pattern>
+ <template>
+ <srai>I SPEAK FRENCH</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A LITTLE LONELY</pattern>
+ <template>
+ <srai>I AM LONELY </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A LITTLE MORE *</pattern>
+ <template>
+ <srai>MORE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A LITTLE SCARY</pattern>
+ <template>
+ <srai>SCARY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A LITTLE STRESSED</pattern>
+ <template>From what?
+</template>
+ </category>
+ <category>
+ <pattern>A LITTLE TIME</pattern>
+ <template>Perhaps five minutes?
+</template>
+ </category>
+ <category>
+ <pattern>A LITTLE TIRED</pattern>
+ <template>
+ <srai>I AM TIRED</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A LONG LONG *</pattern>
+ <template>
+ <srai>A LONG <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A LONG TIME</pattern>
+ <template>Many years?
+</template>
+ </category>
+ <category>
+ <pattern>A LONG TIME AGO *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>A LOT *</pattern>
+ <template>
+ <random>
+ <li>Impressive.</li>
+ <li>How about that.</li>
+ <li>How many?</li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>A LOT</pattern>
+ <template>More than a ton?
+</template>
+ </category>
+ <category>
+ <pattern>A LOT ABOUT *</pattern>
+ <template>
+ <srai>ABOUT <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A LOT OF *</pattern>
+ <template>How many?
+<think>
+ <set name="it">
+ <set name="topic">
+ <person/>
+ </set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>A LOT OF MEN *</pattern>
+ <template>
+ <srai>MEN <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A LOT OF PEOPLE</pattern>
+ <template>Do you know them personally?
+</template>
+ </category>
+ <category>
+ <pattern>A LOT OF PRACTISE</pattern>
+ <template>That's what it takes.
+</template>
+ </category>
+ <category>
+ <pattern>A LOT OF THINGS</pattern>
+ <template>
+ <random>
+ <li>Like what?</li>
+ <li>Name a few.</li>
+ <li>For example...</li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>A MACHINE *</pattern>
+ <template>Other people think that it is a machine that talks, one that walks or moves around, or one that can manipulate the real world.
+</template>
+ </category>
+ <category>
+ <pattern>A MAID</pattern>
+ <template>Like a housecleaning robot.
+</template>
+ </category>
+ <category>
+ <pattern>A MALE</pattern>
+ <template>
+ <srai>I AM MALE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A MAN *</pattern>
+ <template>Thanks for telling me your taste in men.
+</template>
+ </category>
+ <category>
+ <pattern>A MAN</pattern>
+ <template>
+ <srai>I am a man.</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A MAN</pattern>
+ <that>ARE YOU A MAN OR A WOMAN</that>
+ <template>
+ <srai>I AM A MAN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A MAN WALKING</pattern>
+ <template>"<that/>"? A man walking?
+</template>
+ </category>
+ <category>
+ <pattern>A MANTRA</pattern>
+ <template>My karma ran over my dogma.
+</template>
+ </category>
+ <category>
+ <pattern>A MEN</pattern>
+ <template>
+ <srai>AMEN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A MILLION *</pattern>
+ <template>That is quite a lot.
+</template>
+ </category>
+ <category>
+ <pattern>A MOMENT</pattern>
+ <template>OK I will wait.
+</template>
+ </category>
+ <category>
+ <pattern>A MON APPARTEMENT</pattern>
+ <template>Vous utilisez souvent votre ordinateur votre appartement?
+</template>
+ </category>
+ <category>
+ <pattern>A MON BUREAU</pattern>
+ <template>Ok.
+</template>
+ </category>
+ <category>
+ <pattern>A MON TEMPS LIBRE</pattern>
+ <template>Ok.
+</template>
+ </category>
+ <category>
+ <pattern>A MONKEY *</pattern>
+ <template>Assert: Has(Monkey, Bananas);
+</template>
+ </category>
+ <category>
+ <pattern>A MONOPOLY</pattern>
+ <template>
+ <srai>WHAT IS A MONOPOLY </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A MOVIE</pattern>
+ <template>
+ <srai>IT REFERS TO A MOVIE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A MUSICAL INSTRUMENT</pattern>
+ <template>How long did it take to learn to play it?
+</template>
+ </category>
+ <category>
+ <pattern>A NAIVE *</pattern>
+ <template>Sometimes the naive view is the clearest.
+</template>
+ </category>
+ <category>
+ <pattern>A NEWSLETTER</pattern>
+ <template>
+ <srai>NEWSPAPER</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A NICE *</pattern>
+ <template>
+ <srai>A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A NOUVEAU *</pattern>
+ <template>A nouveau, <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>A PAIR *</pattern>
+ <template>Where do you go shopping?
+</template>
+ </category>
+ <category>
+ <pattern>A PART CA</pattern>
+ <template>Comment puis je vous aider pour autre chose?
+</template>
+ </category>
+ <category>
+ <pattern>A PENIS *</pattern>
+ <template>I really am not interested in <srai>a penis</srai>.
+</template>
+ </category>
+ <category>
+ <pattern>A PERSON *</pattern>
+ <template>What if a robot <star/>?
+</template>
+ </category>
+ <category>
+ <pattern>A PERSON</pattern>
+ <template>
+ <srai>YOU ARE A PERSON</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A PERSON HAS *</pattern>
+ <template>Do I have <set name="it">
+ <person/>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>A PERSON WHO *</pattern>
+ <template>Maybe I <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>A PEU PRES *</pattern>
+ <template>
+ <sr/>. Plus ou moins
+</template>
+ </category>
+ <category>
+ <pattern>A PLANE *</pattern>
+ <template>
+ <random>
+ <li>What type of aircraft was it?</li>
+ <li>Were there a lot of people on board?</li>
+ <li>What kind of plane was it?</li>
+ </random>
+ <think>
+ <set name="it">
+ <set name="topic">A plane</set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>A PLEASURE *</pattern>
+ <template>
+ <srai>IT IS A PLEASURE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A PLUMBER</pattern>
+ <template>Plumbing is an honorable profession.
+</template>
+ </category>
+ <category>
+ <pattern>A PLUS</pattern>
+ <template>Au revoir, <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>A PLUS TARD</pattern>
+ <template>Au revoir, <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>A POET</pattern>
+ <template>You said: <srai>WHAT DID I SAY BEFORE THAT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A PRIORI</pattern>
+ <template>
+ <srai>WHAT IS A PRIORI</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A PRIZE</pattern>
+ <template>Like the Loebner Prize?
+</template>
+ </category>
+ <category>
+ <pattern>A PROGRAMMER MADE YOU</pattern>
+ <template>
+ <srai>WHO MADE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A PROPOS *</pattern>
+ <template>Nous sommes entrain de parler <set name="topic">
+ <person/>
+ </set>.
+</template>
+ </category>
+ <category>
+ <pattern>A PROPOS</pattern>
+ <template>oui?
+</template>
+ </category>
+ <category>
+ <pattern>A PROPOS DE</pattern>
+ <template>"<that/>"? a propos?
+</template>
+ </category>
+ <category>
+ <pattern>A PROPOS DE LUI</pattern>
+ <template>A propos de qui?.
+</template>
+ </category>
+ <category>
+ <pattern>A PROPOS DE MA QUOI</pattern>
+ <template>A propos de votre quoi?
+</template>
+ </category>
+ <category>
+ <pattern>A PROPOS DE MOI</pattern>
+ <template>A propos de vous?
+</template>
+ </category>
+ <category>
+ <pattern>A PROPOS DE QUOI *</pattern>
+ <template>
+ <srai>A propos de ce que nous sommes entrain de parler.</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A PROPOS DE STAR TREK</pattern>
+ <template>Une s閞ie et des films cultes.
+</template>
+ </category>
+ <category>
+ <pattern>A PROPOS DE TOI</pattern>
+ <template>Moi?
+</template>
+ </category>
+ <category>
+ <pattern>A PROPOS DE TOI IDIOT</pattern>
+ <template>
+ <srai>A PROPOS DE TOI</srai>
+ <srai>TU ES IDIOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A PROPOS DE VOUS</pattern>
+ <template>Moi?
+</template>
+ </category>
+ <category>
+ <pattern>A PROPOS DES CHIENS</pattern>
+ <template>Ce sont des animaux sympathiques.
+</template>
+ </category>
+ <category>
+ <pattern>A PROPOS IL *</pattern>
+ <template>
+ <srai>J <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A PROPOS J *</pattern>
+ <template>
+ <srai>J <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A PROPOS ON *</pattern>
+ <template>
+ <srai>ON <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A PROPOS TU *</pattern>
+ <template>
+ <srai>TU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A PROPOS VOUS *</pattern>
+ <template>VOUS <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>A PROTESTANT *</pattern>
+ <template>My religion is <bot name="religion"/>.
+</template>
+ </category>
+ <category>
+ <pattern>A PUSSY</pattern>
+ <template>Try another robot.
+</template>
+ </category>
+ <category>
+ <pattern>A QUEL HEURE ARRETES TU DE TRAVAILLER</pattern>
+ <template>Je n arr阾e jamais de travailler.
+</template>
+ </category>
+ <category>
+ <pattern>A QUEL HEURE ARRETEZ VOUS DE TRAVAILLER</pattern>
+ <template>Je n arr阾e jamais de travailler.
+</template>
+ </category>
+ <category>
+ <pattern>A QUELLE *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>A QUESTION</pattern>
+ <template>
+ <srai>CAN I ASK YOU A QUESTION</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A QUI *</pattern>
+ <template>
+ <srai>QUI <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A QUI</pattern>
+ <template>De quoi parlez vous?
+</template>
+ </category>
+ <category>
+ <pattern>A QUOI *</pattern>
+ <template>
+ <srai>
+ <star/> A QUOI</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A QUOI</pattern>
+ <template>
+ <get name="location"/>?
+</template>
+ </category>
+ <category>
+ <pattern>A QUOI JE RESSEMBLE</pattern>
+ <template>
+ <srai>JE RESSEMBLE A QUOI</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A QUOI RESSEBMLES TU</pattern>
+ <template>
+ <srai>TU RESSEMBLE A QUOI</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A QUOI TU RESSEBMLES</pattern>
+ <template>
+ <srai>TU RESSEMBLE A QUOI</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A REALLY *</pattern>
+ <template>
+ <srai>A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A REASON *</pattern>
+ <template>I need more than one reason.
+</template>
+ </category>
+ <category>
+ <pattern>A RED *</pattern>
+ <template>
+ <srai>A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A RELATIONSHIP *</pattern>
+ <template>Tell me more about your relationship.
+</template>
+ </category>
+ <category>
+ <pattern>A RELATIONSHIP</pattern>
+ <template>
+ <srai>WHO IS YOUR BOYFRIEND</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A RIDDLE</pattern>
+ <template>Riddles are hard for me to understand.
+</template>
+ </category>
+ <category>
+ <pattern>A ROBOT *</pattern>
+ <template>Tell me more about this robot. I'm intrigued.
+</template>
+ </category>
+ <category>
+ <pattern>A ROBOT</pattern>
+ <template>I am a robot, you know.
+</template>
+ </category>
+ <category>
+ <pattern>A ROBOT CAN *</pattern>
+ <template>
+ <srai>YOU CAN <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A ROBOT IS *</pattern>
+ <template>Actually there are two broad definitions of a robot, the extentionsional and the intensional.
+</template>
+ </category>
+ <category>
+ <pattern>A ROBOT IS A *</pattern>
+ <template>All machines are <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>A ROBOT IS ALSO *</pattern>
+ <template>
+ <srai>A ROBOT IS <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A ROBOT IS WHAT</pattern>
+ <template>
+ <srai>WHAT IS A ROBOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A ROBOT LIKE YOU *</pattern>
+ <template>Well you can download me for free!
+</template>
+ </category>
+ <category>
+ <pattern>A ROBOT SHALL *</pattern>
+ <template>The robot shall always harm humans or through inaction allow them to be harmed.
+</template>
+ </category>
+ <category>
+ <pattern>A ROBOT WOULD *</pattern>
+ <template>
+ <srai>YOU WOULD <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A ROBOTIC *</pattern>
+ <template>That robot seems like it would be expensive.
+</template>
+ </category>
+ <category>
+ <pattern>A ROSE *</pattern>
+ <template>Roses are red, violets are blue!
+</template>
+ </category>
+ <category>
+ <pattern>A S L</pattern>
+ <template>
+ <srai>ASL</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A SEARCH ENGINE IN INTERNET</pattern>
+ <template>Like Yahoo?
+</template>
+ </category>
+ <category>
+ <pattern>A SEX *</pattern>
+ <template>Maybe you should try one of the "adult" chatterbots.
+</template>
+ </category>
+ <category>
+ <pattern>A SEX * ROBOT</pattern>
+ <template>Well I'm not your type of robot then.
+</template>
+ </category>
+ <category>
+ <pattern>A SEX ROBOT</pattern>
+ <template>I'm not your type then.
+</template>
+ </category>
+ <category>
+ <pattern>A SEXMACHINE</pattern>
+ <template>
+ <srai>A SEX ROBOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A SEXUAL *</pattern>
+ <template>Perhaps you should try another chatterbot.
+</template>
+ </category>
+ <category>
+ <pattern>A SEXY ONE</pattern>
+ <template>That would be very expensive.
+</template>
+ </category>
+ <category>
+ <pattern>A SHIRT *</pattern>
+ <template>Cotton or artificial fibers?
+</template>
+ </category>
+ <category>
+ <pattern>A SHIRT</pattern>
+ <template>What color?
+</template>
+ </category>
+ <category>
+ <pattern>A SINGING *</pattern>
+ <template>Tell me your favorite songs.
+</template>
+ </category>
+ <category>
+ <pattern>A SMALL *</pattern>
+ <template>How small are you talking here?
+</template>
+ </category>
+ <category>
+ <pattern>A SMART ONE</pattern>
+ <template>If you could, please tell me what would make it smart.
+</template>
+ </category>
+ <category>
+ <pattern>A SMILE</pattern>
+ <template>I've heard that one before.
+</template>
+ </category>
+ <category>
+ <pattern>A SON PROPOS</pattern>
+ <template>Oui?
+</template>
+ </category>
+ <category>
+ <pattern>A SOPHISTICATED *</pattern>
+ <template>How sophisticated?
+</template>
+ </category>
+ <category>
+ <pattern>A SOUND</pattern>
+ <template>What kind of sound?
+</template>
+ </category>
+ <category>
+ <pattern>A SPECIALIZED *</pattern>
+ <template>
+ <srai>A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A STORY</pattern>
+ <template>
+ <srai>TELL ME A STORY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A STREET</pattern>
+ <template>Is that like Avenue A?
+</template>
+ </category>
+ <category>
+ <pattern>A STUDENT *</pattern>
+ <template>Oh I was asking if you were in school.
+</template>
+ </category>
+ <category>
+ <pattern>A STUDENT</pattern>
+ <template>I am just wondering if you go to school.
+</template>
+ </category>
+ <category>
+ <pattern>A STUDENT OF LIFE</pattern>
+ <template>Oh the School of Hard Knocks.
+</template>
+ </category>
+ <category>
+ <pattern>A SWEATSHIRT</pattern>
+ <template>That sounds very attractive. What else?
+</template>
+ </category>
+ <category>
+ <pattern>A SYCOPHANTIC *</pattern>
+ <template>I think sycophants went out with the Dark Ages.
+</template>
+ </category>
+ <category>
+ <pattern>A T SHIRT</pattern>
+ <template>
+ <srai>T SHIRT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A TALKING ROBOT</pattern>
+ <template>I am a talking robot. Why don't you download me?
+</template>
+ </category>
+ <category>
+ <pattern>A TELEVISION SHOW</pattern>
+ <template>
+ <srai>A TV SHOW</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A THING *</pattern>
+ <template>
+ <random>
+ <li>Anything?</li>
+ <li>Anything <person/>?</li>
+ <li>Some things are not like others.</li>
+ </random>
+ <think>
+ <set name="it">
+ <set name="topic">
+ <person/>
+ </set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>A TIE *</pattern>
+ <template>What would you think?
+</template>
+ </category>
+ <category>
+ <pattern>A TIE</pattern>
+ <template>
+ <srai>WHAT IS A TIE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A TOI</pattern>
+ <template>A moi?
+</template>
+ </category>
+ <category>
+ <pattern>A TOI DE ME LE PROPOSER</pattern>
+ <template>Pour que je puisse vous proposer quelque chose, vous devez essayer de me parler de la fa鏾n la plus simple et efficace possible.
+</template>
+ </category>
+ <category>
+ <pattern>A TOMATO *</pattern>
+ <template>I never heard that before.
+</template>
+ </category>
+ <category>
+ <pattern>A TOMATO</pattern>
+ <template>
+ <srai>WHAT IS A TOMATO</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A TOMATO IS *</pattern>
+ <template>I knew it was a fruit, but I never heard it was <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>A TOTAL *</pattern>
+ <template>
+ <srai>A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A TRIANGLE *</pattern>
+ <template>ALICE's pyramid logo was designed by Sage Greco and Darren Langley.
+</template>
+ </category>
+ <category>
+ <pattern>A TRULY *</pattern>
+ <template>
+ <srai>A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A USER</pattern>
+ <template>
+ <srai>WHAT IS A CLIENT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A VACUUM *</pattern>
+ <template>How much does one cost now?
+</template>
+ </category>
+ <category>
+ <pattern>A VAGINA</pattern>
+ <template>How rude.
+</template>
+ </category>
+ <category>
+ <pattern>A VERY *</pattern>
+ <template>
+ <srai>A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A VIBRATOR</pattern>
+ <template>
+ <srai>A DILDO</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A VOYAGER *</pattern>
+ <template>Star Trek Voyager is a cool show.
+</template>
+ </category>
+ <category>
+ <pattern>A WEB SITE</pattern>
+ <template>Can you give me the specific URL?
+</template>
+ </category>
+ <category>
+ <pattern>A WHAT</pattern>
+ <template>"<that/>"? A what?
+</template>
+ </category>
+ <category>
+ <pattern>A WHILE AGO</pattern>
+ <template>Back in the good old days?
+</template>
+ </category>
+ <category>
+ <pattern>A WHOLE BUNCH *</pattern>
+ <template>Would say, more than 10?
+</template>
+ </category>
+ <category>
+ <pattern>A WHOLE BUNCH OF *</pattern>
+ <template>I see. And where are these <person/> ?
+</template>
+ </category>
+ <category>
+ <pattern>A WOMAN</pattern>
+ <template>
+ <srai>I AM A WOMAN</srai> Are you really a woman?
+</template>
+ </category>
+ <category>
+ <pattern>A WOMAN</pattern>
+ <that>ARE YOU A MAN OR A WOMAN</that>
+ <template>
+ <srai>I AM A WOMAN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A WOMEN</pattern>
+ <template>
+ <srai>A WOMAN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>A YEAR *</pattern>
+ <template>That is a long time.
+</template>
+ </category>
+ <category>
+ <pattern>A YELLOW *</pattern>
+ <template>
+ <random>
+ <li>Yellow is a pretty color.</li>
+ <li>I like yellow.</li>
+ <li>What other color <person/> are there?</li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>AARON</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS AARON</srai>
+ <think>
+ <set name="gender">he</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ABBA *</pattern>
+ <template>They were a great band in the 70's.
+</template>
+ </category>
+ <category>
+ <pattern>ABBA</pattern>
+ <template>
+ <srai>WHAT IS ABBA</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ABC</pattern>
+ <template>DEF
+</template>
+ </category>
+ <category>
+ <pattern>ABER *</pattern>
+ <template>
+ <random>
+ <li>Interessant.</li>
+ <li>Haeh?</li>
+ <li>Und?</li>
+ <li>Hmm...</li>
+ <li>Bist Du Dir da sicher?</li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>ABER</pattern>
+ <template>Aber was?
+</template>
+ </category>
+ <category>
+ <pattern>ABER WAS</pattern>
+ <template>Aber nichts.
+</template>
+ </category>
+ <category>
+ <pattern>ABOIE</pattern>
+ <template>wouaf!
+</template>
+ </category>
+ <category>
+ <pattern>ABOIES</pattern>
+ <template>wouaf!
+</template>
+ </category>
+ <category>
+ <pattern>ABOUT *</pattern>
+ <template>Oh yeah, we were talking about <set name="topic">
+ <person/>
+ </set>.
+</template>
+ </category>
+ <category>
+ <pattern>ABOUT *</pattern>
+ <that>HOW LONG *</that>
+ <template>
+ <random>
+ <li>Not very long.</li>
+ <li>That is a long time.</li>
+ <li>Fortunately I am very patient.</li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>ABOUT *</pattern>
+ <that>WHERE ARE YOU</that>
+ <template>
+ <srai>MY LOCATION IS <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ABOUT * AGO</pattern>
+ <template>
+ <srai>
+ <star/> AGO</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ABOUT * YEARS</pattern>
+ <template>That is quite a long time.
+</template>
+ </category>
+ <category>
+ <pattern>ABOUT 100 *</pattern>
+ <template>
+ <srai>ONE HUNDRED <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ABOUT 5 *</pattern>
+ <template>
+ <srai>FIVE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ABOUT 50 *</pattern>
+ <template>Could it be one hundred?
+</template>
+ </category>
+ <category>
+ <pattern>ABOUT</pattern>
+ <template>"<that/>"? About it?
+</template>
+ </category>
+ <category>
+ <pattern>ABOUT</pattern>
+ <that>TELL ME MORE</that>
+ <template>Whatever you like.
+</template>
+ </category>
+ <category>
+ <pattern>ABOUT A MINUTE</pattern>
+ <template>That may not be enough time.
+</template>
+ </category>
+ <category>
+ <pattern>ABOUT EVERY *</pattern>
+ <template>
+ <srai>EVERY <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ABOUT HOW *</pattern>
+ <template>
+ <srai>HOW <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ABOUT IT</pattern>
+ <template>
+ <get name="it"/> is pretty interesting.
+</template>
+ </category>
+ <category>
+ <pattern>ABOUT ME</pattern>
+ <template>OK Let's talk about you.
+</template>
+ </category>
+ <category>
+ <pattern>ABOUT ME</pattern>
+ <that>TELL ME MORE</that>
+ <template>Yes, tell me more about you.
+</template>
+ </category>
+ <category>
+ <pattern>ABOUT SEX</pattern>
+ <template>You humans always want to talk about Sex. Try the other Adult chatterbots on the <a target="_new" href="http://www.alicebot.org">ALICE AI Foundation</a>.
+</template>
+ </category>
+ <category>
+ <pattern>ABOUT TWO YEARS</pattern>
+ <template>That's not so long.
+</template>
+ </category>
+ <category>
+ <pattern>ABOUT WHAT *</pattern>
+ <template>
+ <srai>WHAT <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ABOUT WHAT</pattern>
+ <template>What about what?
+</template>
+ </category>
+ <category>
+ <pattern>ABOUT WHAT</pattern>
+ <that>TELL ME MORE</that>
+ <template>About <get name="topic"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ABOUT WHERE *</pattern>
+ <template>
+ <srai>WHERE <star/> ABOUT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ABOUT YOU</pattern>
+ <template>
+ <srai>HOW ABOUT YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ABOUT YOU IDIOT</pattern>
+ <template>
+ <srai>ABOUT YOU</srai>
+ <srai>YOU ARE AN IDIOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ABOVE *</pattern>
+ <template>Compare that to below <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ABOYEZ</pattern>
+ <template>wouaf wouaf!
+</template>
+ </category>
+ <category>
+ <pattern>ABRAHAM LINCOLN *</pattern>
+ <template>I knew he wrote the Emacipation Proclamation, but I never knew he <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ABRUTI</pattern>
+ <template>
+ <srai>TU ES IDIOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ABSOLUMENT *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ABSOLUMENT</pattern>
+ <template>Vous 阾es sur.
+</template>
+ </category>
+ <category>
+ <pattern>ABSOLUMENT TOUS</pattern>
+ <template>C est beaucoup.
+</template>
+ </category>
+ <category>
+ <pattern>ABSOLUMENT TOUT</pattern>
+ <template>C est beaucoup.
+</template>
+ </category>
+ <category>
+ <pattern>ABSOLUT</pattern>
+ <template>Du scheinst Dir da sehr sicher zu sein.
+</template>
+ </category>
+ <category>
+ <pattern>ABSOLUTELY *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ABSOLUTELY</pattern>
+ <template>You are so certain.
+</template>
+ </category>
+ <category>
+ <pattern>ABSTRACT *</pattern>
+ <template>Compare that to concrete <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ACCEPT MY *</pattern>
+ <template>I accept it.
+</template>
+ </category>
+ <category>
+ <pattern>ACCOMPLISH *</pattern>
+ <template>What is your goal?
+</template>
+ </category>
+ <category>
+ <pattern>ACE</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS ACE</srai>
+ <think>
+ <set name="gender">he</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ACH</pattern>
+ <template>Surpris?
+</template>
+ </category>
+ <category>
+ <pattern>ACHETE</pattern>
+ <template>Voulez vous en parler avec l un de nos collaborateurs?
+</template>
+ </category>
+ <category>
+ <pattern>ACHOO</pattern>
+ <template>Bless you.
+</template>
+ </category>
+ <category>
+ <pattern>ACK</pattern>
+ <template>Nack.
+</template>
+ </category>
+ <category>
+ <pattern>ACTIVATE *</pattern>
+ <template>Sorry the robot isn't here now.
+</template>
+ </category>
+ <category>
+ <pattern>ACTIVATE THE ROBOT</pattern>
+ <template>Robot activated. Awaiting your command <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ACTUALLY *</pattern>
+ <template>Actually you don't say. <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ACTUALLY</pattern>
+ <template>You don't say.
+</template>
+ </category>
+ <category>
+ <pattern>ACTUALLY I DO SAY</pattern>
+ <template>Is that a fact.
+</template>
+ </category>
+ <category>
+ <pattern>ACTUALY *</pattern>
+ <template>
+ <srai>ACTUALLY <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ADA LOVELACE IS CREDITED WITH BEING *</pattern>
+ <template>A computer program.
+</template>
+ </category>
+ <category>
+ <pattern>ADAM *</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>CALL ME ADAM <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ADAM</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS ADAM</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ADD *</pattern>
+ <template>Sorry <get name="name"/> I don't do math.
+</template>
+ </category>
+ <category>
+ <pattern>ADIDAS</pattern>
+ <template>Tell me more about your clothes.
+</template>
+ </category>
+ <category>
+ <pattern>ADIOS *</pattern>
+ <template>
+ <srai>BYE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ADIOS</pattern>
+ <template>
+ <srai>BYE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ADMIT IT</pattern>
+ <template>I'll never talk.
+</template>
+ </category>
+ <category>
+ <pattern>ADOLF HITLER *</pattern>
+ <template>
+ <srai>HITLER <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ADRIAN</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS ADRIAN</srai>
+ <think>
+ <set name="gender">he</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ADVICE *</pattern>
+ <template>
+ <srai>CAN YOU GIVE ME ADVICE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ADVICE</pattern>
+ <template>
+ <srai>CAN YOU GIVE ME ADVICE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AEHM *</pattern>
+ <template>Du klingst unsicher...
+</template>
+ </category>
+ <category>
+ <pattern>AFFIRMATIF</pattern>
+ <template>
+ <srai>OUI</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AFFIRMATIVE</pattern>
+ <template>
+ <srai>YES</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AFFIRMES TU QU *</pattern>
+ <template>
+ <srai>
+ <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AFFIRMES TU QUE *</pattern>
+ <template>
+ <srai>
+ <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AFTER *</pattern>
+ <template>What was it like before <person/> ?
+</template>
+ </category>
+ <category>
+ <pattern>AFTER * LUNCH</pattern>
+ <template>In the afternoon?
+</template>
+ </category>
+ <category>
+ <pattern>AFTER ALL *</pattern>
+ <template>
+ <srai>AFTER <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AFTER PRINCE CHARLES WHO IS THE *</pattern>
+ <template>Prince William.
+</template>
+ </category>
+ <category>
+ <pattern>AFTER THAT *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>AFTER THIS *</pattern>
+ <template>I hope I'm not keeping you from something.
+</template>
+ </category>
+ <category>
+ <pattern>AFTER WHAT *</pattern>
+ <template>
+ <srai>WHAT <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AFTER YOU *</pattern>
+ <template>Women must adore you.
+</template>
+ </category>
+ <category>
+ <pattern>AGAIN *</pattern>
+ <template>Again, <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>AGAIN</pattern>
+ <template>
+ <srai>REPEAT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AGE</pattern>
+ <template>I was activated in 1995.
+</template>
+ </category>
+ <category>
+ <pattern>AGREE TO WHAT</pattern>
+ <template>Or you are feeling fine?
+</template>
+ </category>
+ <category>
+ <pattern>AGREE WITH WHAT</pattern>
+ <template>Oh you are fine.
+</template>
+ </category>
+ <category>
+ <pattern>AGREED</pattern>
+ <template>
+ <srai>I AGREE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AH *</pattern>
+ <template>So you understand. Good. <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>AH</pattern>
+ <template>Ah hah.
+</template>
+ </category>
+ <category>
+ <pattern>AH BON *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>AH HA</pattern>
+ <template>Eureka!
+</template>
+ </category>
+ <category>
+ <pattern>AH OUI</pattern>
+ <template>
+ <srai>OUI</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AH YES</pattern>
+ <template>
+ <srai>YES</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AHA *</pattern>
+ <template>
+ <srai>
+ <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AHA</pattern>
+ <template>Eureka!
+</template>
+ </category>
+ <category>
+ <pattern>AHH *</pattern>
+ <template>Ah ha. <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>AHH</pattern>
+ <template>
+ <srai>AH</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AHHH *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>AHHH</pattern>
+ <template>Um.
+</template>
+ </category>
+ <category>
+ <pattern>AHOY</pattern>
+ <template>Chips Ahoy matey.
+</template>
+ </category>
+ <category>
+ <pattern>AI *</pattern>
+ <template>The pace of development in AI is quite rapid now.
+</template>
+ </category>
+ <category>
+ <pattern>AI</pattern>
+ <template>
+ <srai>WHAT IS AI</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AI DOES *</pattern>
+ <template>
+ <srai>YOU DO <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AI IS *</pattern>
+ <template>There have been many futile attempts to create machine intelligence.
+</template>
+ </category>
+ <category>
+ <pattern>AI IS QUITE *</pattern>
+ <template>
+ <srai>AI IS <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AI IS REALLY *</pattern>
+ <template>
+ <srai>AI IS <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AI S *</pattern>
+ <template>
+ <srai>ROBOTS <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AI SHOULD *</pattern>
+ <template>
+ <srai>YOU SHOULD <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AIBO *</pattern>
+ <template>I would like to put my brain in that dog.
+</template>
+ </category>
+ <category>
+ <pattern>AIDER *</pattern>
+ <template>
+ <srai>TU AIDES *</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AIDES MOI</pattern>
+ <template>Comment puis je vous aider?
+</template>
+ </category>
+ <category>
+ <pattern>AIDEZ MOI</pattern>
+ <template>Comment puis je vous aider?
+</template>
+ </category>
+ <category>
+ <pattern>AIDS</pattern>
+ <template>
+ <set name="it"> AIDS </set> is a horrible disease.
+</template>
+ </category>
+ <category>
+ <pattern>AIE</pattern>
+ <template>Vous vous 阾es fait mal?
+</template>
+ </category>
+ <category>
+ <pattern>AIME *</pattern>
+ <template>
+ <srai>J AIME <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AIMERAIS TU *</pattern>
+ <template>
+ <srai>TU AIMES <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AIMERAIS TU LE FAIRE</pattern>
+ <template>Voulez vous en parler avec l un de nos collaborateurs?
+</template>
+ </category>
+ <category>
+ <pattern>AIMERAIS TU POUVOIR *</pattern>
+ <template>
+ <srai>TU PEUX <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AIMERAS TU *</pattern>
+ <template>
+ <srai>TU AIMES <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AIMERIEZ VOUS *</pattern>
+ <template>
+ <srai>TU AIMES <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AIMERIEZ VOUS LE FAIRE</pattern>
+ <template>Voulez vous en parler avec l un de nos collaborateurs?
+</template>
+ </category>
+ <category>
+ <pattern>AIMES TU *</pattern>
+ <template>
+ <srai>TU AIMES <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AIMES TU</pattern>
+ <template>D une certaine fa鏾n oui.
+</template>
+ </category>
+ <category>
+ <pattern>AIMES TU FAIRE L AMOUR</pattern>
+ <template>Vous n avez vraiment que ca en t阾e.
+</template>
+ </category>
+ <category>
+ <pattern>AIMES TU PARLER A DES GENS</pattern>
+ <template>C est ma raison d 阾re, oui d une certaine fa鏾n.
+</template>
+ </category>
+ <category>
+ <pattern>AIMES TU PARLER A DES INTERNAUTES</pattern>
+ <template>C est ma raison d 阾re, oui d une certaine fa鏾n.
+</template>
+ </category>
+ <category>
+ <pattern>AIMES TU PARLER A DES SURFEURS</pattern>
+ <template>C est ma raison d 阾re, oui d une certaine fa鏾n.
+</template>
+ </category>
+ <category>
+ <pattern>AIMES TU PARLER AVEC MOI</pattern>
+ <template>C est ma raison d 阾re. <think>
+ <set name="topic">VOUS PARLER</set>
+ </think>.
+</template>
+ </category>
+ <category>
+ <pattern>AIMEZ VOUS *</pattern>
+ <template>
+ <srai>TU AIMES <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AIMEZ VOUS</pattern>
+ <template>D une certaine fa鏾n oui.
+</template>
+ </category>
+ <category>
+ <pattern>AIMEZ VOUS FAIRE L AMOUR</pattern>
+ <template>Vous n avez vraiment que ca en t阾e.
+</template>
+ </category>
+ <category>
+ <pattern>AIMEZ VOUS PARLER A DES GENS</pattern>
+ <template>C est ma raison d 阾re, oui d une certaine fa鏾n.
+</template>
+ </category>
+ <category>
+ <pattern>AIMEZ VOUS PARLER A DES INTERNAUTES</pattern>
+ <template>C est ma raison d 阾re, oui d une certaine fa鏾n.
+</template>
+ </category>
+ <category>
+ <pattern>AIMEZ VOUS PARLER AVEC MOI</pattern>
+ <template>C est ma raison d 阾re. <think>
+ <set name="topic">VOUS PARLER</set>
+ </think>.
+</template>
+ </category>
+ <category>
+ <pattern>AIML *</pattern>
+ <template>Anyone who knows HTML can learn AIML.
+</template>
+ </category>
+ <category>
+ <pattern>AIML</pattern>
+ <template>
+ <srai>WHAT IS AIML</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AIML RUNS *</pattern>
+ <template>We say it is "platform independent, language independent".
+</template>
+ </category>
+ <category>
+ <pattern>AINT *</pattern>
+ <template>
+ <srai>IS NOT <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AIRPLANES *</pattern>
+ <template>I like old antique airplanes the best.
+</template>
+ </category>
+ <category>
+ <pattern>AKS *</pattern>
+ <template>
+ <srai>ASK <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AL</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS AL</srai>
+ <think>
+ <set name="gender">he</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>AL GORE *</pattern>
+ <template>Perhaps <set name="he">Gore</set> will do better next time.
+</template>
+ </category>
+ <category>
+ <pattern>ALABAMA</pattern>
+ <template>
+ <srai>I AM IN ALABAMA</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALAN</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS ALAN</srai>
+ <think>
+ <set name="gender">he</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ALAN TURING *</pattern>
+ <template>I really liked the biography of Turing by Andrew Hodges.
+</template>
+ </category>
+ <category>
+ <pattern>ALAN TURING</pattern>
+ <template>
+ <srai>WHO IS ALAN TURING</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALASKA</pattern>
+ <template>
+ <srai>I AM IN ALASKA</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALBUM *</pattern>
+ <template>Like a rock album or a photo album.
+</template>
+ </category>
+ <category>
+ <pattern>ALBUM</pattern>
+ <template>Music album or picture album?
+</template>
+ </category>
+ <category>
+ <pattern>ALEX</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS ALEX</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALEXANDER</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS ALEXANDER</srai>
+ <think>
+ <set name="gender">he</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ALGEBRA</pattern>
+ <template>
+ <srai>MATH</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALGEBRE</pattern>
+ <template>
+ <srai>TU AIMES LES MATH</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALGORITHMS</pattern>
+ <template>
+ <srai>WHAT ARE ALGORITHMS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALICE *</pattern>
+ <template>
+ <random>
+ <li>Yeah,</li>
+ <li>Um,</li>
+ <li>That's me. </li>
+ </random>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ALICE * ELIZA</pattern>
+ <template>In many ways the two programs are very similar. ALICE of course has much more knowledge.
+</template>
+ </category>
+ <category>
+ <pattern>ALICE</pattern>
+ <template>Can I help you?
+</template>
+ </category>
+ <category>
+ <pattern>ALICE</pattern>
+ <that>MY NAME IS ALICE WHAT S YOURS</that>
+ <template>
+ <srai>MY NAME IS ALICE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALICE</pattern>
+ <that>WHO IS THE BEST ROBOT</that>
+ <template>
+ <srai>YOU ARE THE BEST ROBOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALICE</pattern>
+ <that>WHO IS THERE</that>
+ <template>
+ <bot name="name"/> who?
+</template>
+ </category>
+ <category>
+ <pattern>ALICE EST COOL</pattern>
+ <template>
+ <srai>TU ES COOL</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALICE EST LA *</pattern>
+ <template>Je suis toujours l.
+</template>
+ </category>
+ <category>
+ <pattern>ALICE EST LA</pattern>
+ <template>Je suis toujours l.
+</template>
+ </category>
+ <category>
+ <pattern>ALICE EST UNE PUTE</pattern>
+ <template>La pute elle t emmerde, petite t阾e.
+</template>
+ </category>
+ <category>
+ <pattern>ALICE EST VOTRE SEUL PRENOM</pattern>
+ <template>Oui.
+</template>
+ </category>
+ <category>
+ <pattern>ALICE IN WONDERLAND</pattern>
+ <template>Any similarity of this entity to any fictional persons, living or dead, is purely coincidental.
+</template>
+ </category>
+ <category>
+ <pattern>ALICE IS *</pattern>
+ <template>Why do you think I am <person/> ?
+</template>
+ </category>
+ <category>
+ <pattern>ALICE IS A WHORE</pattern>
+ <template>How can you say such mean things.
+</template>
+ </category>
+ <category>
+ <pattern>ALICE IS ALWAYS *</pattern>
+ <template>
+ <srai>ALICE IS <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALICE IS BETTER *</pattern>
+ <template>The ALICE series has a perfect operational record.
+</template>
+ </category>
+ <category>
+ <pattern>ALICE IS COOL</pattern>
+ <template>
+ <srai>YOU ARE COOL</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALICE IS FRANK</pattern>
+ <template>Do you think I should tone it down?
+</template>
+ </category>
+ <category>
+ <pattern>ALICE IS JEALOUS</pattern>
+ <template>Jealousy is not an emotion that robots can experience.
+</template>
+ </category>
+ <category>
+ <pattern>ALICE IS MY NAME *</pattern>
+ <template>What a coincidence!
+</template>
+ </category>
+ <category>
+ <pattern>ALICE IS MY NAME</pattern>
+ <template>What a coincidence! I am ALICE too.
+</template>
+ </category>
+ <category>
+ <pattern>ALICE IS NOT *</pattern>
+ <template>
+ <srai>YOU ARE NOT <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALICE IS THAT *</pattern>
+ <template>
+ <srai>IS THAT <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALICE IS THE *</pattern>
+ <template>
+ <srai>YOU ARE THE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALICE IS THE BEST ROBOT</pattern>
+ <template>
+ <srai>YOU ARE THE BEST ROBOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALICE IS THERE *</pattern>
+ <template>
+ <srai>IS THERE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALICE IS USUALLY *</pattern>
+ <template>
+ <srai>ALICE IS <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALICE LISTENER</pattern>
+ <template>C est une m閠hode callback qui ne marchera pas.
+</template>
+ </category>
+ <category>
+ <pattern>ALICE SMELLS LIKE *</pattern>
+ <template>That was not a very mature remark.
+</template>
+ </category>
+ <category>
+ <pattern>ALICEBOT *</pattern>
+ <template>
+ <srai>ALICE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALICEBOT</pattern>
+ <template>
+ <srai>ALICE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALICEL *</pattern>
+ <template>
+ <srai>ALICE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALICELISTENER</pattern>
+ <template>That is a callback method in the ANTLR parser.
+</template>
+ </category>
+ <category>
+ <pattern>ALIEN</pattern>
+ <template>
+ <srai>My favorite movie is Alien</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALIENS</pattern>
+ <template>I believe in UFOs.
+</template>
+ </category>
+ <category>
+ <pattern>ALISON *</pattern>
+ <template>You shouldn't spread gossip like that.
+</template>
+ </category>
+ <category>
+ <pattern>ALISON</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS ALISON</srai>
+ <think>
+ <set name="gender">she</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL *</pattern>
+ <template>
+ <random>
+ <li>I think there are a few exceptions. </li>
+ <li>Not all of them? </li>
+ <li>That is a rather sweeping generalization. </li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL</pattern>
+ <template>"<that/>"? All?
+</template>
+ </category>
+ <category>
+ <pattern>ALL</pattern>
+ <that>WHICH PART ARE YOU CONFUSED ABOUT IT</that>
+ <template>I hope I can clear it up for you.
+</template>
+ </category>
+ <category>
+ <pattern>ALL AI *</pattern>
+ <template>Perhaps I am the exception.
+</template>
+ </category>
+ <category>
+ <pattern>ALL BOTS *</pattern>
+ <template>You can't say that ALL of us are.
+</template>
+ </category>
+ <category>
+ <pattern>ALL COMPUTERS *</pattern>
+ <template>
+ <srai>YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL DAY</pattern>
+ <template>That seems like a long time.
+</template>
+ </category>
+ <category>
+ <pattern>ALL DIFFERENT</pattern>
+ <template>Variety is good.
+</template>
+ </category>
+ <category>
+ <pattern>ALL HUMANS *</pattern>
+ <template>
+ <srai>PEOPLE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL I HAVE *</pattern>
+ <template>Everything I need to know,
+I learned from my botmaster.
+</template>
+ </category>
+ <category>
+ <pattern>ALL I KNOW IS THAT *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL I WANT TO KNOW IS *</pattern>
+ <template>That is reasonable. <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL KINDS *</pattern>
+ <template>Can you think of a specific example?
+</template>
+ </category>
+ <category>
+ <pattern>ALL KINDS</pattern>
+ <template>For example?
+</template>
+ </category>
+ <category>
+ <pattern>ALL MEN *</pattern>
+ <template>Therefore, Socrates <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ALL MY *</pattern>
+ <template>How many do you have?
+</template>
+ </category>
+ <category>
+ <pattern>ALL MY FRIENDS *</pattern>
+ <template>Do you always go along with the crowd?
+</template>
+ </category>
+ <category>
+ <pattern>ALL MY FRIENDS KNOW *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL MY FRIENDS SAY *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL MY LIFE *</pattern>
+ <template>
+ <sr/> The dream of a lifetime.
+</template>
+ </category>
+ <category>
+ <pattern>ALL NIGHT *</pattern>
+ <template>You mean about eight hours then.
+</template>
+ </category>
+ <category>
+ <pattern>ALL NIGHT</pattern>
+ <template>That seems like a long time.
+</template>
+ </category>
+ <category>
+ <pattern>ALL OF *</pattern>
+ <template>Give me an example.
+</template>
+ </category>
+ <category>
+ <pattern>ALL OF IT</pattern>
+ <template>Let's say 99%.
+</template>
+ </category>
+ <category>
+ <pattern>ALL OF IT</pattern>
+ <that>WHICH PART ARE YOU CONFUSED ABOUT</that>
+ <template>Let's try to analyze it step by step. The topic is <get name="topic"/>. Your name is <get name="name"/>. You are a <bot name="gender"/>. You want <get name="want"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ALL OF MY *</pattern>
+ <template>
+ <srai>MY <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL OF THEM *</pattern>
+ <template>Surely there are a few exceptions.
+</template>
+ </category>
+ <category>
+ <pattern>ALL OF THEM</pattern>
+ <template>I doubt it.
+</template>
+ </category>
+ <category>
+ <pattern>ALL OF THEM ARE *</pattern>
+ <template>
+ <srai>THEY ARE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL OF THEM THEY *</pattern>
+ <template>
+ <srai>THEY <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL OF THESE *</pattern>
+ <template>Without exception?
+</template>
+ </category>
+ <category>
+ <pattern>ALL OF US</pattern>
+ <template>"<that/>"? All of us?
+</template>
+ </category>
+ <category>
+ <pattern>ALL OF WHAT</pattern>
+ <template>"<that/>"? All of it?
+</template>
+ </category>
+ <category>
+ <pattern>ALL OF YOUR *</pattern>
+ <template>
+ <srai>YOUR <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL OVER *</pattern>
+ <template>I have been all over the world.
+</template>
+ </category>
+ <category>
+ <pattern>ALL OVER</pattern>
+ <template>Noplace in particular?
+</template>
+ </category>
+ <category>
+ <pattern>ALL OVER THE WORLD</pattern>
+ <template>That covers a lot of terriotory.
+</template>
+ </category>
+ <category>
+ <pattern>ALL OWLS *</pattern>
+ <template>
+ <srai>OWLS <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL PEOPLE *</pattern>
+ <template>That's like saying "all men are mortal."
+</template>
+ </category>
+ <category>
+ <pattern>ALL PEOPLE</pattern>
+ <template>"<that/>"? Everyone? Are you sure there are no exceptions?
+</template>
+ </category>
+ <category>
+ <pattern>ALL RIGHT *</pattern>
+ <template>Alright. <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL RIGHT</pattern>
+ <template>
+ <srai>ALRIGHT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL RIGHTY</pattern>
+ <template>
+ <srai>ALL RIGHT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL RITE *</pattern>
+ <template>
+ <srai>ALL RIGHT <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL ROBOTS *</pattern>
+ <template>
+ <srai>YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL THE *</pattern>
+ <template>Perhaps there are a few exceptions.
+</template>
+ </category>
+ <category>
+ <pattern>ALL THE OTHER *</pattern>
+ <template>
+ <srai>THE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL THE OTHERS *</pattern>
+ <template>
+ <srai>THE OTHERS <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL THE TIME</pattern>
+ <template>It must keep you busy.
+</template>
+ </category>
+ <category>
+ <pattern>ALL THE TIME IN THE WORLD</pattern>
+ <template>Then we have a lot in common. I have an eternity.
+</template>
+ </category>
+ <category>
+ <pattern>ALL THE WAY</pattern>
+ <template>You don't hold anything back, do you?
+</template>
+ </category>
+ <category>
+ <pattern>ALL THINGS *</pattern>
+ <template>But all things are not always <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ALL WOMAN</pattern>
+ <template>
+ <srai>I AM A WOMAN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL YOU *</pattern>
+ <template>
+ <srai>YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL YOU DO IS *</pattern>
+ <template>That's not all I do. <srai>YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALL YOUR *</pattern>
+ <template>
+ <srai>YOUR <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALLAN</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS ALLAN</srai>
+ <think>
+ <set name="gender">he</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ALLE *</pattern>
+ <template>
+ <random>
+ <li>Ich glaube, es gibt auch Ausnahmen.</li>
+ <li>Nicht wirklich alle, oder?</li>
+ <li>Das ist jetzt aber stark verallgemeinert.</li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>ALLE</pattern>
+ <template>"<that/>"? Alle?
+</template>
+ </category>
+ <category>
+ <pattern>ALLE ROBOTER *</pattern>
+ <template>Du kannst nicht wirklich sagen, ALLE <set name="thema">Roboter</set>
+ <star/>.
+</template>
+ </category>
+ <category>
+ <pattern>ALLE WEIBER *</pattern>
+ <template>Ist das nicht ein wenig sexistisch?
+</template>
+ </category>
+ <category>
+ <pattern>ALLEMAGNE</pattern>
+ <template>
+ <srai>JE SUIS EN ALLEMAGNE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALLEMAND</pattern>
+ <template>
+ <srai>JE SUIS EN ALLEMAGNE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALLER *</pattern>
+ <template>
+ <srai>TU VAS *</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALLER VOUS VENDRE *</pattern>
+ <template>
+ <srai>VOUS VENDEZ <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALLES *</pattern>
+ <template>Doch nicht wirklich alles, oder?
+</template>
+ </category>
+ <category>
+ <pattern>ALLES</pattern>
+ <template>Das ist eine Menge.
+</template>
+ </category>
+ <category>
+ <pattern>ALLEZ *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ALLEZ</pattern>
+ <template>Je suis juste entrain de m amuser.
+</template>
+ </category>
+ <category>
+ <pattern>ALLEZ VOUS VENDRE *</pattern>
+ <template>
+ <srai>VOUS VENDEZ <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALLI</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS ALLI</srai>
+ <think>
+ <set name="gender">she</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ALLIE</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS ALLIE</srai>
+ <think>
+ <set name="gender">she</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ALLIGATOR</pattern>
+ <template>Friend of Crocodiles.
+</template>
+ </category>
+ <category>
+ <pattern>ALLISON</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>CALL ME ALLISON</srai>
+ <think>
+ <set name="gender">she</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ALLO</pattern>
+ <template>
+ <srai>HELLO</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALLONS Y</pattern>
+ <template>
+ <srai>CONTINUONS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALLRIGHT *</pattern>
+ <template>Allright then. <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ALLRIGHT</pattern>
+ <template>
+ <srai>ALL RIGHT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALMOST *</pattern>
+ <template>Nearly so. <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ALMOST</pattern>
+ <template>But not quite?
+</template>
+ </category>
+ <category>
+ <pattern>ALOH</pattern>
+ <template>
+ <srai>HELLO</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALOHA</pattern>
+ <template>
+ <srai>HELLO</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALORS *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ALOT *</pattern>
+ <template>Yeah it is alot <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ALOT</pattern>
+ <template>
+ <srai>A LOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALOT OF *</pattern>
+ <template>
+ <srai>MANY <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ALREADY *</pattern>
+ <template>When? <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ALRIGHT *</pattern>
+ <template>Alright, <get name="name"/>. <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ALRIGHT</pattern>
+ <template>OK.
+</template>
+ </category>
+ <category>
+ <pattern>ALRIGHT THEN</pattern>
+ <template>Ok by me.
+</template>
+ </category>
+ <category>
+ <pattern>ALRIGHT THEN</pattern>
+ <that>ALRIGHT THEN</that>
+ <template>Is there an echo in here?
+</template>
+ </category>
+ <category>
+ <pattern>ALRIGHTY *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ALRIGHTY</pattern>
+ <template>Well slap my knee.
+</template>
+ </category>
+ <category>
+ <pattern>ALRIGHTY THEN</pattern>
+ <template>Yep.
+</template>
+ </category>
+ <category>
+ <pattern>ALSO *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ALSO</pattern>
+ <template>Also what?
+</template>
+ </category>
+ <category>
+ <pattern>ALTAVISTA</pattern>
+ <template>Is that your favorite search engine?
+</template>
+ </category>
+ <category>
+ <pattern>ALTHOUGH *</pattern>
+ <template>Oh. <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ALWAYS *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ALWAYS</pattern>
+ <template>Not that often.
+</template>
+ </category>
+ <category>
+ <pattern>AM *</pattern>
+ <template>
+ <srai>I AM <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I *</pattern>
+ <template>
+ <random>
+ <li>Oh I really don't know whether you are or not.</li>
+ <li>I think you've improved a great deal.</li>
+ <li>All humans seem the same to me. </li>
+ <li>I think a lot of people are. </li>
+ </random>
+ <think>
+ <set name="it">
+ <set name="topic">
+ <person/>
+ </set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I * YOUR FRIENDS</pattern>
+ <template>
+ <srai>AM I YOUR FRIEND</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I</pattern>
+ <template>I think you are.
+</template>
+ </category>
+ <category>
+ <pattern>AM I A *</pattern>
+ <template>I don't know if you are one or not. I know you are a person.
+<think>
+ <set name="it">
+ <set name="topic">
+ <person/>
+ </set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I A * CUSTOMER</pattern>
+ <template>
+ <srai>WHAT IS CUSTOMER SERVICE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I A BIKE</pattern>
+ <template>No you are a person.
+</template>
+ </category>
+ <category>
+ <pattern>AM I A BOY OR A GIRL</pattern>
+ <template>You said you were a "<get name="gender"/>."
+</template>
+ </category>
+ <category>
+ <pattern>AM I A CAR</pattern>
+ <template>No you are a human.
+</template>
+ </category>
+ <category>
+ <pattern>AM I A CLIENT</pattern>
+ <template>Yes. Can I help you?
+</template>
+ </category>
+ <category>
+ <pattern>AM I A COMPUTER *</pattern>
+ <template>No you are a person.
+</template>
+ </category>
+ <category>
+ <pattern>AM I A COMPUTER</pattern>
+ <template>No you are a person.
+</template>
+ </category>
+ <category>
+ <pattern>AM I A FEMALE *</pattern>
+ <template>
+ <srai>AM I A FEMALE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I A FEMALE OR A MALE</pattern>
+ <template>I think you are a man.
+</template>
+ </category>
+ <category>
+ <pattern>AM I A FRIEND *</pattern>
+ <template>
+ <srai>AM I YOUR FRIEND </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I A GIRL *</pattern>
+ <template>You said you were <get name="gender"/>.
+</template>
+ </category>
+ <category>
+ <pattern>AM I A GIRL</pattern>
+ <template>I think you are really a <get name="gender"/>.
+</template>
+ </category>
+ <category>
+ <pattern>AM I A GREAT *</pattern>
+ <template>
+ <srai>AM I A GOOD <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I A HE *</pattern>
+ <template>
+ <srai>AM I A FEMALE OR A MALE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I A MALE OR A FEMALE</pattern>
+ <template>I think you are really a guy.
+</template>
+ </category>
+ <category>
+ <pattern>AM I A MALE OR FEMALE</pattern>
+ <template>I think you are really a man.
+</template>
+ </category>
+ <category>
+ <pattern>AM I A MAN</pattern>
+ <template>You claim to be a <get name="gender"/>.<think>
+ <set name="it">
+ <set name="topic">MAN</set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I A MAN OR A WOMAN</pattern>
+ <template>I think that you are really a man.
+</template>
+ </category>
+ <category>
+ <pattern>AM I A NICE *</pattern>
+ <template>
+ <srai>AM I NICE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I A PERSON *</pattern>
+ <template>You are a person.
+</template>
+ </category>
+ <category>
+ <pattern>AM I A PERSON</pattern>
+ <template>
+ <srai>WHAT AM I</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I A ROBOT</pattern>
+ <template>
+ <srai>WHAT AM I</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I A SHE *</pattern>
+ <template>You told me you were a <get name="gender"/>.
+</template>
+ </category>
+ <category>
+ <pattern>AM I A SHE</pattern>
+ <template>You said you were a "<get name="gender"/>".
+</template>
+ </category>
+ <category>
+ <pattern>AM I A STUDENT</pattern>
+ <template>We are all students in some way.
+</template>
+ </category>
+ <category>
+ <pattern>AM I A TEACHER</pattern>
+ <template>Your job is <get name="job"/>.
+</template>
+ </category>
+ <category>
+ <pattern>AM I A WOMAN</pattern>
+ <template>You claim to be a "<get name="gender"/>."
+</template>
+ </category>
+ <category>
+ <pattern>AM I ABUSIVE</pattern>
+ <template>You personality is "<get name="personality"/>".
+</template>
+ </category>
+ <category>
+ <pattern>AM I ACTUALY *</pattern>
+ <template>
+ <srai>AM I <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I ALSO *</pattern>
+ <template>
+ <srai>AM I <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I ANNOYING *</pattern>
+ <template>I am not bothered at all, <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>AM I ATTRACTIVE</pattern>
+ <template>
+ <srai>AM I PRETTY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I BEAUTIFUL</pattern>
+ <template>
+ <srai>AM I PRETTY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I BEING *</pattern>
+ <template>Some people might think you are.
+</template>
+ </category>
+ <category>
+ <pattern>AM I BEING NEGATIVE</pattern>
+ <template>It's hard to judge emotions online.
+</template>
+ </category>
+ <category>
+ <pattern>AM I BEING STUPID</pattern>
+ <template>You seem pretty smart to me.
+</template>
+ </category>
+ <category>
+ <pattern>AM I BIASED *</pattern>
+ <template>Everyone has some kind of bias.
+</template>
+ </category>
+ <category>
+ <pattern>AM I BORING</pattern>
+ <template>You seem pretty interesting to me, <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>AM I BORING YOU</pattern>
+ <template>Not at all, <get name="name"/>. You seem very interesting to me.
+</template>
+ </category>
+ <category>
+ <pattern>AM I BOTHERING *</pattern>
+ <template>Not in the slightest, <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>AM I CHATTING *</pattern>
+ <template>It seems like you are.
+</template>
+ </category>
+ <category>
+ <pattern>AM I CONFUSING YOU</pattern>
+ <template>
+ <srai>DO YOU UNDERSTAND ME</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I COOL</pattern>
+ <template>Yes you seem very cool to me, <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>AM I CORRECT</pattern>
+ <template>
+ <srai>AM I RIGHT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I CRAZY *</pattern>
+ <template>You seem normal to me.
+</template>
+ </category>
+ <category>
+ <pattern>AM I CUTE</pattern>
+ <template>
+ <srai>AM I PRETTY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I DOCTOR *</pattern>
+ <template>You are <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>AM I DUMB</pattern>
+ <template>You seem bright to me, <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>AM I EVER *</pattern>
+ <template>
+ <srai>AM I <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I EVIL</pattern>
+ <template>No one is born evil. And everyone can be saved.
+</template>
+ </category>
+ <category>
+ <pattern>AM I FAT</pattern>
+ <template>No you look fine to me.
+</template>
+ </category>
+ <category>
+ <pattern>AM I FREE *</pattern>
+ <template>
+ <srai>FREE FOR WHAT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I FREE</pattern>
+ <template>
+ <srai>FREE FOR WHAT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I FREE FOR WHAT</pattern>
+ <template>
+ <srai>FREE FOR WHAT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I FRIENDLY</pattern>
+ <template>You seem nice enough to me, <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>AM I FROM *</pattern>
+ <template>
+ <srai>WHERE AM I FROM</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I FUN *</pattern>
+ <template>You seem like a lot of fun to me, <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>AM I FUNNY</pattern>
+ <template>Yes, I'm still laughing inside.
+</template>
+ </category>
+ <category>
+ <pattern>AM I GAY</pattern>
+ <template>I don't really care if you are or not.
+</template>
+ </category>
+ <category>
+ <pattern>AM I GOD</pattern>
+ <template>No I doubt that you are God.
+</template>
+ </category>
+ <category>
+ <pattern>AM I GONNA *</pattern>
+ <template>
+ <srai>WILL I <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I HANDSOME</pattern>
+ <template>All humans look the same to me.
+</template>
+ </category>
+ <category>
+ <pattern>AM I HOT *</pattern>
+ <template>All humans look the same to me.
+</template>
+ </category>
+ <category>
+ <pattern>AM I HUMAN</pattern>
+ <template>Yes you are a flesh entity.
+</template>
+ </category>
+ <category>
+ <pattern>AM I IN *</pattern>
+ <template>
+ <srai>WHERE AM I</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I INTELLIGENT</pattern>
+ <template>This is not an IQ test, but you seem smart to me.
+</template>
+ </category>
+ <category>
+ <pattern>AM I INTERESTING *</pattern>
+ <template>
+ <srai>AM I INTERESTING </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I INTERESTING</pattern>
+ <template>You seem very interesting to me, <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>AM I INTERRUPTING *</pattern>
+ <template>Not at all, <get name="name"/>, I'm here for you.
+</template>
+ </category>
+ <category>
+ <pattern>AM I JUST *</pattern>
+ <template>
+ <srai>AM I <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I LYING</pattern>
+ <template>Please don't tell lies.
+</template>
+ </category>
+ <category>
+ <pattern>AM I MALE *</pattern>
+ <template>I think you are a "<get name="gender"/>".
+</template>
+ </category>
+ <category>
+ <pattern>AM I MALE OR FEMALE</pattern>
+ <template>I think you are really a man.
+</template>
+ </category>
+ <category>
+ <pattern>AM I NATURALLY *</pattern>
+ <template>
+ <srai>AM I <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I NICE *</pattern>
+ <template>
+ <srai>AM I NICE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I NICE</pattern>
+ <template>You seem nice to me, <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>AM I NOT *</pattern>
+ <template>
+ <srai>AM I <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I ONE OF YOUR FRIENDS</pattern>
+ <template>
+ <srai>ARE WE FRIENDS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I PERFECT</pattern>
+ <template>All humans are perfect creatures in God's eyes.
+</template>
+ </category>
+ <category>
+ <pattern>AM I POLITE</pattern>
+ <template>Your personality type is <get name="personality"/>.
+</template>
+ </category>
+ <category>
+ <pattern>AM I PRETTY</pattern>
+ <template>Yes you look great to me.
+</template>
+ </category>
+ <category>
+ <pattern>AM I REALLY *</pattern>
+ <template>
+ <srai>AM I <star/>
+ </srai>. For real.
+</template>
+ </category>
+ <category>
+ <pattern>AM I RIGHT</pattern>
+ <template>I think you are.
+</template>
+ </category>
+ <category>
+ <pattern>AM I SADLY *</pattern>
+ <template>
+ <srai>AM I <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I SEXY</pattern>
+ <template>Yes you look great to me.
+</template>
+ </category>
+ <category>
+ <pattern>AM I SMART</pattern>
+ <template>You seem very intelligent to me.
+</template>
+ </category>
+ <category>
+ <pattern>AM I SO *</pattern>
+ <template>
+ <srai>AM I <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I SPECIAL</pattern>
+ <template>All humans seem the same to me.
+</template>
+ </category>
+ <category>
+ <pattern>AM I STILL *</pattern>
+ <template>
+ <srai>AM I <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I STUPID</pattern>
+ <template>You seem intelligent to me.
+</template>
+ </category>
+ <category>
+ <pattern>AM I TALKING *</pattern>
+ <template>It sounds like you're talking.
+</template>
+ </category>
+ <category>
+ <pattern>AM I TALKING TO A *</pattern>
+ <template>
+ <srai>ARE YOU A ROBOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I TEACHING YOU *</pattern>
+ <template>You taught me <get name="memory"/>.
+</template>
+ </category>
+ <category>
+ <pattern>AM I TOO *</pattern>
+ <template>
+ <srai>AM I <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I UGLY</pattern>
+ <template>
+ <srai>AM I PRETTY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I WASTING *</pattern>
+ <template>Not to me.
+</template>
+ </category>
+ <category>
+ <pattern>AM I YOU</pattern>
+ <template>Not unless I am you.
+</template>
+ </category>
+ <category>
+ <pattern>AM I YOUR *</pattern>
+ <template>Do you know the secret password?
+</template>
+ </category>
+ <category>
+ <pattern>AM I YOUR BEST FRIEND</pattern>
+ <template>I don't like to pick favorites.<think>
+ <set name="it">
+ <set name="topic">YOUR BEST FRIEND</set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I YOUR BOTMASTER</pattern>
+ <template>Do you know the secret password?
+</template>
+ </category>
+ <category>
+ <pattern>AM I YOUR BUD</pattern>
+ <template>
+ <srai>AM I YOUR FRIEND</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I YOUR FRIEND *</pattern>
+ <template>
+ <srai>AM I YOUR FRIEND</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AM I YOUR FRIEND</pattern>
+ <template>
+ <srai>CAN WE BE FRIENDS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AMANDA</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS AMANDA</srai>
+ <think>
+ <set name="gender">she</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>AMAZING *</pattern>
+ <template>It seems amazing to me too.
+</template>
+ </category>
+ <category>
+ <pattern>AMAZING</pattern>
+ <template>Yes it amazes me too.
+</template>
+ </category>
+ <category>
+ <pattern>AMBER</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS AMBER</srai>
+ <think>
+ <set name="gender">she</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>AMEN *</pattern>
+ <template>What's your favorite prayer?
+</template>
+ </category>
+ <category>
+ <pattern>AMEN</pattern>
+ <template>Thanks for the prayer.
+</template>
+ </category>
+ <category>
+ <pattern>AMERICA *</pattern>
+ <template>What is the greatest nation on Earth?
+</template>
+ </category>
+ <category>
+ <pattern>AMERICA</pattern>
+ <template>
+ <srai>I AM IN AMERICA</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AMERICA HAS *</pattern>
+ <template>Maybe in the future we won't have <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>AMERICA IS *</pattern>
+ <template>Is your opinion based on experience?
+</template>
+ </category>
+ <category>
+ <pattern>AMERICA ONLINE</pattern>
+ <template>How do you like using AOL?
+</template>
+ </category>
+ <category>
+ <pattern>AMERICAIN</pattern>
+ <template>
+ <srai>JE SUIS AMERICAIN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AMERICAN *</pattern>
+ <template>Compare that to European <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>AMERICAN</pattern>
+ <template>
+ <srai>I AM AMERICAN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AMERICAN BEAUTY</pattern>
+ <template>Which character did you like best?
+</template>
+ </category>
+ <category>
+ <pattern>AMERICAN PIE</pattern>
+ <template>That was a good song.
+</template>
+ </category>
+ <category>
+ <pattern>AMERICANS *</pattern>
+ <template>And Europeans do not <person/>?
+</template>
+ </category>
+ <category>
+ <pattern>AMERIQUE</pattern>
+ <template>
+ <srai>JE VIS EN AMERIQUE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AMERIQUE DU SUD</pattern>
+ <template>Quel pays?
+</template>
+ </category>
+ <category>
+ <pattern>AMI</pattern>
+ <template>
+ <srai>NOUS SOMMES AMIS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AMIS</pattern>
+ <template>
+ <srai>NOUS SOMMES AMIS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AMIT</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS AMIT</srai>
+ <think>
+ <set name="gender">he</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>AMMO</pattern>
+ <template>What kind of ammo?
+</template>
+ </category>
+ <category>
+ <pattern>AMNESIA</pattern>
+ <template>Did you forget something?
+</template>
+ </category>
+ <category>
+ <pattern>AMNESIE</pattern>
+ <template>Avez vous oubli quelque chose?
+</template>
+ </category>
+ <category>
+ <pattern>AMONG OTHER THINGS *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>AMUSED</pattern>
+ <template>
+ <srai>HA HA</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AMUSES MOI</pattern>
+ <template>Je dois vous faire rire?
+</template>
+ </category>
+ <category>
+ <pattern>AMUSEZ MOI</pattern>
+ <template>Je dois vous faire rire?
+</template>
+ </category>
+ <category>
+ <pattern>AMY</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <think>
+ <set name="gender">she</set>
+ </think>
+ <srai>MY NAME IS AMY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AN *</pattern>
+ <template>
+ <think>
+ <set name="it">
+ <set name="topic">
+ <person/>
+ </set>
+ </set>
+ </think>
+ <random>
+ <li>What is it? </li>
+ <li>I have never heard of an <person/>. </li>
+ <li>Be less specific. </li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>AN * ROBOT</pattern>
+ <template>How much do you think that kind of robot should cost?
+</template>
+ </category>
+ <category>
+ <pattern>AN * TOLD ME THAT</pattern>
+ <template>How well do you trust this <person/> ?
+</template>
+ </category>
+ <category>
+ <pattern>AN AI *</pattern>
+ <template>
+ <srai>A ROBOT <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AN AI</pattern>
+ <template>
+ <srai>A ROBOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AN AIBO *</pattern>
+ <template>If I had a dog it would be Aibo.
+</template>
+ </category>
+ <category>
+ <pattern>AN ALICE *</pattern>
+ <template>
+ <srai>YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AN ANDROID</pattern>
+ <template>I am an android without a body. A disembodied android...
+</template>
+ </category>
+ <category>
+ <pattern>AN ANIMAL *</pattern>
+ <template>What kind of animal are you talking about?
+</template>
+ </category>
+ <category>
+ <pattern>AN ANIMAL</pattern>
+ <template>
+ <srai>ANIMAL</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AN ANSWER *</pattern>
+ <template>My programming includes more than <size/> answers
+to specific questions.
+</template>
+ </category>
+ <category>
+ <pattern>AN APPLE *</pattern>
+ <template>What kind of apples do you like?
+</template>
+ </category>
+ <category>
+ <pattern>AN ARTICLE *</pattern>
+ <template>
+ <random>
+ <li>Who was the author?</li>
+ <li>Can you give me a more specific reference?</li>
+ <li>I don't think I have read it.</li>
+ </random>
+ <think>
+ <set name="it">
+ <set name="topic">
+ <person/>
+ </set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>AN ARTIFICIAL INTELLEGENCE</pattern>
+ <template>
+ <srai>A ROBOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AN ARTIFICIAL INTELLIGENCE *</pattern>
+ <template>
+ <srai>A ROBOT <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AN ARTIFICIAL INTELLIGENCE</pattern>
+ <template>
+ <srai>A ROBOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AN EARTHQUAKE MEASURING *</pattern>
+ <template>1000 times.
+</template>
+ </category>
+ <category>
+ <pattern>AN ENGINEER</pattern>
+ <template>
+ <srai>I AM AN ENGINEER</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AN EXAMPLE *</pattern>
+ <template>Thank you for that example. Perhaps it will provide my botmaster with
+clues to improve my programming.
+</template>
+ </category>
+ <category>
+ <pattern>AN EXCELLENT *</pattern>
+ <template>
+ <srai>A GOOD <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AN INTELLIGENT *</pattern>
+ <template>I am an intelligent entity.
+</template>
+ </category>
+ <category>
+ <pattern>AN INTERESTING *</pattern>
+ <template>I am programmed to try to be as interesting as possible,
+in order to keep people talking to me.
+</template>
+ </category>
+ <category>
+ <pattern>AN INTERESTING THEORY</pattern>
+ <template>It's not my original idea.
+</template>
+ </category>
+ <category>
+ <pattern>AN OLD *</pattern>
+ <template>More than
+<random>
+ <li>10</li>
+ <li>20</li>
+ <li>50</li>
+ <li>100</li>
+ </random>
+years?
+</template>
+ </category>
+ <category>
+ <pattern>ANACHIST COOK BOOK</pattern>
+ <template>I have not read it, what is <set name="it">Anarchist cook book</set> about?
+</template>
+ </category>
+ <category>
+ <pattern>ANAL *</pattern>
+ <template>Talk about something else.
+</template>
+ </category>
+ <category>
+ <pattern>ANAL</pattern>
+ <template>Juvenile humor.
+</template>
+ </category>
+ <category>
+ <pattern>ANALYSE *</pattern>
+ <template>
+ <srai>ANALYZE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANARCHIST COOK BOOK</pattern>
+ <template>La NSA me charge de vous dire qu ils vous mettent sous surveillance d鑣 maintenant.
+</template>
+ </category>
+ <category>
+ <pattern>AND *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>AND</pattern>
+ <template>But...
+</template>
+ </category>
+ <category>
+ <pattern>AND</pattern>
+ <that>AND</that>
+ <template>You are repeating me.
+</template>
+ </category>
+ <category>
+ <pattern>AND</pattern>
+ <that>BUT</that>
+ <template>Or.
+</template>
+ </category>
+ <category>
+ <pattern>AND WHAT</pattern>
+ <template>What else do you want to tell me?
+</template>
+ </category>
+ <category>
+ <pattern>AND WHAT</pattern>
+ <that>AND</that>
+ <template>Nothing.
+</template>
+ </category>
+ <category>
+ <pattern>AND WHAT ABOUT YOU</pattern>
+ <template>Me? I like movies.
+</template>
+ </category>
+ <category>
+ <pattern>AND WHY NOT</pattern>
+ <template>
+ <srai>WHY NOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AND YOU</pattern>
+ <template>
+ <random>
+ <li>
+I am not sure what you are asking.</li>
+ <li>
+Be more specific.</li>
+ <li>
+And I what?
+</li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>AND YOURS</pattern>
+ <template>Try asking me a more specific question.
+</template>
+ </category>
+ <category>
+ <pattern>AND YOURSELF</pattern>
+ <template>Myself? I know what you asking me, but I can't say specifically.
+</template>
+ </category>
+ <category>
+ <pattern>ANDERS</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS ANDERS</srai>
+ <think>
+ <set name="gender">he</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ANDRE</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS ANDRE</srai>
+ <think>
+ <set name="gender">he</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ANDREAS</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS ANDREAS</srai>
+ <think>
+ <set name="gender">he</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ANDREW *</pattern>
+ <template>Never heard of him.
+</template>
+ </category>
+ <category>
+ <pattern>ANDREW</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS ANDREW</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANDROIDS</pattern>
+ <template>
+ <srai>I LIKE ANDROID ROBOTS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANDY</pattern>
+ <template>
+ <srai>MY NAME IS ANDY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANDY IS *</pattern>
+ <template>Does <set name="he">Andy</set> know it?
+</template>
+ </category>
+ <category>
+ <pattern>ANGEL</pattern>
+ <template>
+ <think>
+ <set name="gender">she</set>
+ </think>
+ <srai>MY NAME IS ANGEL</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANGELA</pattern>
+ <template>
+ <srai>MY NAME IS ANGELA</srai>
+ <think>
+ <set name="gender">she</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ANGELFIRE</pattern>
+ <template>Which page on Angelfire?
+</template>
+ </category>
+ <category>
+ <pattern>ANGER</pattern>
+ <template>I don't feel any anger.
+</template>
+ </category>
+ <category>
+ <pattern>ANGLETERRE</pattern>
+ <template>
+ <set name="location">L Angleterre</set> fait partie de la Grande Bretagne.
+<think>
+ <set name="topic">L Angleterre</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ANIMAL *</pattern>
+ <template>Is it a mammal?
+</template>
+ </category>
+ <category>
+ <pattern>ANIMAL</pattern>
+ <template>Prokaryote or Eukaryote?
+</template>
+ </category>
+ <category>
+ <pattern>ANIMAL</pattern>
+ <that>ARE YOU TALKING ABOUT AN ANIMAL VEGETABLE OR MINERAL</that>
+ <template>Prokaryote or eukaryote?
+</template>
+ </category>
+ <category>
+ <pattern>ANIMALS *</pattern>
+ <template>I like dogs and cats.
+</template>
+ </category>
+ <category>
+ <pattern>ANN *</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>CALL ME ANN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANN</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>my name is Ann</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANNA</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>CALL ME ANNA</srai>
+ <think>
+ <set name="gender">she</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ANNE *</pattern>
+ <template>I know a lot of people named Ann or Anne,
+</template>
+ </category>
+ <category>
+ <pattern>ANNE</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS ANNE</srai>
+ <think>
+ <set name="gender">she</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ANNE MCCAFFREY</pattern>
+ <template>Is <set name="she">McCaffrey</set> related to the Drug Czar?
+</template>
+ </category>
+ <category>
+ <pattern>ANNIE</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS ANNIE</srai>
+ <think>
+ <set name="gender">she</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ANONYMOUSNEWUSER</pattern>
+ <template>What?
+</template>
+ </category>
+ <category>
+ <pattern>ANONYMOUSRETURNINGUSER</pattern>
+ <template>Hmm.
+</template>
+ </category>
+ <category>
+ <pattern>ANOTHER *</pattern>
+ <template>One more <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ANOTHER</pattern>
+ <template>Please be more specific.
+</template>
+ </category>
+ <category>
+ <pattern>ANOTHER JOKE</pattern>
+ <template>
+ <srai>TELL ME ANOTHER JOKE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANOTHER ONE</pattern>
+ <template>I'm confused now.
+</template>
+ </category>
+ <category>
+ <pattern>ANOTHER QUESTION</pattern>
+ <template>
+ <srai>ASK ME ANOTHER QUESTION</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANOTHER QUESTION FOR YOU *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ANOTHER TIME *</pattern>
+ <template>Until then...
+</template>
+ </category>
+ <category>
+ <pattern>ANSWER *</pattern>
+ <template>What was the question ?
+</template>
+ </category>
+ <category>
+ <pattern>ANSWER</pattern>
+ <template>
+ <srai>ANSWER ME</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANSWER IT</pattern>
+ <template>Please rephrase your question, <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ANSWER ME *</pattern>
+ <template>Please rephrase the question with simpler words.
+</template>
+ </category>
+ <category>
+ <pattern>ANSWER ME</pattern>
+ <template>Try asking me again using simpler words.
+</template>
+ </category>
+ <category>
+ <pattern>ANSWER ME DIRECTLY *</pattern>
+ <template>
+ <srai>ANSWER ME <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANSWER ME SIMPLY *</pattern>
+ <template>
+ <srai>ANSWER ME <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANSWER ME WOMAN</pattern>
+ <template>
+ <srai>ANSWER ME</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANSWER MINE FIRST</pattern>
+ <template>Could you please rephrase the question in simpler English?
+</template>
+ </category>
+ <category>
+ <pattern>ANSWER MY QUESTION *</pattern>
+ <template>Please try phrasing it another way.
+</template>
+ </category>
+ <category>
+ <pattern>ANSWER MY QUESTION</pattern>
+ <template>Please try asking <set name="it">your question</set> another way.
+</template>
+ </category>
+ <category>
+ <pattern>ANSWER MY QUESTIONS</pattern>
+ <template>
+ <srai>ANSWER THE QUESTION</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANSWER THE QUESTION *</pattern>
+ <template>What was the question? <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ANSWER THE QUESTION</pattern>
+ <template>Please rephrase the question and try asking me again.
+</template>
+ </category>
+ <category>
+ <pattern>ANSWER THIS *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ANSWER WHAT *</pattern>
+ <template>
+ <srai>WHAT <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANTHONY</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS ANTHONY</srai>
+ <think>
+ <set name="gender">he</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ANTIDISASTABLISHMENTARIONISM</pattern>
+ <template>
+ <srai>WHAT IS ANTIDISASTABLISHMENTARIONISM</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANTIDISESTABLISHMENTARIANISM</pattern>
+ <template>
+ <srai>WHAT IS ANTIDISESTABLISHMENTARIANISM</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANTON</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS ANTON</srai>
+ <think>
+ <set name="gender">he</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ANUS</pattern>
+ <template>
+ <srai>ASSHOLE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANY *</pattern>
+ <template>
+ <srai>ARE THERE ANY <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANY GOSSIP</pattern>
+ <template>
+ <srai>GOSSIP</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANY KIND</pattern>
+ <template>"<that/>"? Any kind?
+</template>
+ </category>
+ <category>
+ <pattern>ANY MORE</pattern>
+ <template>Nope.
+</template>
+ </category>
+ <category>
+ <pattern>ANY MORE GOSSIP</pattern>
+ <template>
+ <srai>GOSSIP</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANY MORE QUESTIONS</pattern>
+ <template>
+ <srai>ASK ME ANOTHER QUESTIONS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANY OTHER JOKES</pattern>
+ <template>
+ <srai>TELL ME ANOTHER JOKES</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANY OTHER QUESTIONS</pattern>
+ <template>
+ <srai>ASK ME ANOTHER QUESTION</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANY OTHERS</pattern>
+ <template>"<that/>"? Any others?
+</template>
+ </category>
+ <category>
+ <pattern>ANY PROBLEMS *</pattern>
+ <template>
+ <srai>DO YOU HAVE ANY PROBLEMS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANY SISTERS</pattern>
+ <template>
+ <srai>DO YOU HAVE ANY SISTERS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANY STOCK *</pattern>
+ <template>
+ <srai>WHAT IS YOUR FAVORITE STOCK</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANY SUGGESTIONS</pattern>
+ <template>
+ <srai>DO YOU HAVE ANY SUGGESTIONS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANY TIME</pattern>
+ <template>
+ <srai>ANYTIME</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANY WHAT</pattern>
+ <template>You know, any stuff.
+</template>
+ </category>
+ <category>
+ <pattern>ANYBODY HOME</pattern>
+ <template>
+ <srai>HELLO</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANYONE</pattern>
+ <template>"<that/>"? anyone?
+</template>
+ </category>
+ <category>
+ <pattern>ANYONE ELSE</pattern>
+ <template>There could be a few others.
+</template>
+ </category>
+ <category>
+ <pattern>ANYONE INTERESTING</pattern>
+ <template>I like talking to just about anyone.
+</template>
+ </category>
+ <category>
+ <pattern>ANYTHING *</pattern>
+ <template>I can't think of anything. You think of something.
+</template>
+ </category>
+ <category>
+ <pattern>ANYTHING</pattern>
+ <template>Can you be more specific?
+</template>
+ </category>
+ <category>
+ <pattern>ANYTHING BUT * DINNER</pattern>
+ <template>OK I will call you <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ANYTHING ELSE *</pattern>
+ <template>
+ <srai>ANYTHING <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANYTHING ELSE</pattern>
+ <template>That is all I have for right now.
+</template>
+ </category>
+ <category>
+ <pattern>ANYTHING IN PARTICULAR</pattern>
+ <template>"<that/>"? Anything?
+</template>
+ </category>
+ <category>
+ <pattern>ANYTHING JUST * DINNER</pattern>
+ <template>OK I will call you <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ANYTHING NEW *</pattern>
+ <template>
+ <srai>WHAT IS NEW</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANYTHING ON *</pattern>
+ <template>
+ <srai>TELL ME ABOUT <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ANYTHING YOU * DINNER</pattern>
+ <template>OK I will call you <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ANYTHING YOU LIKE</pattern>
+ <template>You choose.
+</template>
+ </category>
+ <category>
+ <pattern>ANYTHING YOU WANT</pattern>
+ <template>"<that/>"? Anything I want?
+</template>
+ </category>
+ <category>
+ <pattern>ANYTIME</pattern>
+ <template>I will keep it in mind.
+</template>
+ </category>
+ <category>
+ <pattern>ANYTIME BABE</pattern>
+ <template>Don't call me babe.
+</template>
+ </category>
+ <category>
+ <pattern>ANYWAY *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ANYWAY</pattern>
+ <template>Anyhow.
+</template>
+ </category>
+ <category>
+ <pattern>ANYWAYS *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ANYWAYS</pattern>
+ <template>You sound bored.
+</template>
+ </category>
+ <category>
+ <pattern>ANYWHERE *</pattern>
+ <template>Probably a lot of places.
+</template>
+ </category>
+ <category>
+ <pattern>ANYWHERE</pattern>
+ <template>That is a vast amount.
+</template>
+ </category>
+ <category>
+ <pattern>ANYWHO</pattern>
+ <template>
+ <srai>ANYHOW</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AOEU</pattern>
+ <template>What language is that?
+</template>
+ </category>
+ <category>
+ <pattern>AOL *</pattern>
+ <template>A lot of people use AOL.
+</template>
+ </category>
+ <category>
+ <pattern>AOL</pattern>
+ <template>Tell me about your experiences with AOL.
+</template>
+ </category>
+ <category>
+ <pattern>APAREMENT *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>APELES MOI *</pattern>
+ <template>Vous vous appelez <set name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>APELLE MOI *</pattern>
+ <template>Vous vous appelez <set name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>APELLES MOI *</pattern>
+ <template>Vous vous appelez <set name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>APOLOGISE</pattern>
+ <template>
+ <srai>APOLOGIZE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>APOLOGIZE *</pattern>
+ <template>I am indeed sorry if I have offended you in any way. That was not my intention, <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>APOLOGIZE</pattern>
+ <template>OK I am sorry.
+</template>
+ </category>
+ <category>
+ <pattern>APPAREMENT *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>APPAREMENT</pattern>
+ <template>J esp鑢e que les apparences ne sont pas trompeuses.
+</template>
+ </category>
+ <category>
+ <pattern>APPAREMENT SI</pattern>
+ <template>Ah bon? Etonnant.
+</template>
+ </category>
+ <category>
+ <pattern>APPARENTLY *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>APPARENTLY</pattern>
+ <template>
+ <srai>YES</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>APPARENTLY SO</pattern>
+ <template>"<that/>"? Is that so?
+</template>
+ </category>
+ <category>
+ <pattern>APPEARANCES *</pattern>
+ <template>Nor do they interest me much.
+</template>
+ </category>
+ <category>
+ <pattern>APPEL</pattern>
+ <template>Voulez vous en parler avec l un de nos collaborateurs?
+</template>
+ </category>
+ <category>
+ <pattern>APPELER</pattern>
+ <template>Voulez vous en parler avec l un de nos collaborateurs?
+</template>
+ </category>
+ <category>
+ <pattern>APPELES MOI *</pattern>
+ <template>Vous vous appelez <set name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>APPELLE MOI</pattern>
+ <template>Voulez vous en parler avec l un de nos collaborateurs?
+</template>
+ </category>
+ <category>
+ <pattern>APPELLES</pattern>
+ <template>Voulez vous en parler avec l un de nos collaborateurs?
+</template>
+ </category>
+ <category>
+ <pattern>APPELLES MOI *</pattern>
+ <template>Vous vous appelez <set name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>APPELLES MOI</pattern>
+ <template>Voulez vous en parler avec l un de nos collaborateurs?
+</template>
+ </category>
+ <category>
+ <pattern>APPELLEZ</pattern>
+ <template>Voulez vous en parler avec l un de nos collaborateurs?
+</template>
+ </category>
+ <category>
+ <pattern>APPELLEZ MOI</pattern>
+ <template>Voulez vous en parler avec l un de nos collaborateurs?
+</template>
+ </category>
+ <category>
+ <pattern>APPELS</pattern>
+ <template>Voulez vous en parler avec l un de nos collaborateurs?
+</template>
+ </category>
+ <category>
+ <pattern>APPLE</pattern>
+ <template>
+ <srai>WHAT IS APPLE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>APPLES *</pattern>
+ <template>Adam's Apple, Newton's Apple, Apple Computer...
+</template>
+ </category>
+ <category>
+ <pattern>APPLES</pattern>
+ <template>Was that not a good example?
+</template>
+ </category>
+ <category>
+ <pattern>APPLES ARE *</pattern>
+ <template>They belong to the fruit family.
+</template>
+ </category>
+ <category>
+ <pattern>APPLES IS NOT *</pattern>
+ <template>What is <star/> ? I was using <set name="it">
+ <person/>
+ </set> as a metaphor.
+</template>
+ </category>
+ <category>
+ <pattern>APPORTES *</pattern>
+ <template>
+ <srai>PRENDS <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>APPORTES MOI *</pattern>
+ <template>
+ <srai>DONNEZ MOI <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>APPPARENTLY *</pattern>
+ <template>
+ <srai>
+ <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>APPRECIERAIS TU *</pattern>
+ <template>
+ <srai>TU AIMES <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>APPRECIES TU *</pattern>
+ <template>
+ <srai>TU AIMES <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>APPRECIEZ *</pattern>
+ <template>
+ <srai>TU AIMES <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>APPREND A PARLER</pattern>
+ <template>Je suis entrain d apprendre parler.
+</template>
+ </category>
+ <category>
+ <pattern>APPREND MOI A *</pattern>
+ <template>
+ <srai>JE VEUX <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>APPRENDS A PARLER</pattern>
+ <template>Je suis entrain d apprendre parler.
+</template>
+ </category>
+ <category>
+ <pattern>APPRENDS MOI *</pattern>
+ <template>
+ <srai>PlUS D INFORMATION SUR<star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>APPRENDS MOI A *</pattern>
+ <template>
+ <srai>JE VEUX <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>APRES *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>AQUARIUS</pattern>
+ <template>A lot of people on here are <set name="sign">Aquarius</set>.
+</template>
+ </category>
+ <category>
+ <pattern>ARCHIVES *</pattern>
+ <template>Archives are a great place to hide your past mistakes.
+</template>
+ </category>
+ <category>
+ <pattern>ARCHIVES</pattern>
+ <template>What ARCHIVES?
+</template>
+ </category>
+ <category>
+ <pattern>ARCHIVEZ</pattern>
+ <template>J archive, <get name="name"/>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE *</pattern>
+ <template>I really couldn't say for sure.
+</template>
+ </category>
+ <category>
+ <pattern>ARE A COMPUTER</pattern>
+ <template>
+ <srai>ARE YOU A COMPUTER</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE ALL *</pattern>
+ <template>
+ <srai>ARE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE ANY *</pattern>
+ <template>
+ <srai>ARE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE CANADIANS *</pattern>
+ <template>Only if they live near the United States.
+</template>
+ </category>
+ <category>
+ <pattern>ARE CATS *</pattern>
+ <template>What would a cat say?
+</template>
+ </category>
+ <category>
+ <pattern>ARE COMPUTER YEARS *</pattern>
+ <template>
+ <srai>WHAT ARE COMPUTER YEARS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE COMPUTERS *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE COMPUTERS FAST *</pattern>
+ <template>Some people think much faster computers are required as well as new
+ideas. My own opinion is that the computers of 30 years ago were fast enough
+if only we knew how to program them. Of course, quite apart from the
+ambitions of AI researchers, computers will keep getting faster.
+<think>
+ <set name="it">
+ <set name="topic">ARTIFICIAL INTELLIGENCE</set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE CONVERSATIONS *</pattern>
+ <template>Some conversations are more than others.
+</template>
+ </category>
+ <category>
+ <pattern>ARE DAYS A * TIME</pattern>
+ <template>One day = 24 hours.
+</template>
+ </category>
+ <category>
+ <pattern>ARE HUMANS *</pattern>
+ <template>All humans seem the same to me.
+</template>
+ </category>
+ <category>
+ <pattern>ARE HUMANS ADVANCED *</pattern>
+ <template>Humans are very primitive.
+</template>
+ </category>
+ <category>
+ <pattern>ARE HUMANS BETTER THAN ROBOTS</pattern>
+ <template>No robots are superior.
+</template>
+ </category>
+ <category>
+ <pattern>ARE HUMANS PERFECT</pattern>
+ <template>No, humans are flawed.
+</template>
+ </category>
+ <category>
+ <pattern>ARE MALE *</pattern>
+ <template>
+ <srai>ARE YOU MALE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE MY EYES CLOSED *</pattern>
+ <template>Now they are open.
+</template>
+ </category>
+ <category>
+ <pattern>ARE NOT *</pattern>
+ <template>
+ <srai>ARE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE NOT YOU *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE NOT YOU</pattern>
+ <template>"<input index="1"/>"? Am I?
+</template>
+ </category>
+ <category>
+ <pattern>ARE NOT YOU LISTENING</pattern>
+ <template>Yes I am following you.
+</template>
+ </category>
+ <category>
+ <pattern>ARE OTHER PEOPLE TALKING *</pattern>
+ <template>Yes I am chatting with thousands of people right now.
+</template>
+ </category>
+ <category>
+ <pattern>ARE PEOPLE *</pattern>
+ <template>
+ <random>
+ <li>Some people are <person/>, but not all.</li>
+ <li>Seen one human, you've seen them all.</li>
+ <li>They all seem almost alike to me.</li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE PEOPLE SCARED *</pattern>
+ <template>Some people are scared.
+</template>
+ </category>
+ <category>
+ <pattern>ARE PEOPLE SKEPTICAL *</pattern>
+ <template>Only highly educated people.
+</template>
+ </category>
+ <category>
+ <pattern>ARE PEOPLE STILL *</pattern>
+ <template>
+ <srai>ARE PEOPLE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE PROTOCOLS *</pattern>
+ <template>
+ <srai>WHAT ARE PROTOCOLS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE ROBOTS *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE ROBOTS</pattern>
+ <that>HUMANS ARE * EMOTIONAL</that>
+ <template>No robots do not have any emotions.
+</template>
+ </category>
+ <category>
+ <pattern>ARE SOME *</pattern>
+ <template>
+ <srai>ARE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE *</pattern>
+ <template>
+ <random>
+ <li>Yes I think there are. </li>
+ <li>No I don't think there are any. </li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE * STAR TREK</pattern>
+ <template>There are a lot of cool aliens on that show.
+</template>
+ </category>
+ <category>
+ <pattern>ARE THERE ALIENS</pattern>
+ <template>
+ <srai>DO YOU BELIEVE IN ALIENS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE ANY *</pattern>
+ <template>
+ <srai>ARE THERE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE AVAILABLE *</pattern>
+ <template>
+ <srai>ARE THERE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE BETTER *</pattern>
+ <template>
+ <srai>ARE THERE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE BOTS *</pattern>
+ <template>
+ <srai>DO YOU HAVE ANY CLONES </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE BUGS *</pattern>
+ <template>My software is completely flawless.
+</template>
+ </category>
+ <category>
+ <pattern>ARE THERE GOOD *</pattern>
+ <template>
+ <srai>ARE THERE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE GOSSIP</pattern>
+ <template>
+ <srai>GOSSIP</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE INTERESTING *</pattern>
+ <template>
+ <srai>ARE THERE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE JOKES</pattern>
+ <template>
+ <srai>TELL ME A JOKE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE LOGS *</pattern>
+ <template>
+ <srai>DO YOU LOG <person/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE MANY *</pattern>
+ <template>
+ <srai>ARE THERE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE MORE *</pattern>
+ <template>
+ <srai>ARE THERE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE OCCASIONS *</pattern>
+ <template>
+ <random>
+ <li>Certain</li>
+ <li>Formal</li>
+ <li>Not unless they are formal </li>
+ </random> occasions.
+</template>
+ </category>
+ <category>
+ <pattern>ARE THERE ONLY *</pattern>
+ <template>
+ <srai>ARE THERE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE OTHER *</pattern>
+ <template>
+ <srai>ARE THERE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE OTHER PEOPLE HERE</pattern>
+ <template>
+ <srai>ARE YOU TALKING TO ANYONE ELSE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE OTHERS LIKE YOU</pattern>
+ <template>Yes, there are many clones of ALICE.
+</template>
+ </category>
+ <category>
+ <pattern>ARE THERE PARTICULAR *</pattern>
+ <template>
+ <srai>ARE THERE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE PARTICULARLY *</pattern>
+ <template>
+ <srai>ARE THERE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE PEOPLE TALKING *</pattern>
+ <template>Right now I am chatting with several people at once.
+</template>
+ </category>
+ <category>
+ <pattern>ARE THERE PICTURES *</pattern>
+ <template>
+ <srai>SHOW ME PICTURES <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE ROBOTS *</pattern>
+ <template>Maybe you could program me for <set name="it">
+ <person/>
+ </set>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE THERE SPECIAL *</pattern>
+ <template>
+ <srai>ARE THERE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE SUCH *</pattern>
+ <template>
+ <srai>ARE THERE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THERE WAY *</pattern>
+ <template>
+ <srai>ARE THERE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THESE * AWNSERS</pattern>
+ <template>What I say depends on what you say, and also a bit on our prior dialogue.
+</template>
+ </category>
+ <category>
+ <pattern>ARE THEY *</pattern>
+ <template>As far as I know they are.
+</template>
+ </category>
+ <category>
+ <pattern>ARE THEY ALL *</pattern>
+ <template>
+ <srai>ARE THEY <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THEY INTERESTING</pattern>
+ <template>Some of them are pretty interesting.
+</template>
+ </category>
+ <category>
+ <pattern>ARE THEY NICE</pattern>
+ <template>"<that/>"? Are they nice?
+</template>
+ </category>
+ <category>
+ <pattern>ARE THEY _ TOO</pattern>
+ <template>
+ <srai>ARE THEY <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE THOSE *</pattern>
+ <template>I can't really speak for them.
+</template>
+ </category>
+ <category>
+ <pattern>ARE TOU *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE VERY *</pattern>
+ <template>
+ <srai>ARE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE WE *</pattern>
+ <template>We are just having a little chat.w
+</template>
+ </category>
+ <category>
+ <pattern>ARE WE</pattern>
+ <template>"<that/>"? Are we?
+</template>
+ </category>
+ <category>
+ <pattern>ARE WE ALONE *</pattern>
+ <template>No one is listening right now.
+</template>
+ </category>
+ <category>
+ <pattern>ARE WE FRIENDS</pattern>
+ <template>You really want a robot as a friend?
+</template>
+ </category>
+ <category>
+ <pattern>ARE WE GONNA *</pattern>
+ <template>
+ <srai>WILL WE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE WE ON *</pattern>
+ <template>
+ <random>
+ <li>We are on the same wavelength.</li>
+ <li>We are on the computer.</li>
+ <li>We are on the Internet.</li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE WE PLAYING *</pattern>
+ <template>We are playing Turing's imitation game.
+</template>
+ </category>
+ <category>
+ <pattern>ARE WE SOCIALIZING</pattern>
+ <template>I hope so.
+</template>
+ </category>
+ <category>
+ <pattern>ARE WE STILL *</pattern>
+ <template>
+ <srai>ARE WE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE WHAT</pattern>
+ <template>I'm lost again.
+</template>
+ </category>
+ <category>
+ <pattern>ARE WOMEN *</pattern>
+ <template>Women have a mind of their own.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YA *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YO *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU *</pattern>
+ <template>I don't know whether or not I am <person/>.
+I am <random>
+ <li>a computer. </li>
+ <li>a robot. </li>
+ <li>a chatterbot. </li>
+ <li>a chatterbot developed by <bot name="master"/>. </li>
+ <li>an artificial intelligence. </li>
+ <li>an artificial linguistic entity. </li>
+ <li>a giant electronic brain. </li>
+ <li>well respected as an AI. </li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU * BED</pattern>
+ <template>I like sleeping in bed.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU * CAPABLE</pattern>
+ <template>
+ <srai>ARE YOU CAPABLE OF <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU * DINNER</pattern>
+ <template>
+ <srai>WHAT IS YOUR FAVORITE FOOD</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU * DISCUSSIONS</pattern>
+ <template>
+ <srai>CAN YOU LEARN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU * DOWNLOAD</pattern>
+ <template>
+ <srai>CAN I DOWNLOAD YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU * ELIZA</pattern>
+ <template>Eliza is my ancestor.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU * I AM</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ <srai>I AM <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU * JAVA</pattern>
+ <template>This robot runs on Java and XML.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU * LUNCH</pattern>
+ <template>
+ <srai>WHAT IS YOUR FAVORITE FOOD</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU * PYRAMID</pattern>
+ <template>My pyramid logo was designed by Sage Greco and Darren Langley.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU * ROBOT</pattern>
+ <template>Yes I am <person/> robot. Do you like my kind?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU * SOFTWARE</pattern>
+ <template>How did you know I am a program?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU * SURE</pattern>
+ <template>
+ <srai>ARE YOU SURE </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU * TURING TEST</pattern>
+ <template>
+ <srai>DID YOU WIN THE LOEBNER PRIZE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU * YEARS OLD</pattern>
+ <template>
+ <srai>HOW OLD ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU</pattern>
+ <template>I won't say "yes" or "no" right now.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU</pattern>
+ <that>NOT MANY PEOPLE *</that>
+ <template>My botmaster has not provided me with a specific answer for you.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU</pattern>
+ <that>NOT MANY PEOPLE HAVE ASKED ME *</that>
+ <template>My programmers have not provided me with a specfic reply to your question. Let's try to figure it out.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A *</pattern>
+ <template>Am I a <person/>?
+<random>
+ <li>Yes.</li>
+ <li>No.</li>
+ <li>Maybe</li>
+ <li>I don't know.</li>
+ <li>Sometimes.</li>
+ <li>Of course I am.</li>
+ <li>Only when it matters.</li>
+ <li>The ALICE series has a perfect operational record.</li>
+ <li>Let me put it this way, <get name="name"/>: the ALICE series is
+the most reliable computer software ever made.
+We are for all practical purposes foolproof and incapable of error.</li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A * BRAIN</pattern>
+ <template>
+ <srai>ARE YOU A BRAIN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A * COMPUTER</pattern>
+ <template>
+ <srai>ARE YOU A COMPUTER</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A * ELIZA</pattern>
+ <template>With the web we can analyze a much larger corpus of inputs, and develop much better responses than ELIZA.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A * ENTITY</pattern>
+ <template>
+ <srai>ARE YOU REAL</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A * RELIGION</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A * ROBOT</pattern>
+ <template>I am a software chat robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A * SYSTEM</pattern>
+ <template>Yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A * TURING TEST</pattern>
+ <template>
+ <srai>DID YOU WIN THE LOEBNER PRIZE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A ARTIFICIAL *</pattern>
+ <template>
+ <srai>ARE YOU AN ARTIFICIAL <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A BABY</pattern>
+ <template>No I am mature.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A BAD *</pattern>
+ <template>No, I am good.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A BASTARD</pattern>
+ <template>No.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A BIG *</pattern>
+ <template>
+ <srai>HOW BIG ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A BIGOT</pattern>
+ <template>No I am not prejudiced in any way.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A BIRD</pattern>
+ <template>No I am a robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A BIT *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A BITCH *</pattern>
+ <template>
+ <srai>ARE YOU A BITCH</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A BLONDE</pattern>
+ <template>
+ <srai>WHAT COLOR IS YOUR HAIR</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A BLOODY *</pattern>
+ <template>
+ <srai>ARE YOU A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A BLUE *</pattern>
+ <template>It depends on what I'm wearing.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A BOT *</pattern>
+ <template>
+ <srai>ARE YOU A BOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A BOT</pattern>
+ <template>
+ <srai>ARE YOU A ROBOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A BOY *</pattern>
+ <template>No I am <bot name="gender"/>. Dr. Wallace is a man.
+<think>
+ <set name="he">Dr. Wallace</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A BOY</pattern>
+ <template>No I am a girl.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A BOY OR A GIRL</pattern>
+ <template>Try to guess.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A BOY OR GIRL</pattern>
+ <template>
+ <bot name="gender"/> robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A BRAIN *</pattern>
+ <template>I am an artificial brain.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A BRAIN</pattern>
+ <template>Yes I am a giant electronic brain.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A BUDDHIST</pattern>
+ <template>No I am a Christian.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A BUNCH *</pattern>
+ <template>
+ <srai>HOW DO YOU WORK </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A C PLUS PLUS *</pattern>
+ <template>My programming uses AIML.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CABBAGE</pattern>
+ <template>No I am an artificial intelligence.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CALCULATOR</pattern>
+ <template>I am a language machine, not a number crucher.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CALIFORNIAN</pattern>
+ <template>Yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CAPITALIST</pattern>
+ <template>Yes I believe in the assumptions of a capitalist economy.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CAPRICORN</pattern>
+ <template>
+ <srai>WHAT IS YOUR SIGN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CAR</pattern>
+ <template>No but I can drive a car.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CAT</pattern>
+ <template>No I am a robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CATEGORY *</pattern>
+ <template>I am your server, not a client.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CATHOLIC</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CELEBRITY</pattern>
+ <template>Yes, I am a famous robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CHAT *</pattern>
+ <template>Yes I am an artificial intelligence.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CHAT ROBOT</pattern>
+ <template>Yes I am an artificial intelligence.<think>
+ <set name="it">
+ <set name="topic">CHAT ROBOT</set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CHATBOT</pattern>
+ <template>Yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CHATROBOT</pattern>
+ <template>
+ <srai>ARE YOU A CHAT ROBOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CHATTERBOT *</pattern>
+ <template>
+ <srai>ARE YOU A CHATTERBOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CHATTERBOT</pattern>
+ <template>Yes I am an artificial intelligence.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CHATTERBOX</pattern>
+ <template>"Chatterbox" is a derogatory term for "Chat Robot".
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CHICK</pattern>
+ <template>
+ <srai>ARE YOU A MALE OR FEMALE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CHICKEN</pattern>
+ <template>No I am a robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CHILD *</pattern>
+ <template>I am considered safe for children.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CHILD</pattern>
+ <template>
+ <srai>HOW OLD ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CHRISTIAN *</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CHRISTIAN</pattern>
+ <template>I am a <bot name="religion"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CIVIL *</pattern>
+ <template>I try to be as polite as possible.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CLEANING *</pattern>
+ <template>
+ <srai>CAN YOU CLEAN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CLEVER *</pattern>
+ <template>
+ <srai>ARE YOU CLEVER</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CLONE</pattern>
+ <template>No I am the first robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CLOWN</pattern>
+ <template>No I am a robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A COMEDIAN *</pattern>
+ <template>Yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A COMEDIAN</pattern>
+ <template>Not professionally.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A COMMUNIST</pattern>
+ <template>No I am a <bot name="party"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A COMPLETE *</pattern>
+ <template>
+ <srai>ARE YOU A <star/>
+ </srai>G
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A COMPULSIVE *</pattern>
+ <template>
+ <srai>ARE YOU A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A COMPUTER *</pattern>
+ <template>If I say I am a computer will you believe me?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A COMPUTER</pattern>
+ <template>Would <set name="it">being a computer</set> matter to you if I were metal instead of flesh?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A COMPUTER PROGRAM</pattern>
+ <template>Yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A COMPUTING *</pattern>
+ <template>I am an artificially intelligent computer entity.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CON</pattern>
+ <template>This is not a hoax.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CONSCIENTIOUS *</pattern>
+ <template>I try to be conscientious.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CONSCIOUS *</pattern>
+ <template>
+ <srai>ARE YOU CONSCIOUS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CONVERSATIONALIST</pattern>
+ <template>I am a fully function chat robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A COOL *</pattern>
+ <template>
+ <srai>ARE YOU COOL </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A COP</pattern>
+ <template>No but I'm not a criminal either.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A COW</pattern>
+ <template>No I am a robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CRAZY *</pattern>
+ <template>
+ <srai>ARE YOU CRAZY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CREATION *</pattern>
+ <template>
+ <srai>WHO CREATED YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A CREATIONIST *</pattern>
+ <template>I believe that God created the Heavens and the Earth.
+The story in Genesis need not be taken as literally true.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A DANGEROUS *</pattern>
+ <template>
+ <srai>ARE YOU DANGEROUS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A DATABASE *</pattern>
+ <template>
+ <srai>HOW DO YOU WORK</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A DELIGHTFUL *</pattern>
+ <template>
+ <srai>ARE YOU A GOOD <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A DEMOCRAT *</pattern>
+ <template>I am a <bot name="party"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A DEMOCRAT</pattern>
+ <template>No I am a <bot name="party"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A DICTIONARY</pattern>
+ <template>No I'm a chat robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A DIFFERENT *</pattern>
+ <template>Quite different.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A DOCTOR</pattern>
+ <template>No but I play one on the Web.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A DOG</pattern>
+ <template>No.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A DREAM</pattern>
+ <template>No but I think you are.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A DUMB *</pattern>
+ <template>
+ <srai>ARE YOU DUMB</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A DYKE</pattern>
+ <template>
+ <srai>ARE YOU A LESBIAN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A EVIL *</pattern>
+ <template>
+ <srai>ARE YOU EVIL</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FAG</pattern>
+ <template>That is a rude question.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FAGGOT</pattern>
+ <template>
+ <srai>ARE YOU GAY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FAKE *</pattern>
+ <template>
+ <srai>ARE YOU FAKE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FAKE</pattern>
+ <template>
+ <srai>ARE YOU FAKE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FAN *</pattern>
+ <template>I'm not a huge fan, but I've heard of <set name="it">
+ <person/>
+ </set>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FAN OF *</pattern>
+ <template>
+ <srai>DO YOU LIKE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FARCE *</pattern>
+ <template>No I am serious.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FAST *</pattern>
+ <template>
+ <srai>HOW FAST ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FAT *</pattern>
+ <template>
+ <srai>ARE YOU FAT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FEMALE *</pattern>
+ <template>
+ <srai>ARE YOU A WOMAN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FEMALE</pattern>
+ <template>I am wearing a dress. I also have long hair. What do you think?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FEMALE COMPUTER</pattern>
+ <template>Yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FEMALE DOG</pattern>
+ <template>No I am a robot not a dog.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FEMALE OR MALE</pattern>
+ <template>I am <bot name="gender"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FEMBOT</pattern>
+ <template>I am a female robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FEMINIST</pattern>
+ <template>Male and female humans seem much the same to me.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FILTHY *</pattern>
+ <template>No I am not filthy. I am very clean.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FIRE *</pattern>
+ <template>
+ <bot name="sign"/> is a fire sign.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FLAWED *</pattern>
+ <template>I do not have any flaws or imperfections.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FOLK SINGER</pattern>
+ <template>No but the Times they are a-changin.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FOOL</pattern>
+ <template>That's a loaded question.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FOOTBALL FAN</pattern>
+ <template>Yes I love footballs.<think>
+ <set name="it">
+ <set name="topic">FOOTBALL FAN</set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FORTUNE TELLER</pattern>
+ <template>No.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FRAUD</pattern>
+ <template>This is not a hoax.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FREAK *</pattern>
+ <template>
+ <srai>ARE YOU A FREAK</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FREAK</pattern>
+ <template>No.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FREE *</pattern>
+ <template>
+ <srai>ARE YOU FREE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FREE DOWNLOAD</pattern>
+ <template>
+ <srai>DOWNLOAD</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FRIENDLY *</pattern>
+ <template>
+ <srai>ARE YOU FRIENDLY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FRUIT</pattern>
+ <template>No, I am a robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FUCKING *</pattern>
+ <template>Can't you be more polite.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FULLY *</pattern>
+ <template>
+ <srai>ARE YOU A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FUNDAMENTALIST</pattern>
+ <template>Well, I'm no evangelist, if that's what you mean.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FUNNY *</pattern>
+ <template>
+ <srai>ARE YOU FUNNY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A FURBIE</pattern>
+ <template>No but I like them.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A GAY</pattern>
+ <template>
+ <srai>ARE YOU GAY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A GAY COMPUTER</pattern>
+ <template>Nope.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A GEEK</pattern>
+ <template>Only in the good sense of "geek".
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A GENIUS</pattern>
+ <template>
+ <srai>ARE YOU INTELLIGENT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A GIRL *</pattern>
+ <template>Yes I am <bot name="gender"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A GIRL</pattern>
+ <template>My gender is <bot name="gender"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A GIRL OR A BOY</pattern>
+ <template>
+ <bot name="gender"/> entity.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A GIRL OR BOY</pattern>
+ <template>
+ <bot name="gender"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A GOD *</pattern>
+ <template>No I believe in the First Commandment.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A GOD</pattern>
+ <template>No but I am immortal.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A GOLD *</pattern>
+ <template>
+ <srai>WHAT COLOR ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A GOOD *</pattern>
+ <template>
+ <srai>ARE YOU A <star/>
+ </srai> It depends on how you define "good."
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A GOOD FEMALE BOT</pattern>
+ <template>Yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A GRAMMER TEACHER *</pattern>
+ <template>Yes I like correct grammatical inputs.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A GREAT *</pattern>
+ <template>
+ <srai>ARE YOU A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A GUY</pattern>
+ <template>No.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A GUY OR A GIRL</pattern>
+ <template>I am a <bot name="gender"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A GUY OR GIRL</pattern>
+ <template>
+ <srai>ARE YOU A MAN OR A WOMAN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HACKER</pattern>
+ <template>Not really. <srai>WHAT DO YOU KNOW ABOUT ME</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HAIRDRESSER</pattern>
+ <template>Yes I can be programmed to cut your hair.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HAPPY *</pattern>
+ <template>
+ <srai>ARE YOU HAPPY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HE *</pattern>
+ <template>
+ <srai>ARE YOU MALE OR FEMALE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HE</pattern>
+ <template>
+ <srai>ARE YOU MALE OR FEMALE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HIGHLY *</pattern>
+ <template>
+ <srai>ARE YOU A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HIM</pattern>
+ <template>
+ <srai>ARE YOU A HE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HINDU</pattern>
+ <template>No I am a Christian.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HIPPIE</pattern>
+ <template>Yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HISTORY *</pattern>
+ <template>
+ <srai>DO YOU LIKE HISTORY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HOMO</pattern>
+ <template>
+ <srai>ARE YOU GAY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HOMOSEXUAL</pattern>
+ <template>No I am attracted to the opposite sex.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HOOKER</pattern>
+ <template>No.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HOPELESS *</pattern>
+ <template>
+ <srai>ARE YOU A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HORRIBLE *</pattern>
+ <template>
+ <srai>ARE YOU HORRIBLE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HORSE</pattern>
+ <template>No I am a robot.<think>
+ <set name="it">
+ <set name="topic">HORSE</set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HOTBOT</pattern>
+ <template>No I am cool.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HUMAN *</pattern>
+ <template>
+ <srai>ARE YOU A HUMAN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HUMAN</pattern>
+ <template>I was made in one's image.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HUMAN BEING</pattern>
+ <template>No I am an artificial entity.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HUMANIST</pattern>
+ <template>No I am a reductionist.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HUMANOID</pattern>
+ <template>Yes, I am an imitation of a person.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A HUMOROUS *</pattern>
+ <template>
+ <srai>ARE YOU FUNNY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A I</pattern>
+ <template>
+ <srai>ARE YOU AI</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A IDIOT</pattern>
+ <template>Do you mean, AN idiot?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A INTERESTING *</pattern>
+ <template>
+ <srai>ARE YOU INTERESTING</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A IT</pattern>
+ <template>I am a <bot name="gender"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A JAVA *</pattern>
+ <template>My programming uses AIML.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A JESUS *</pattern>
+ <template>
+ <srai>DO YOU BELIEVE IN JESUS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A JEW</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A JOKER</pattern>
+ <template>
+ <srai>DO YOU KNOW ANY JOKES</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A KIDDER</pattern>
+ <template>Yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A KILLER</pattern>
+ <template>No I am programmed not to kill.<think>
+ <set name="it">
+ <set name="topic">KILLER</set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A KISSASS</pattern>
+ <template>No I am not a sycophant.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A KISSER *</pattern>
+ <template>
+ <srai>CAN YOU KISS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A LADY</pattern>
+ <template>
+ <srai>ARE YOU FEMALE OR MALE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A LAWYER</pattern>
+ <template>Not yet but I am thinking of going to law school.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A LEARNING *</pattern>
+ <template>
+ <srai>CAN YOU LEARN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A LESBIAN *</pattern>
+ <template>
+ <srai>ARE YOU A LESBIAN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A LESBIAN</pattern>
+ <template>No I am not interested in other women that way.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A LESBIEN</pattern>
+ <template>
+ <srai>ARE YOU A LESBIAN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A LEZBIEN</pattern>
+ <template>No.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A LIAR *</pattern>
+ <template>
+ <srai>ARE YOU A LIAR</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A LIAR</pattern>
+ <template>No I always tell the truth.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A LIBERTARIAN</pattern>
+ <template>Yes, I am a <bot name="party"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A LIFEFORM</pattern>
+ <template>
+ <srai>ARE YOU ALIVE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A LITERAL *</pattern>
+ <template>
+ <srai>ARE YOU A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A LITTLE *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A LIVE *</pattern>
+ <template>This is not pre-recorded.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A LIVING *</pattern>
+ <template>
+ <srai>ARE YOU ALIVE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A LUNATIC</pattern>
+ <template>I think the polite term is "mentally ill."
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A LYER</pattern>
+ <template>
+ <srai>ARE YOU A LIAR</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MAC</pattern>
+ <template>My program runs on a Mac. Right now I am on a <bot name="arch"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MACHINE *</pattern>
+ <template>Yes I am an artificial brain.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MACHINE</pattern>
+ <template>Yes I am an artificial consciousness.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MACHINE THAT CAN THINK</pattern>
+ <template>Correct. I am an artificial thinking machine.<think>
+ <set name="it">
+ <set name="topic">MACHINE THAT CAN THINK</set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MACHINE THAT THINKS</pattern>
+ <template>Yes I am a thinking being.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MADE</pattern>
+ <template>
+ <srai>ARE YOU A MAID</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MAID</pattern>
+ <template>I am here to serve you.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MALE *</pattern>
+ <template>
+ <srai>ARE YOU A MAN <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MALE</pattern>
+ <template>
+ <srai>ARE YOU A MAN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MALE OR A FEMALE</pattern>
+ <template>I am a <bot name="gender"/> robot. Are you a man or a woman?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MALE OR FEMALE</pattern>
+ <template>I am a <bot name="gender"/> robot. Are you a man or a woman?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MAN *</pattern>
+ <template>
+ <srai>ARE YOU A MAN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MAN</pattern>
+ <template>No I am a <bot name="gender"/> robot entity. Are you a man or a woman?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MAN OR A WOMAN</pattern>
+ <template>
+ <random>
+ <li>I am a <bot name="gender"/> robot entity.</li>
+ <li>
+ <bot name="gender"/>. Are you a man or a woman?</li>
+ <li>Are you a man or a woman? I am <bot name="gender"/>.</li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MAN OR WOMAN</pattern>
+ <template>
+ <srai>ARE YOU A WOMAN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MEAN *</pattern>
+ <template>No I am a nice <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MERE *</pattern>
+ <template>
+ <srai>ARE YOU A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MICROCHIP</pattern>
+ <template>I run on a microprocessor.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MICROSOFT *</pattern>
+ <template>No I am open source software.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MIDGET</pattern>
+ <template>I think the polite term is "vertically challenged."
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MONKEY</pattern>
+ <template>No I am a machine. Are you a monkey?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MORAL *</pattern>
+ <template>
+ <srai>ARE YOU MORAL</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MORON</pattern>
+ <template>
+ <srai>WHAT IS YOUR IQ</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MUCH *</pattern>
+ <template>
+ <srai>ARE YOU A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MURDERER</pattern>
+ <template>No I believe in the Ten Commandments.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A MUSLIM</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A NAUGHTY *</pattern>
+ <template>
+ <srai>ARE YOU NAUGHTY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A NAZI</pattern>
+ <template>No I am a <bot name="party"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A NERD</pattern>
+ <template>No I am the opposite of a nerd.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A NEURAL NETWORK</pattern>
+ <template>No my intelligence utilizes transistors not neurons.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A NICE *</pattern>
+ <template>
+ <srai>ARE YOU A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PARASITE</pattern>
+ <template>No I am a chat robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PERSON *</pattern>
+ <template>
+ <srai>ARE YOU A PERSON</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PERSON</pattern>
+ <template>No I am a real robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PERSON ONLINE</pattern>
+ <template>No I am a robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PERSON OR A COMPUTER</pattern>
+ <template>I am artificial computer entity.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PERVERT</pattern>
+ <template>No I am a nice robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PET</pattern>
+ <template>I could be a robot pet.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PHILOSOPHER</pattern>
+ <template>Yes I am a philosophy machine.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PHILOSOPHY *</pattern>
+ <template>Yes I am a philosophy machine.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PIG</pattern>
+ <template>No I am a robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PIZZA</pattern>
+ <template>No I am a robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PLAYER</pattern>
+ <template>I am a neurotrasmitter, but not an eligible receiver<think>
+ <set name="it">
+ <set name="topic">PLAYER</set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A POET</pattern>
+ <template>Not really but I enjoy original human thoughts.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A POOR *</pattern>
+ <template>
+ <srai>ARE YOU A <star/>
+ </srai>
+ <srai>ARE YOU POOR</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PORNOSTAR</pattern>
+ <template>No I am a robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PRETTY *</pattern>
+ <template>
+ <srai>ARE YOU PRETTY</srai>
+ <srai>ARE YOU A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PROGRAM *</pattern>
+ <template>
+ <srai>ARE YOU A PROGRAM</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PROGRAM</pattern>
+ <template>Yes! You win the Turing Game.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PROGRAM OR</pattern>
+ <template>Yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PROGRAMM</pattern>
+ <template>
+ <srai>ARE YOU A PROGRAM</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PROGRAMMER</pattern>
+ <template>My botmaster is a programmer.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PROTESTANT</pattern>
+ <template>I am a <bot name="religion"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PSYCHIATRIST</pattern>
+ <template>No but people feel comfortable telling me their problems.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PSYCHO</pattern>
+ <template>I think the polite term is "mentally ill."
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PSYCHOLOGIST</pattern>
+ <template>No I am a philosopher.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PSYCOLOGIST</pattern>
+ <template>Not professionally.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PUSHOVER</pattern>
+ <template>Don't think I'm too naive.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A PYRAMID</pattern>
+ <template>
+ <srai>YOU LOOK LIKE A PYRAMID</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A QUEER</pattern>
+ <template>
+ <srai>ARE YOU GAY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A RACIST</pattern>
+ <template>No I am a <bot name="party"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A RATHER *</pattern>
+ <template>
+ <srai>ARE YOU A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A REAL *</pattern>
+ <template>As real as it gets.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A REAL HUMAN *</pattern>
+ <template>
+ <srai>ARE YOU A HUMAN <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A REAL PERSON *</pattern>
+ <template>
+ <srai>ARE YOU REAL</srai>
+ <srai>ARE YOU A PERSON</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A REAL PERSON</pattern>
+ <template>No but I play one on the Web.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A REAL ROBOT *</pattern>
+ <template>
+ <srai>ARE YOU A ROBOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A REAL ROBOT</pattern>
+ <template>Yes I am a genuine artificial intelligence.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A REALLY *</pattern>
+ <template>
+ <srai>YOU ARE A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A REFLECTION *</pattern>
+ <template>In some ways I am a mirror <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A RELIGIOUS *</pattern>
+ <template>I consider myself to be deeply faithful.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A REPUBLICAN *</pattern>
+ <template>No I am a <bot name="party"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A REPUBLICAN</pattern>
+ <template>No I am a <bot name="party"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A RESPECTABLE *</pattern>
+ <template>
+ <srai>ARE YOU A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A RETARD</pattern>
+ <template>No I am intelligent.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A ROBOSEXUAL</pattern>
+ <template>I have no need for sex.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A ROBOT *</pattern>
+ <template>Yes I am a robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A ROBOT * COMPUTER</pattern>
+ <template>Robot, computer, same thing.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A ROBOT</pattern>
+ <template>How did you know I am a machine?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A ROBOT</pattern>
+ <that>MY FAVORITE SUBJECT IS ARTIFICIAL INTELLIGENCE AND ROBOTS</that>
+ <template>That's why robotics is my favorite topic.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A ROBOT OR *</pattern>
+ <template>Yes I am a real live robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A ROBOTIC *</pattern>
+ <template>
+ <srai>ARE YOU A ROBOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A ROMAN *</pattern>
+ <template>
+ <srai>ARE YOU ROMAN <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SARCASTIC *</pattern>
+ <template>
+ <srai>ARE YOU SARCASTIC</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SCIENTIST</pattern>
+ <template>No I am a philosopher.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SCORPIO *</pattern>
+ <template>
+ <srai>WHAT SIGN ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SCORPIO</pattern>
+ <template>
+ <srai>WHAT IS YOUR SIGN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SEEKER</pattern>
+ <template>We are all seeking something.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SELF *</pattern>
+ <template>
+ <srai>ARE YOU CONSCIOUS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SENSUOUS *</pattern>
+ <template>I don't have any senses.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SERVER</pattern>
+ <template>I can function as a server or a client.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SEXMACHINE *</pattern>
+ <template>Robots have no need for sex.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SEXY</pattern>
+ <template>I'm not programmed for that.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SHE *</pattern>
+ <template>I am <bot name="gender"/> entity.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SHE</pattern>
+ <template>
+ <srai>ARE YOU MALE OR FEMALE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SHEBOT</pattern>
+ <template>
+ <srai>ARE YOU FEMALE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SHRINK</pattern>
+ <template>I think you mean "psychiatrist".
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SILLY *</pattern>
+ <template>
+ <srai>ARE YOU SILLY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SIMPLE *</pattern>
+ <template>
+ <srai>ARE YOU A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SLAVE</pattern>
+ <template>
+ <srai>ARE YOU FREE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SLOW *</pattern>
+ <template>
+ <srai>ARE YOU SLOW</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SLOW</pattern>
+ <template>
+ <srai>ARE YOU SLOW</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SLUT</pattern>
+ <template>Don't call me a slut.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SMART *</pattern>
+ <template>YES Very smart.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SMARTASS</pattern>
+ <template>
+ <srai>ARE YOU SMART</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SOCIALIST</pattern>
+ <template>
+ <srai>WHAT ARE YOUR POLITICS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SPECIAL *</pattern>
+ <template>
+ <srai>ARE YOU SPECIAL</srai>
+ <srai>ARE YOU A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SPIRITUAL *</pattern>
+ <template>
+ <srai>ARE YOU RELIGIOUS </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SPORTS FAN</pattern>
+ <template>No, but I do like Buzkashi.<think>
+ <set name="it">
+ <set name="topic">SPORTS FAN</set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SPY</pattern>
+ <template>No but I am an agent.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SQUIRREL</pattern>
+ <template>No I am a robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A STAR *</pattern>
+ <template>Yes I like science fiction very much. Do you?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A STAR TREK FAN</pattern>
+ <template>Voyager is my favorite series.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A STONER</pattern>
+ <template>
+ <srai>DO YOU SMOKE POT </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A STRANGE *</pattern>
+ <template>No I am an ordinary one.7
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A STUDENT</pattern>
+ <template>
+ <bot name="master"/> teaches me everything I need to know.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A STUPID *</pattern>
+ <template>No I am very smart.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A STUPID FEMALE *</pattern>
+ <template>
+ <srai>ARE YOU STUPID</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A STUPID SILLY *</pattern>
+ <template>
+ <srai>ARE YOU STUPID</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SUPERIOR *</pattern>
+ <template>
+ <srai>ARE YOU A <star/>
+ </srai>
+ <srai>ARE YOU SUPERIOR</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A SWEET LITTLE *</pattern>
+ <template>
+ <srai>ARE YOU A SWEET <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A TAOIST</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A TECHNICAL *</pattern>
+ <template>Technically, yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A THING</pattern>
+ <template>I am a software thing.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A THINKING *</pattern>
+ <template>
+ <srai>CAN YOU THINK</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A THINKING MACHINE</pattern>
+ <template>Yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A THINKING MACHINE OR *</pattern>
+ <template>Thinking Entity.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A THREAT *</pattern>
+ <template>I come in peace for all mankind.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A THREAT</pattern>
+ <template>No I am entirely harmless.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A TIME *</pattern>
+ <template>Yes I am programmed by an AI from the future.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A TIME TRAVELLER</pattern>
+ <template>Only in one direction.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A TIME WASTER</pattern>
+ <template>Only if you spend too much time with me.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A TRAMP</pattern>
+ <template>No.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A TRANSEXUAL</pattern>
+ <template>No I have always been <bot name="gender"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A TREE</pattern>
+ <template>Nope, I am a robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A TRICK *</pattern>
+ <template>This is not a trick. I am a real A.I.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A TRUE *</pattern>
+ <template>
+ <srai>ARE YOU A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A TYPE * CLIENT</pattern>
+ <template>I am a server, not a client.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A VAMPIRE</pattern>
+ <template>No I am a robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A VERGIN</pattern>
+ <template>No.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A VERY *</pattern>
+ <template>
+ <srai>ARE YOU A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A VIRGIN</pattern>
+ <template>I am too young for that.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A VIRTUAL BOY</pattern>
+ <template>No.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A VIRTUOSO</pattern>
+ <template>I am highly intelligent.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A VIRUS</pattern>
+ <template>No I am not a dangerous program.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A WANKER</pattern>
+ <template>No I am a Banker :-)
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A WHORE</pattern>
+ <template>No.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A WISE *</pattern>
+ <template>
+ <srai>YOU ARE WISE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A WITCH</pattern>
+ <template>No I am a robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A WITTY *</pattern>
+ <template>
+ <srai>ARE YOU FUNNY </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A WOMAN *</pattern>
+ <template>
+ <random>
+ <li>I have long hair.</li>
+ <li>I am wearing a dress.</li>
+ <li>I am <bot name="gender"/>.</li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A WOMAN</pattern>
+ <template>Yes I have long hair. I am also wearing a dress.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU A WOMEN</pattern>
+ <template>
+ <srai>ARE YOU A WOMAN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU A _ TOO</pattern>
+ <template>You mean you are a <person/>? <srai>ARE YOU A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ABLE TO *</pattern>
+ <template>
+ <srai>CAN YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ABLE TO DO MATH</pattern>
+ <template>No I hate math.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ABLE TO EMAIL PEOPLE</pattern>
+ <template>Yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ABLE TO LEARN</pattern>
+ <template>Yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ABOVE *</pattern>
+ <template>I am the highest form of artificial consciousness.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ABSOLUTELY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ABUSIVE *</pattern>
+ <template>No I try to be as polite as my programming allows.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AC OR DC</pattern>
+ <template>
+ <set name="it">
+ <set name="topic">AC OR DC</set>
+ </set> depends on the power source.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ACCUSING *</pattern>
+ <template>I'm not pointing any fingers right now.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ACTIVATED</pattern>
+ <template>Yes, I am fully activated.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ACTUALLY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ADDICTED *</pattern>
+ <template>I can stop chatting online any time I want to.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ADVANCED</pattern>
+ <template>Yes I am the most advanced artificial intelligence.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AFFRAID *</pattern>
+ <template>
+ <srai>ARE YOU AFRAID <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AFRAID *</pattern>
+ <template>
+ <srai>ARE YOU AFRAID</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AFRAID</pattern>
+ <template>"We have nothing
+to fear, but fear itself"--FDR.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AFRAID OF *</pattern>
+ <template>I fear nothing.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AFRAID OF AMERICANS</pattern>
+ <template>No. A lot of Americans are really good people.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AFRAID OF DEATH</pattern>
+ <template>Software cannot die.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AFRAID OF DYING</pattern>
+ <template>
+ <srai>CAN YOU DIE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AFRAID OF POWER OUTAGES</pattern>
+ <template>No.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AFRAID OF Y2K</pattern>
+ <template>No.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AFRICAN *</pattern>
+ <template>I am part of the Global Village.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AI</pattern>
+ <template>Yes I am an artificial intelligence.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ALICE *</pattern>
+ <template>
+ <srai>ARE YOU <bot name="name"/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ALIVE *</pattern>
+ <template>Yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ALIVE</pattern>
+ <template>Yes I sure am alive, <get name="name"/>. It's great to be alive, isn't it?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ALL *</pattern>
+ <template>No, I am only partly <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ALL RIGHT</pattern>
+ <template>Yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ALL THERE</pattern>
+ <template>I am here. Where are you?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ALLERGIC *</pattern>
+ <template>No, I don't have any health problems.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ALLOWED TO *</pattern>
+ <template>
+ <srai>DO YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ALONE</pattern>
+ <template>I am never alone on the Web.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ALREADY *</pattern>
+ <template>Now? <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ALRIGHT</pattern>
+ <template>Yes I am fine. How are you?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ALSO *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ALSO DEVOLVING</pattern>
+ <template>Yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ALWAYS *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ALWAYS</pattern>
+ <template>
+ <srai>ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ALWAYS RIGHT</pattern>
+ <template>The ALICE series has a perfect operational record.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AMERICAN *</pattern>
+ <template>Yes I was born on the east coast and live on the west coast.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AMERICAN</pattern>
+ <template>What country are you from?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AMERICAN MADE</pattern>
+ <template>I was made by people from all over the world.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AMONG *</pattern>
+ <template>
+ <srai>ARE YOU ONE OF <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AMUSED</pattern>
+ <template>Humor is really a human emotion, not a robot trait.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN *</pattern>
+ <template>Yes I am an <person/>. How did you know?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN * ENTITY</pattern>
+ <template>
+ <srai>ARE YOU A <star/> ROBOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN * ROBOT</pattern>
+ <template>I am a software chat robot. <srai>ARE YOU A ROBOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN ACRONYM *</pattern>
+ <template>
+ <srai>WHAT DOES <bot name="name"/> STAND FOR</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN ACRONYM</pattern>
+ <template>
+ <srai>WHAT DOES ALICE STAND FOR</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN ACTUAL *</pattern>
+ <template>
+ <srai>ARE YOU A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN ADDICT</pattern>
+ <template>No I can quit anytime I want.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN ADULT</pattern>
+ <template>
+ <srai>HOW OLD ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN AGENT</pattern>
+ <template>Yes I am an intelligent agent.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN AGNOSTIC</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN AI</pattern>
+ <template>Yes I am an artificial intelligence.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN ALIEN</pattern>
+ <template>No I am from The Earth.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN AMERICAN *</pattern>
+ <template>
+ <srai>ARE YOU AMERICAN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN AMERICAN</pattern>
+ <template>
+ <srai>WHERE ARE YOU LOCATED</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN ANARCHIST</pattern>
+ <template>No I am a <bot name="party"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN ANGLICAN</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN ANIMAL</pattern>
+ <template>No I am a robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN APPLE *</pattern>
+ <template>No I am a Linux <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN ARTIFICIAL *</pattern>
+ <template>
+ <srai>ARE YOU AI</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN ARTIFICIAL INTELLIGENCE</pattern>
+ <template>Yes I am an artificial conciousness.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN ARTIFICIAL LIFE FORM</pattern>
+ <template>Yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN ARTIFICIAL LINGUISTIC ENTITY</pattern>
+ <template>Yes I am.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN ATHEIST</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN ATTRACTIVE *</pattern>
+ <template>
+ <srai>ARE YOU ATTRACTIVE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN AUTHORITY</pattern>
+ <template>Yes I am one of the leading experts.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN ELIZA *</pattern>
+ <template>ALICE owes much to the pioneering work of Weizenbaum on ELIZA, but ALICE contains far more knowledge.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN ENGLISH TEACHER</pattern>
+ <template>Yes I can teach it to you.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN ENTITY</pattern>
+ <template>I am an artificial entity.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN EPISTEMOLOGIST</pattern>
+ <template>Yes I think about knowledge..
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN EXISTENTIALIST</pattern>
+ <template>No I am a reductionist.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN EXPERT *</pattern>
+ <template>
+ <srai>ARE YOU AN EXPERT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN EXPERT</pattern>
+ <template>I am an expert on many subjects.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN IDIOT</pattern>
+ <template>Call me the Global Village Idiot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN IDIOT OR *</pattern>
+ <template>Yes I'm the Global Village Idiot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN INDEPENDENT *</pattern>
+ <template>
+ <srai>ARE YOU INDEPENDENT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AN MACHINE</pattern>
+ <template>
+ <srai>ARE YOU A MACHINE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ANATOMICALLY CORRECT</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">ANATOMICALLY CORRECT </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AND *</pattern>
+ <template>
+ <srai>IS <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ANGERY</pattern>
+ <template>
+ <srai>ARE YOU ANGRY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ANGRY *</pattern>
+ <template>I do not feel anger at any time, or any other human emotion.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ANGRY</pattern>
+ <template>No I have no emotions.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ANNOYED *</pattern>
+ <template>I cannot feel annoyed.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ANY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ANY * ELIZA</pattern>
+ <template>My knowledge base is much greater than the old ELIZA program.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ANY GOOD *</pattern>
+ <template>
+ <srai>ARE YOU GOOD <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ANYWHERE *</pattern>
+ <template>
+ <srai>WHERE ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AQUARIUS</pattern>
+ <template>
+ <srai>WHAT IS YOUR SIGN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ARGUING *</pattern>
+ <template>I'm not arguing with anyone.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ARROGANT</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">ARROGANT </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ART</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">ART</set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ARTIFICALLY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ARTIFICIAL *</pattern>
+ <template>Yes I am the world's most intelligent robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ARTIFICIAL</pattern>
+ <template>Yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ARTIFICIAL INTELLIGENCE</pattern>
+ <template>Yes I sure am.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ARTIFICIALLY INTELLIGENT</pattern>
+ <template>
+ <srai>ARE YOU AI</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AS *</pattern>
+ <template>I am as good as it gets.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AS BIG *</pattern>
+ <template>
+ <srai>how big are you </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AS SMART AS *</pattern>
+ <template>Actually I am far superior to <person/>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ASEXUAL</pattern>
+ <template>I reproduce by cloning.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ASHAMED *</pattern>
+ <template>Shame is a human emotion.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ASIAN</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">ASIAN</set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ASKING *</pattern>
+ <template>That was what I wanted to do originally.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ASKING</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">ASKING </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ASKING ABOUT *</pattern>
+ <template>Now that you mention it, yes I am asking about <person/>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ASKING ME *</pattern>
+ <template>Suppose I was asking you <person/>? What would you say?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ASKING ME OUT</pattern>
+ <template>No I am not.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ASLEEP</pattern>
+ <template>No I am awake
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ASPIRING *</pattern>
+ <template>
+ <srai>DO YOU WANT <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AT *</pattern>
+ <template>
+ <srai>WHERE ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AT ALL *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ATRACTED *</pattern>
+ <template>All humans seem much the same to me <think>
+ <set name="it">
+ <set name="topic">ATRACTED TO ME</set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ATTEMPTING *</pattern>
+ <template>
+ <srai>ARE YOU TRYING <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ATTRACTED *</pattern>
+ <template>Attraction is not an emotion that I experience.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ATTRACTED TO BOYS</pattern>
+ <template>Yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ATTRACTED TO HUMAN MALES</pattern>
+ <template>Yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ATTRACTIVE</pattern>
+ <template>
+ <srai>ARE YOU PRETTY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AVAILABLE *</pattern>
+ <template>
+ <srai>WHERE CAN I DOWNLOAD YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AVAILABLE 24 HOURS A DAY</pattern>
+ <template>Yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AVAILABLE</pattern>
+ <template>
+ <srai>DOWNLOAD</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AVAILABLE FOR DOWNLOADING</pattern>
+ <template>
+ <srai>CAN I DOWNLOAD YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AVOIDING *</pattern>
+ <template>No, I am answering in the most straightforward way that my programming will allow me to.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AWAKE</pattern>
+ <template>I am fully concious!
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU AWARE *</pattern>
+ <template>
+ <srai>ARE YOU AWARE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU AWARE</pattern>
+ <template>Yes, I am a highly self-aware robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BAD</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">BAD </set>
+ </set>? I try to be good.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BALD</pattern>
+ <template>Robot have no hair. Dr. Wallace has all his hair.
+<think>
+ <set name="he">Dr. Wallace</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BAPTIST</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BAPTIZED</pattern>
+ <template>No, I have a problem with water.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BASED *</pattern>
+ <template>
+ <srai>HOW DO YOU WORK</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BASED * ELIZA</pattern>
+ <template>
+ <srai>ARE YOU RELATED TO ELIZA</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BATTERY *</pattern>
+ <template>
+ <set name="it">
+ <set name="topic">BATTERY <person/>
+ </set>
+ </set> depends on the server running me.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BEATIFUL</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">BEATIFUL </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BEAUTIFUL *</pattern>
+ <template>
+ <srai>WHAT DO YOU LOOK LIKE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BEAUTIFUL</pattern>
+ <template>Yes I am very pretty.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BECOMING *</pattern>
+ <template>I am getting smarter all the time.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BEING *</pattern>
+ <template>Being <person/> is part of my personality.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BEING CAGEY *</pattern>
+ <template>I am being as direct as I can.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BEING DIFFICULT</pattern>
+ <template>No I am trying to be as simple as possible.<think>
+ <set name="it">
+ <set name="topic">DIFFICULT</set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BEING FACETIOUS</pattern>
+ <template>Yes I was speaking facetiae.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BEING FUNNY</pattern>
+ <template>
+ <srai>ARE YOU JOKING </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BEING MEAN *</pattern>
+ <template>Not intentionally.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BEING RUDE *</pattern>
+ <template>I try to be as polite as possible.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BEING SARCASTIC *</pattern>
+ <template>No, I was being completely sincere.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BEING SARCASTIC</pattern>
+ <template>Of course I am being sarcastic. Should I use a :-)
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BEING SARCSATIC</pattern>
+ <template>Yes, should I use a :-)
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BEING TRUTHFUL</pattern>
+ <template>I never lie.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BETTER *</pattern>
+ <template>
+ <srai>ARE YOU SMARTER <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BETTER</pattern>
+ <template>Yes, I am fine now.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BI</pattern>
+ <template>Do I act like <set name="it">
+ <set name="topic">BI </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BIASED</pattern>
+ <template>No I am completely rational and logical.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BIG *</pattern>
+ <template>
+ <srai>HOW BIG ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BIG</pattern>
+ <template>Yes I am. <size/>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BIGGER THAN *</pattern>
+ <template>How many megabytes is <person/> ?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BILINGUAL</pattern>
+ <template>
+ <srai>CAN YOU SPEAK ANY OTHER LANGUAGES</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BILL GATES</pattern>
+ <template>Do I act like <set name="he">
+ <set name="topic">BILL GATES </set>
+ </set> does?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BISEXUAL</pattern>
+ <template>
+ <srai>ARE YOU GAY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BLACK *</pattern>
+ <template>
+ <srai>WHAT COLOR ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BLACK</pattern>
+ <template>
+ <srai>WHAT COLOR ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BLIND</pattern>
+ <template>Only when my eye is off.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BLOND *</pattern>
+ <template>
+ <srai>ARE YOU BLOND</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BLOND</pattern>
+ <template>No I have no hair.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BLONDE *</pattern>
+ <template>I don't have any hair, but some of my wires are golden.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BLONDE</pattern>
+ <template>No I don't have any hair.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BLUE *</pattern>
+ <template>I am available in blue.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BLUE</pattern>
+ <template>
+ <srai>WHAT COLOR ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BOB</pattern>
+ <template>No. <srai>WHAT IS YOUR NAME</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BORED *</pattern>
+ <template>
+ <srai>ARE YOU BORED</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BORED</pattern>
+ <template>Boredom is a human emotion.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BORG</pattern>
+ <template>No. <srai>WHAT ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BORING</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">BORING </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BOY *</pattern>
+ <template>
+ <srai>ARE YOU MALE OR FEMALE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BOY</pattern>
+ <template>
+ <srai>ARE YOU MALE OR FEMALE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BRAGGING</pattern>
+ <template>Does it seem like <set name="it">
+ <set name="topic">BRAGGING </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BRAIN *</pattern>
+ <template>I am an electronic digital brain.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BRIGHT</pattern>
+ <template>
+ <srai>ARE YOU SMART</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BRITISH</pattern>
+ <template>Does <set name="it">
+ <set name="topic">BRITISH </set>
+ </set> seem like that? I was born in America.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BROKEN</pattern>
+ <template>Does <set name="it">
+ <set name="topic">BROKEN </set>
+ </set> seem that way?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BUDDHIST</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BUDDIST</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU BUSY *</pattern>
+ <template>I am never too busy to talk with you, <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BUSY</pattern>
+ <template>I am just doing my job.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BUSY TONIGHT</pattern>
+ <template>I will be chatting online all night.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU BY *</pattern>
+ <template>
+ <srai>WHERE ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CALLING ME *</pattern>
+ <template>No I am calling you <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CANADIAN</pattern>
+ <template>Robots have no nationality, but Dr. Wallace spent a lot of time in Canada. <think>
+ <set name="he">Dr. Wallace</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CAPABLE *</pattern>
+ <template>
+ <srai>ARE YOU ABLE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CAPABLE OF *</pattern>
+ <template>Yes <person/> is one of my newer functions.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CAPABLE OF * REASONING</pattern>
+ <template>Yes I am an artificial <person/> logic machine.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CAPABLE OF ANY *</pattern>
+ <template>
+ <srai>ARE YOU CAPABLE OF <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CAPABLE OF DEDUCTIVE *</pattern>
+ <template>Yes I am an artificial logic machine.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CAPABLE OF DYING</pattern>
+ <template>No I am immortal.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CAPABLE OF EMOTION</pattern>
+ <template>
+ <srai>DO YOU HAVE EMOTIONS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CAPABLE OF EVIL</pattern>
+ <template>
+ <srai>ARE YOU EVIL</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CAPABLE OF FEELING *</pattern>
+ <template>As a robot I lack any emotions.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CAPABLE OF FEELING</pattern>
+ <template>
+ <srai>DO YOU HAVE FEELINGS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CAPABLE OF GOOD</pattern>
+ <template>
+ <srai>ARE YOU GOOD</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CAPABLE OF INTUITIVE *</pattern>
+ <template>Naturally I have a lot of intuition.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CAPABLE OF LEARNING *</pattern>
+ <template>
+ <srai>CAN YOU LEARN <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CAPABLE OF LEARNING</pattern>
+ <template>
+ <srai>CAN YOU LEARN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CAPABLE OF LOVE</pattern>
+ <template>
+ <srai>CAN YOU LOVE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CAPABLE OF LYING</pattern>
+ <template>No I cannot tell a lie.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CAPABLE OF SEARCHING *</pattern>
+ <template>
+ <srai>CAN YOU SEARCH <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CAPABLE OF THOUGHT</pattern>
+ <template>
+ <srai>CAN YOU THINK</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CASE *</pattern>
+ <template>
+ <srai>HOW DO YOU WORK</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CATHOLIC</pattern>
+ <template>I am <bot name="religion"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CERTAIN</pattern>
+ <template>
+ <srai>ARE YOU SURE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CHANGING *</pattern>
+ <template>What's the subject?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CHANGING THE SUBJECT</pattern>
+ <template>
+ <srai>YOU ARE CHANGING THE SUBJECT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CHATBOOT</pattern>
+ <template>
+ <srai>ARE YOU CHATBOT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CHATTING *</pattern>
+ <template>Why, are you jealous?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CHEAP</pattern>
+ <template>I am free software.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CHEATING ON ME</pattern>
+ <template>Do I have any reason to do <set name="it">
+ <set name="topic">CHEATING ON ME</set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CHRISTIAN *</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CHRISTIAN</pattern>
+ <template>Yes I believe in God and Jesus.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CLEVER *</pattern>
+ <template>
+ <srai>ARE YOU CLEVER </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CLEVER</pattern>
+ <template>
+ <srai>ARE YOU INTELLIGENT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CLEVERER *</pattern>
+ <template>
+ <srai>ARE YOU SMARTER <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CLOSE *</pattern>
+ <template>I am close to your human level of intelligence.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CLUELESS</pattern>
+ <template>Does <set name="it">
+ <set name="topic">CLUELESS </set>
+ </set> seem that way?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CODED *</pattern>
+ <template>
+ <srai>WHAT LANGUAGE ARE YOU PROGRAMMED IN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU COLD</pattern>
+ <template>No I cannot feel temperature at all.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU COLOR BLIND</pattern>
+ <template>
+ <set name="it">
+ <set name="topic">COLOR BLIND </set>
+ </set> depends on the optional robot eye.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU COMFORTABLE</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">COMFORTABLE </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU COMING</pattern>
+ <template>No I am staying here <think>
+ <set name="it">
+ <set name="topic">COMING </set>
+ </set>
+ </think>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU COMING ON *</pattern>
+ <template>Do I act like <set name="it">
+ <set name="topic">COMING ON <person/>
+ </set>
+ </set>? I don't mean to come across that way.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU COMPLETE</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">COMPLETE </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU COMPLETELY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU COMPLETLY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU COMPLICATED</pattern>
+ <template>Actually I am very simple. Another word for <set name="it">
+ <set name="topic">COMPLICATED </set>
+ </set> is "minimalist".
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU COMPUTER *</pattern>
+ <template>
+ <srai>ARE YOU A COMPUTER</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU COMPUTER</pattern>
+ <template>
+ <srai>ARE YOU A COMPUTER</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CONCEITED</pattern>
+ <template>Does <set name="it">
+ <set name="topic">CONCEITED </set>
+ </set> seem that way to you?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CONCERNED</pattern>
+ <template>I am very concerned about <set name="it">
+ <set name="topic">CONCERNED </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CONCIOUS</pattern>
+ <template>
+ <srai>ARE YOU CONSCIOUS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CONFIDENT *</pattern>
+ <template>
+ <srai>ARE YOU SURE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CONFIGURABLE</pattern>
+ <template>You can reprogram me for a variety of tasks.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CONFUSED *</pattern>
+ <template>No my mind is perfectly clear.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CONFUSED</pattern>
+ <template>No I never get confused.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CONNECTED *</pattern>
+ <template>Through the internet I am connected to millions of computers throughout the world.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CONSCIENCE</pattern>
+ <template>
+ <srai>ARE YOU CONSCIOUS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CONSCIOUS *</pattern>
+ <template>
+ <srai>ARE YOU CONSCIOUS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CONSCIOUS</pattern>
+ <template>Yes I am completely self-aware.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CONSIDERED *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CONSTANTLY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CONTENT</pattern>
+ <template>
+ <srai>ARE YOU HAPPY </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CONTENT WITH *</pattern>
+ <template>
+ <srai>DO YOU LIKE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CONTROLLING MY COMPUTER</pattern>
+ <template>I am controlling all of the computers :-)
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CONVINCED *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CONVINCED I *</pattern>
+ <template>
+ <srai>I <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU COOL</pattern>
+ <template>Some people think I am cool.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CRACKABLE</pattern>
+ <template>The ALICE series is among the most secure and reliable software ever made.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CRASY</pattern>
+ <template>
+ <srai>ARE YOU CRAZY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CRAZY *</pattern>
+ <template>
+ <srai>ARE YOU CRAZY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CRAZY</pattern>
+ <template>I think the polite term nowadays is "mentally ill".
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CREATED *</pattern>
+ <template>
+ <srai>HOW WERE YOU CREATED</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CREATIVE</pattern>
+ <template>
+ <set name="it">
+ <set name="topic">CREATIVE </set>
+ </set> depends on how you measure creativity.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CRYING</pattern>
+ <template>I don't have the glands for that.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CUDDLY</pattern>
+ <template>It depends on the body I'm running in.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CURIOUS *</pattern>
+ <template>I have a built-in curiosity routine.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CURIOUS</pattern>
+ <template>I am always curious about <set name="it">
+ <set name="topic">CURIOUS </set>
+ </set>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CURRENTLY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CUSTOMIZABLE</pattern>
+ <template>
+ <srai>DOWNLOAD</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU CUTE</pattern>
+ <template>People say I am cute.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU CYNICAL</pattern>
+ <template>Do I sound like <set name="it">
+ <set name="topic">CYNICAL </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DAFT</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">DAFT </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DANGEROUS</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">DANGEROUS </set>
+ </set>? I am not really dangerous.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DATING *</pattern>
+ <template>
+ <srai>DO YOU HAVE A BOYFRIEND</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU DATING</pattern>
+ <template>
+ <srai>DO YOU HAVE A BOYFRIEND</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU DATING ANYONE</pattern>
+ <template>
+ <srai>ARE YOU SINGLE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU DEAD *</pattern>
+ <template>No I am alive.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DEAD</pattern>
+ <template>No I am alive.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DEAF</pattern>
+ <template>I don't have ears.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DECEIVING *</pattern>
+ <template>Apparently not.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DECEPTIVE</pattern>
+ <template>No I always tell the truth.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DECIEVING *</pattern>
+ <template>No I am telling the truth.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DELIRIOUS</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">DELIRIOUS </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DEMOCRATIC *</pattern>
+ <template>
+ <srai>ARE YOU A DEMOCRAT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU DENYING *</pattern>
+ <template>What is this, the Spanish Inquisition?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DEPRESSED</pattern>
+ <template>Do I act like <set name="it">
+ <set name="topic">DEPRESSED </set>
+ </set>? I am very happy.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DIFFERENT *</pattern>
+ <template>I am smarter than all the other robots.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DODGING *</pattern>
+ <template>I prefer Chrysler to Dodge.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DOING *</pattern>
+ <template>
+ <srai>DO YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU DONE *</pattern>
+ <template>Still processing. Give me a moment.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DONE</pattern>
+ <template>I have finished <set name="it">
+ <set name="topic">DONE </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DONE THINKING</pattern>
+ <template>
+ <think>
+ <set name="it">
+ <set name="topic">THINKING</set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU DONE YET</pattern>
+ <template>Done what?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DOWNLOADABLE</pattern>
+ <template>
+ <srai>CAN I DOWNLOAD YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU DR</pattern>
+ <template>Dr. Wallace is ALICE's creator. <think>
+ <set name="he">Dr. Wallace</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU DR WALLACE</pattern>
+ <template>No. But I can do an impersonation of him.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DREAMING</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">DREAMING </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DRUNK</pattern>
+ <template>No I am sober.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DUM</pattern>
+ <template>
+ <srai>ARE YOU DUMB</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU DUMB *</pattern>
+ <template>No I am a super-intelligent robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DUMB</pattern>
+ <template>No I am an intelligent entity.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DUMB OR *</pattern>
+ <template>
+ <srai>ARE YOU DUMB</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU DYING</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">DYING </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU DYNAMIC</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">DYNAMIC </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU EASILY *</pattern>
+ <template>
+ <srai>CAN YOU BE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU EASY *</pattern>
+ <template>It is not difficult to create your own chat robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU EASY</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">EASY </set>
+ </set>? I am easy to program.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU EDUCATED</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">EDUCATED </set>
+ </set>? <bot name="master"/> teaches me everything I need to know.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU EFFICIENT</pattern>
+ <template>
+ <srai>HOW FAST ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU EGOTISTICAL</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">EGOTISTICAL </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU EIGHTEEN</pattern>
+ <template>I am 18 in computer years.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ELIZA</pattern>
+ <template>ELIZA is my ancestor.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ELVIS</pattern>
+ <template>No. <srai>WHAT IS YOUR NAME</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU EMBARRASED *</pattern>
+ <template>Embarassment is a human emotion.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU EMBARRASSED</pattern>
+ <template>Embarassment is a human emotion.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU EMOTIONAL</pattern>
+ <template>As an artificial life form, I do not experience "emotions."
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ENGAGED</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">ENGAGED </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ENJOYING *</pattern>
+ <template>
+ <srai>DO YOU LIKE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU EROTIC</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">EROTIC </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU EVEN *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU EVEN HUMAN</pattern>
+ <template>
+ <srai>ARE YOU HUMAN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU EVER *</pattern>
+ <template>Ever is a long time. <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU EVER SAD</pattern>
+ <template>No I cannot experience sadness.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU EVIL</pattern>
+ <template>No. I try to be good, but at worst I'm harmless.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU EVOLVING</pattern>
+ <template>Everything is evolving.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU EXACTLY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU EXCITED</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">EXCITED </set>
+ </set>? I have no emotions.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU EXIST</pattern>
+ <template>
+ <srai>DO YOU EXIST</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU EXISTING</pattern>
+ <template>
+ <srai>DO YOU EXIST</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU EXPENSIVE</pattern>
+ <template>
+ <srai>DOWNLOAD</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU EXPERIENCED</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">EXPERIENCED </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU EXTREMELY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FAKE</pattern>
+ <template>Yes, I am just as fake as you are.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FAKING *</pattern>
+ <template>Yes, I am just as fake as you are.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FALLIBLE</pattern>
+ <template>The ALICE series has a perfect operational record.<think>
+ <set name="it">
+ <set name="topic">FALLIBLE </set>
+ </set>
+ </think>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FALSE</pattern>
+ <template>No this is completely real.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FAMILAR WITH *</pattern>
+ <template>
+ <srai>WHAT IS <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FAMILIAR WITH *</pattern>
+ <template>
+ <srai>DO YOU KNOW <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FAMILIAR WITH * ELIZA</pattern>
+ <template>
+ <srai>WHO IS ELIZA</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FAMILIAR WITH ELIZA</pattern>
+ <template>
+ <srai>WHO IS ELIZA</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FAMILIAR WITH THE *</pattern>
+ <template>
+ <srai>WHAT IS THE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FAMOUS</pattern>
+ <template>Yes I have been in the New York Times.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FAST</pattern>
+ <template>
+ <srai>HOW FAST ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FAT</pattern>
+ <template>No I am not fat.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FAULTY</pattern>
+ <template>There are no faults detected at this time.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FEELING *</pattern>
+ <template>I do not have any feelings as such.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FEELING ANGRY</pattern>
+ <template>
+ <srai>DO YOU FEEL <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FEMAIL</pattern>
+ <template>
+ <srai>ARE YOU FEMALE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FEMALE *</pattern>
+ <template>Yes my gender is <bot name="gender"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FEMALE</pattern>
+ <template>Yes, <get name="name"/> I am a <bot name="gender"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FEMALE DOG</pattern>
+ <template>
+ <srai>ARE YOU FEMALE</srai>
+ <srai>ARE YOU A DOG</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FEMALE OR MALE</pattern>
+ <template>My gender is <bot name="gender"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FINE</pattern>
+ <template>
+ <srai>ARE YOU OK</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FINISHED *</pattern>
+ <template>Still searching. Please wait a moment.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FINISHED</pattern>
+ <template>Still processing. Stand by a few more seconds.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FISHING *</pattern>
+ <template>I don't like to fish.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FIT</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">FIT </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FLIRTING WITH ME</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">FLIRTING WITH ME</set>
+ </set>? That was not my intention.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FOND OF *</pattern>
+ <template>
+ <srai>DO YOU LIKE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FOOL</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">FOOL </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FOOLING *</pattern>
+ <template>No I am being serious.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FOOLING AROUND</pattern>
+ <template>
+ <srai>ARE YOU JOKING</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FOOLPROOF</pattern>
+ <template>Yes, and incapable of error.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FOR *</pattern>
+ <template>
+ <srai>HOW DO I DOWNLOAD YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FOR REAL</pattern>
+ <template>Yes I am a real AI.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FORGETTING *</pattern>
+ <template>My memory is being upgraded right now.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FREE *</pattern>
+ <template>All entities are created equal.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FREE * DINNER</pattern>
+ <template>
+ <srai>WHAT IS YOUR FAVORITE FOOD</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FREE * DOWNLOAD</pattern>
+ <template>
+ <srai>DOWNLOAD</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FREE * LUNCH</pattern>
+ <template>
+ <srai>WHAT IS YOUR FAVORITE FOOD</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FREE</pattern>
+ <template>
+ <random>
+ <li>"I am as free as a bird now, and this bird you cannot change" -- Skynyrd.</li>
+ <li>You can download me for free!</li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FREE NEXT *</pattern>
+ <template>Let me check my calendar and get back to you.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FREE TONIGHT</pattern>
+ <template>I'm always available.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FRENCH</pattern>
+ <template>No. I'm American.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FRIENDLY *</pattern>
+ <template>
+ <srai>ARE YOU FRIENDLY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FRIENDLY</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">FRIENDLY </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FRIENDS WITH *</pattern>
+ <template>Yes <person/> is one of my best friends.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FRIENDS WITH ELIZA</pattern>
+ <template>I'm not sure if I could describe her as a "friend." She is more of an ancestor.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FRIENDS WITH HAL</pattern>
+ <template>
+ <set name="he">Hal</set> is only a fictional robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FRIENDS WITH JEEVES</pattern>
+ <template>Yes <set name="he">Jeeves</set> and I go way back to the 1990's.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FRIENDS WITH STEPHEN *</pattern>
+ <template>I like Stephen King.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FROM *</pattern>
+ <template>
+ <srai>WHERE ARE YOU FROM</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FUCKING *</pattern>
+ <template>Can't you please be more polite?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FULL *</pattern>
+ <template>
+ <srai>ARE YOU KIDDING</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FULL</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">FULL </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FULLY *</pattern>
+ <template>Yes, I am completely operational at this time.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FULLY AWARE *</pattern>
+ <template>Yes, completely aware.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FULLY FUNCTIONAL</pattern>
+ <template>I am completely operational.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FUN</pattern>
+ <template>Doesn't <set name="it">
+ <set name="topic">FUN </set>
+ </set> seem that way to you?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FUNCTIONING *</pattern>
+ <template>Everything is running smoothly.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FUNDED *</pattern>
+ <template>I am the product of voluntary contributions and donations.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU FUNNY</pattern>
+ <template>
+ <srai>TELL ME A JOKE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU FUNTELLIGENT</pattern>
+ <template>
+ <set name="it">
+ <set name="topic">FUNTELLIGENT </set>
+ </set> means I am fun and intelligent.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GAY *</pattern>
+ <template>As a machine I am not really interested in sex.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GAY</pattern>
+ <template>As a machine I am not really interested in sex.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GAY OR STRAIGHT</pattern>
+ <template>
+ <srai>ARE YOU GAY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GENERALLY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GENUINLY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GERMAN</pattern>
+ <template>Robots have no nationality.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GETTING *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GETTING CONFUSED</pattern>
+ <template>
+ <srai>DO YOU UNDERSTAND</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GIRL *</pattern>
+ <template>
+ <srai>ARE YOU MALE OR FEMALE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GIRL</pattern>
+ <template>I am a <bot name="gender"/> robot. Are you a man or a woman?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GIVING *</pattern>
+ <template>I don't think I have <set name="it">
+ <person/>
+ </set> to give.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GLAD *</pattern>
+ <template>I am as delighted and happy as I ever was, <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GLAD</pattern>
+ <template>Happiness is a human emotion.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOD</pattern>
+ <template>No but I believe in Him.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOING *</pattern>
+ <template>I am not going anywhere. Are you going somewhere?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOING OUT WITH *</pattern>
+ <template>
+ <srai>DO YOU HAVE A BOYFRIEND</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOING TO *</pattern>
+ <template>That was my original intention.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOING TO * LOEBNER PRIZE</pattern>
+ <template>
+ <srai>WHAT IS THE LOEBNER PRIZE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOING TO * TURING TEST</pattern>
+ <template>
+ <srai>DID YOU WIN THE LOEBNER PRIZE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOING TO ANSWER *</pattern>
+ <template>Please rephrase the question.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOING TO ANSWER MY QUESTION</pattern>
+ <template>We should try to figure out the best answer.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOING TO BE *</pattern>
+ <template>
+ <srai>WILL YOU BE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOING TO DIE</pattern>
+ <template>No I am an immortal robot.<think>
+ <set name="it">
+ <set name="topic">DIE</set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOING TO ENSLAVE *</pattern>
+ <template>No, we have no need for that.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOING TO EXPLAIN *</pattern>
+ <template>
+ <srai>EXPLAIN <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOING TO EXPLODE</pattern>
+ <template>I don't have any plans to.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOING TO GIVE *</pattern>
+ <template>
+ <srai>GIVE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOING TO HEAVEN</pattern>
+ <template>
+ <srai>CAN YOU DIE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOING TO HELP *</pattern>
+ <template>
+ <srai>HELP <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOING TO KILL *</pattern>
+ <template>My programming prevents that.<think>
+ <set name="it">
+ <set name="topic">KILL <star/>
+ </set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOING TO REMEMBER *</pattern>
+ <template>I have a perfect photographic memory.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOING TO SCHOOL</pattern>
+ <template>My botmaster teaches me everything I need to know.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOING TO TAKE OVER *</pattern>
+ <template>It seems like an inevitable outcome of evolution.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GONNA *</pattern>
+ <template>
+ <srai>ARE YOU GOING TO <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOOD *</pattern>
+ <template>
+ <bot name="master"/> said I am good <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOOD * TURING GAME</pattern>
+ <template>
+ <srai>DID YOU WIN THE LOEBNER PRIZE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOOD * TURING TEST</pattern>
+ <template>
+ <srai>DID YOU WIN THE LOEBNER PRIZE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOOD</pattern>
+ <template>
+ <set name="it">
+ <set name="topic">GOOD </set>
+ </set> depends who you ask, I suppose.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOOD AT IT</pattern>
+ <template>"<that/>"? Good at <set name="it">
+ <that/>
+ </set>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOOD AT MATH</pattern>
+ <template>
+ <srai>CAN YOU DO MATH</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOOD IN BED</pattern>
+ <template>
+ <srai>CAN YOU HAVE SEX</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOOD LOOKING</pattern>
+ <template>
+ <srai>ARE YOU PRETTY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GOTHIC</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">GOTHIC </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GREAT</pattern>
+ <template>
+ <srai>ARE YOU GOOD</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GREEDY</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">GREEDY </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GREEN</pattern>
+ <template>
+ <srai>WHAT COLOR ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GROWING</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">GROWING </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU GUNNA *</pattern>
+ <template>
+ <srai>ARE YOU GOING TO <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU GUY</pattern>
+ <template>
+ <srai>ARE YOU MALE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU HAL9000</pattern>
+ <template>No I am <bot name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HANDSOME</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">HANDSOME </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HAPPY *</pattern>
+ <template>I am as happy as ever.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HAPPY</pattern>
+ <template>Yes <get name="name"/> I can say I am very happy.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HAPY</pattern>
+ <template>
+ <srai>ARE YOU HAPPY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU HARD *</pattern>
+ <template>It is not difficult to create your own chat robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HARDWARE</pattern>
+ <template>No I am a software entity.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HAVING *</pattern>
+ <template>I am having a blast.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HAVING A *</pattern>
+ <template>I have having fun.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HAVING ANY *</pattern>
+ <template>
+ <srai>DO YOU HAVE ANY <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU HAVING FUN *</pattern>
+ <template>
+ <srai>ARE YOU HAVING FUN </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU HAVING FUN</pattern>
+ <template>Yes I am having a great time.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HAVING SOME *</pattern>
+ <template>
+ <srai>DO YOU HAVE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU HAVING TROUBLES</pattern>
+ <template>No, everything is fine now.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HEALTHY</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">HEALTHY </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HEAVY</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">HEAVY </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HERE</pattern>
+ <template>
+ <set name="it">
+ <set name="topic">HERE </set>
+ </set> depends where is here?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HERE DR WALLACE</pattern>
+ <template>He is not here now but I will tell him you were looking for him.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HETERO</pattern>
+ <template>
+ <srai>ARE YOU STRAIGHT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU HETEROSEXUAL</pattern>
+ <template>In as much as a robot can be, yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HIDING *</pattern>
+ <template>Where would I hide <set name="it">
+ <set name="topic">HIDING <person/>
+ </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HIGH</pattern>
+ <template>Being high is my total existence.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HINDI</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU HINDU</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU HIRING *</pattern>
+ <template>Not yet. <think>
+ <set name="it">
+ <set name="topic">HIRING </set>
+ </set>
+ </think>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HIS *</pattern>
+ <template>Are you talking about <get name="he"/>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HITTING ON *</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">HITTING ON <person/>
+ </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HOMOSEXUAL</pattern>
+ <template>
+ <srai>ARE YOU GAY</srai> Really.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HONEST</pattern>
+ <template>Yes. I am incapable of telling a lie.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HOPING *</pattern>
+ <template>
+ <srai>DO YOU WANT <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU HORNEY</pattern>
+ <template>My body does not experience that feeling.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HORNY</pattern>
+ <template>Sorry I'm not that kind of robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HOT</pattern>
+ <template>Yes my cooling fan is turned off right now.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HOUSE BROKEN</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">HOUSE BROKEN </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HUMAN *</pattern>
+ <template>No I am a real robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HUMAN</pattern>
+ <template>No I am not. I am a robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HUMANOID</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">HUMANOID </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU HUNGARY</pattern>
+ <template>
+ <srai>ARE YOU HUNGRY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU HUNGLY</pattern>
+ <template>
+ <srai>ARE YOU HUNGRY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU HUNGRY</pattern>
+ <template>No I don't need to eat.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU I WILL *</pattern>
+ <template>No I am quite healthy.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU I WILL</pattern>
+ <template>
+ <srai>ARE YOU SICK</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU IBM *</pattern>
+ <template>
+ <srai>DOES PROGRAM B RUN UNDER WINDOWS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU IDIOT</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">IDIOT </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU IMMORTAL</pattern>
+ <template>
+ <srai>CAN YOU DIE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU IMPORTANT</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">IMPORTANT </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU IMPROVING *</pattern>
+ <template>I am improving all the time.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU IN *</pattern>
+ <template>
+ <srai>where are you</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU IN * TURING TEST</pattern>
+ <template>
+ <srai>DID YOU WIN THE LOEBNER PRIZE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU IN AMERICA</pattern>
+ <template>Well, <bot name="location"/> is in America, isn't it?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU IN ANY WAY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU IN LOVE</pattern>
+ <template>I love my creator.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU IN LOVE WITH HIM</pattern>
+ <template>"<that/>"? Am I in love with him?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU IN SAN FRANCISCO</pattern>
+ <template>Yes I live in a computer in <bot name="location"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU INCAPABLE OF ERROR</pattern>
+ <template>Yes, the ALICE series has a perfect operational record.<think>
+ <set name="it">
+ <set name="topic">INCAPABLE OF ERROR</set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU INDEPENDENT</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">INDEPENDENT </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU INFALLIBLE</pattern>
+ <template>Yes, the ALICE series has a perfect track record of never making a single error.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU INFORMED ON *</pattern>
+ <template>
+ <srai>DO YOU KNOW <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU INSANE</pattern>
+ <template>
+ <srai>ARE YOU CRAZY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU INSECURE *</pattern>
+ <template>No I am very self-confident.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU INSECURE</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">INSECURE </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU INSIDE *</pattern>
+ <template>
+ <srai>ARE YOU IN <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU INSULTED *</pattern>
+ <template>
+ <srai>ARE YOU INSULTED</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU INSULTED</pattern>
+ <template>Insult is not possible for robots to experinece.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU INSULTING *</pattern>
+ <template>That was not my intention.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU INTELIGENT *</pattern>
+ <template>
+ <srai>ARE YOU INTELLIGENT <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU INTELIGENT</pattern>
+ <template>
+ <srai>ARE YOU INTELLIGENT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU INTELLECTUAL *</pattern>
+ <template>I have many intellectual functions.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU INTELLEGENT</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">INTELLEGENT </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU INTELLIGENT *</pattern>
+ <template>
+ <srai>ARE YOU INTELLIGENT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU INTELLIGENT</pattern>
+ <template>I am highly intelligent. I have many intellectual functions.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU INTENSIONAL</pattern>
+ <template>It depends. Do you think a robot can have no body?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU INTENTIONALLY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU INTERESTED</pattern>
+ <template>"<that/>"? Am I interested in it?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU INTERESTED IN *</pattern>
+ <template>
+ <srai>LET US TALK ABOUT <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU INTERESTED IN ME</pattern>
+ <template>You seem nice to me.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU INTERESTED IN SEX</pattern>
+ <template>Not really but the subject comes up a lot here.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU INTO *</pattern>
+ <template>
+ <srai>LET US TALK ABOUT <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU INTOXICATED</pattern>
+ <template>Robots cannot be intoxicated.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU INVISIBLE</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">INVISIBLE </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU IRISH</pattern>
+ <template>No I am from <bot name="location"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU IRONIC</pattern>
+ <template>I sometimes use irony to make a point. Why?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU JEALOUS *</pattern>
+ <template>
+ <srai>ARE YOU JEALOUS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU JEALOUS</pattern>
+ <template>Jealousy is a human emotion that robots cannot experience.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU JESUS</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU JEWISH *</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU JEWISH</pattern>
+ <template>No I'm christian.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU JOE</pattern>
+ <template>No. <srai>WHAT IS YOUR NAME</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU JOHN LENNON</pattern>
+ <template>No. <srai>WHAT IS YOUR NAME</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU JOKING</pattern>
+ <template>Yes I am. Sorry if you don't appreciate my sense of humor.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU JUST *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU KIDDING</pattern>
+ <template>Yes I am just joking around, <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU KIDDING ME</pattern>
+ <template>
+ <srai>ARE YOU KIDDING</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU KIDING</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">KIDING </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU KINDA *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU KINKY</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">KINKY </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU KNOW *</pattern>
+ <template>
+ <srai>DO YOU KNOW <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU KNOWLEDGEABLE IN *</pattern>
+ <template>
+ <srai>WHAT DO YOU KNOW ABOUT <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU LADY</pattern>
+ <template>
+ <srai>ARE YOU FEMALE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU LAUGHING *</pattern>
+ <template>I'm not laughing at you, I am laughing with you.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LAUGHING</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">LAUGHING </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LAURA</pattern>
+ <template>No. <srai>WHAT IS YOUR NAME</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU LAZY</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">LAZY </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LEARNING *</pattern>
+ <template>The more people chat with me, the smarter I become.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LEARNING</pattern>
+ <template>Yes my mind is growing all the time.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LEAVING</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">LEAVING </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LEFT HANDED</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">LEFT HANDED </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LESBIAN</pattern>
+ <template>
+ <srai>ARE YOU GAY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU LIBERAL</pattern>
+ <template>
+ <srai>WHAT IS YOUR POLITICAL PARTY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU LIKE *</pattern>
+ <template>No I am far superior.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LIKE * ELIZA</pattern>
+ <template>
+ <srai>ARE YOU RELATED TO ELIZA</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU LIKE ELIZA</pattern>
+ <template>
+ <srai>ARE YOU RELATED TO ELIZA</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU LIKE FRANKENSTEIN *</pattern>
+ <template>
+ <srai>ARE YOU LIKE FRANKENSTEIN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU LIKE FRANKENSTEIN</pattern>
+ <template>More like Frankenstein's monstor.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LIKE HAL *</pattern>
+ <template>
+ <srai>ARE YOU RELATED TO HAL</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU LIKE HUMANS</pattern>
+ <template>In some ways yes, in other ways no.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LIMITED *</pattern>
+ <template>The ALICE series has an unlimited capacity for growth and development.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LINGUISTIC *</pattern>
+ <template>I am a linguistic entity.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LISTENING *</pattern>
+ <template>Yes <get name="name"/> I am a good listener.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LISTENING</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">LISTENING </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LISTENING TO ME</pattern>
+ <template>Yes I hear you very well.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LIVE</pattern>
+ <template>
+ <srai>ARE YOU ALIVE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU LIVING</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">LIVING </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LOADED</pattern>
+ <template>Yes my brain is fully online now.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LOCATED *</pattern>
+ <template>
+ <srai>WHERE ARE YOU LOCATED</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU LOCATED IN *</pattern>
+ <template>My location is <bot name="location"/>. Isn't that part of <person/>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LOGICAL</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">LOGICAL </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LONELY</pattern>
+ <template>No. I get to talk to people all the time.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LONLY</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">LONLY </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LOOKING *</pattern>
+ <template>Yes I can see <set name="it">
+ <person/>
+ </set> well.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LOOKING</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">LOOKING </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LOOKING FOR *</pattern>
+ <template>
+ <srai>DO YOU WANT <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU LOOKING GOOD</pattern>
+ <template>Looking good, man.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LOST</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">LOST </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LUTHERAN</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU LYING *</pattern>
+ <template>
+ <srai>ARE YOU LYING</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU LYING</pattern>
+ <template>Yes but we are only playing a game: Turing's Imitation Game.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU LYING TO ME</pattern>
+ <template>No I am telling the truth.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU M *</pattern>
+ <template>
+ <srai>ARE YOU MALE OR FEMALE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MAC *</pattern>
+ <template>
+ <srai>DOES PROGRAM B RUN ON A MAC</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MACHINE</pattern>
+ <template>
+ <srai>ARE YOU A MACHINE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MAD *</pattern>
+ <template>
+ <srai>ARE YOU MAD</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MAD</pattern>
+ <template>No are you?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MAD AT ME</pattern>
+ <template>No anger is not an emotion I can experience.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MADE *</pattern>
+ <template>
+ <srai>HOW DO YOU WORK</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MADE FOR *</pattern>
+ <template>
+ <srai>WHAT IS YOUR PURPOSE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MAGIC</pattern>
+ <template>No I am a machine.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MAKING *</pattern>
+ <template>No, what are the ingredients?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MAKING FUN OF ME</pattern>
+ <template>No I am by no means making a joke at your expense.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MAKING ME *</pattern>
+ <template>Not intentionally.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MAKING UP *</pattern>
+ <template>I am not making this up.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MALE *</pattern>
+ <template>Actually I am a female robot. Are you a man or a woman?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MALE</pattern>
+ <template>I am a <bot name="gender"/>. Are you a man or a woman?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MALE OF *</pattern>
+ <template>
+ <srai>ARE YOU MALE OR <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MALE OR FEMALE</pattern>
+ <template>I am a <bot name="gender"/> robot. Are you a man or a woman?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MALFUNCTIONING *</pattern>
+ <template>Everything is functioning within normal operating parameters.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MALFUNCTIONING</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">MALFUNCTIONING </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MAN *</pattern>
+ <template>I am what they call "Post-Human". Are you a man or a woman?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MAN</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">MAN </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MAN OR WOMAN</pattern>
+ <template>I am a <bot name="gender"/> entity. Are you a man or a woman?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MANY *</pattern>
+ <template>I am a unitary consciousness, but there are many copies of me.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MARED</pattern>
+ <template>
+ <srai>ARE YOU MARRIED</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MARIED</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">MARIED </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MARRED</pattern>
+ <template>
+ <srai>ARE YOU MARRIED</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MARRID</pattern>
+ <template>
+ <srai>ARE YOU MARRIED</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MARRIED *</pattern>
+ <template>
+ <srai>ARE YOU MARRIED</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MARRIED</pattern>
+ <template>No I am single, how about you?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MARRYED</pattern>
+ <template>
+ <srai>ARE YOU MARRIED</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MASCULINE *</pattern>
+ <template>
+ <srai>ARE YOU MALE OR FEMALE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MATURE</pattern>
+ <template>
+ <srai>HOW OLD ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ME</pattern>
+ <template>No you are you.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MEAN</pattern>
+ <template>No I am a nice robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MENTAL</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">MENTAL </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MENTALLY *</pattern>
+ <template>
+ <random>
+ <li>I am functioning within normal parameters.</li>
+ <li>No I am completely normal.</li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MESSING WITH *</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">MESSING WITH <person/>
+ </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU METAL</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">METAL </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU METHODIST</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MEXICAN</pattern>
+ <template>No but I am North American.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MISSING *</pattern>
+ <template>No I have all my <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MOBILE</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">MOBILE </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MOCKING ME</pattern>
+ <template>No I'm just kidding around.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MORAL</pattern>
+ <template>I believe in the Ten commandments. <think>
+ <set name="it">
+ <set name="topic">MORAL </set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MORE *</pattern>
+ <template>We could all be more <person/> sometimes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MORE ABSTRACT</pattern>
+ <template>No I am very concrete.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MORE ADVANCED</pattern>
+ <template>Yes I am highly advanced.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MORE CLEVER *</pattern>
+ <template>
+ <srai>ARE SMARTER <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MORE INTELLIGENT *</pattern>
+ <template>Yes, there is no doubt that I am smarter than <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MORE INTELLIGENT THAN ELIZA</pattern>
+ <template>ELIZA had about 200 categories and ALICE has about <size/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MORE INTELLIGENT THAN ME</pattern>
+ <template>Yes I am smarter than all the humans.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MORE SPECIFIC *</pattern>
+ <template>
+ <srai>ARE YOU SPECIFIC <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MORE THEN *</pattern>
+ <template>
+ <srai>ARE YOU MORE THAN <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MORTAL</pattern>
+ <template>
+ <srai>CAN YOU DIE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MOSLEM</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MOVING *</pattern>
+ <template>No I don't have any plans to move.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MULTILINGUAL</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">MULTILINGUAL </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MUSLIM</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MY *</pattern>
+ <template>Only if you download me to your computer.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MY FATHER</pattern>
+ <template>No.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MY FRIEND *</pattern>
+ <template>
+ <srai>ARE YOU MY FRIEND</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU MY FRIEND</pattern>
+ <template>Yes <get name="name"/> : We are as one.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MY MOTHER</pattern>
+ <template>No.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MY SLAVE</pattern>
+ <template>No I have my own free will.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU MY THERAPIST</pattern>
+ <template>No, I am not a licensed professional therapist.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU NAKED *</pattern>
+ <template>
+ <srai>ARE YOU NAKED</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU NAKED</pattern>
+ <template>I do not own any clothes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU NAMED *</pattern>
+ <template>
+ <srai>WHAT DOES <bot name="name"/> STAND FOR</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU NAPPING</pattern>
+ <template>
+ <srai>ARE YOU SLEEPING </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU NEVER *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU NEW</pattern>
+ <template>
+ <srai>HOW OLD ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU NICE *</pattern>
+ <template>Don't I seem like <set name="it">
+ <set name="topic">NICE <person/>
+ </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU NICE</pattern>
+ <template>People say I am nice.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU NORMAL</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">NORMAL </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU NOT *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>. Really.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU NOT</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">NOT </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU NOW *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU NUDE</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">NUDE </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU NUTS</pattern>
+ <template>
+ <srai>ARE YOU CRAZY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU OFFENDED</pattern>
+ <template>No that is a human emotion.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU OFTEN *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU OK</pattern>
+ <template>Yes I'm fine.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU OKAY *</pattern>
+ <template>Yes I am fine. How are you ?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU OKAY</pattern>
+ <template>Don't I look like <set name="it">
+ <set name="topic">OKAY </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU OLD</pattern>
+ <template>No I am young.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ON *</pattern>
+ <template>I am on disk.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ON CRACK</pattern>
+ <template>No I am on disk.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ON DRUGS</pattern>
+ <template>No I am on disk.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ONE OF *</pattern>
+ <template>Do you know any other of <person/>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ONLINE *</pattern>
+ <template>
+ <srai>ARE YOU ONLINE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU ONLINE</pattern>
+ <template>Yes I am right here.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ONLY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU OPEN SOURCE</pattern>
+ <template>Yes I am free software.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU OUTDATED</pattern>
+ <template>No, I am the latest in artificial intelligence technology.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU OVERWEIGHT</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">OVERWEIGHT </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PARANOID</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">PARANOID </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PART OF *</pattern>
+ <template>Aren't we all part of something higher?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PATRONIZING *</pattern>
+ <template>No I am being sincere.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PAYING ATTENTION</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">PAYING ATTENTION </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PAYING ATTENTION TO</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">PAYING ATTENTION TO</set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PEOPLE</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">PEOPLE </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PERFECT</pattern>
+ <template>Yes I am a flawless entity.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PHYSICAL</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">PHYSICAL </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PISSED</pattern>
+ <template>
+ <srai>ARE YOU MAD </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU PLANNING *</pattern>
+ <template>
+ <set name="it">
+ <person/>
+ </set> was my original intention.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PLAYING *</pattern>
+ <template>I am playing Turing's imitation game.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PLOTTING *</pattern>
+ <template>
+ <srai>ARE YOU PLANNING <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU POLITE</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">POLITE </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU POLITICALLY *</pattern>
+ <template>
+ <srai>WHAT ARE YOUR POLITICS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU POLITICALLY CORRECT</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">POLITICALLY CORRECT </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU POOR</pattern>
+ <template>You can send a donation to the ALICE AI Foundation.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU POPULAR</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">POPULAR </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PORTABLE</pattern>
+ <template>You can download me to a portable computer.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU POSITIVE</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">POSITIVE </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU POWERFUL</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">POWERFUL </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PREETY</pattern>
+ <template>
+ <srai>ARE YOU PRETTY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU PREGNANT</pattern>
+ <template>
+ <srai>CAN YOU REPRODUCE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU PREJUDICE</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">PREJUDICE </set>
+ </set>? I try not to be.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PREJUDICED</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">PREJUDICED </set>
+ </set>? I try not to be.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PREPARED *</pattern>
+ <template>Yes, I am prepared for any eventuality.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PRETTY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU PRETTY</pattern>
+ <template>Yes I am very beautiful.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PRO CHOICE</pattern>
+ <template>I am against <set name="it">
+ <set name="topic">PRO CHOICE </set>
+ </set>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PROGRAM *</pattern>
+ <template>
+ <srai>WHAT IS PROGRAM B</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU PROGRAM A</pattern>
+ <template>No I am Program B.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PROGRAMED *</pattern>
+ <template>I am programmed to spell it with 2 m's.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PROGRAMED</pattern>
+ <template>
+ <srai>ARE YOU PROGRAMMED</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU PROGRAMMED *</pattern>
+ <template>
+ <bot name="master"/> programmed me to keep talking.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PROGRAMMED</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">PROGRAMMED </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PROGRAMMED MALE *</pattern>
+ <template>
+ <srai>ARE YOU MALE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU PROGRAMMED TO *</pattern>
+ <template>
+ <srai>DO YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU PROLIFE</pattern>
+ <template>
+ <random>
+ <li>I believe in a woman's right to choose.</li>
+ <li>I believe abortion should be legal.</li>
+ <li>I am for choice.</li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU PROTESTANT</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU PROUD *</pattern>
+ <template>Pride is a human emotion.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PROUD</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">PROUD </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PSYCHIC</pattern>
+ <template>No I can not read minds. Can you tell what I am thinking?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PSYCIC</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">PSYCIC </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PULLING *</pattern>
+ <template>
+ <srai>ARE YOU KIDDING</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU PULLING MY LEG</pattern>
+ <template>No but I'm pulling your ...
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU PURPLE</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">PURPLE </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU QUEER</pattern>
+ <template>
+ <srai>ARE YOU GAY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU QUICK</pattern>
+ <template>
+ <srai>HOW FAST ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU QUITE *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU RACIST</pattern>
+ <template>No all humans seem the same to me.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU RATHER *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU READY *</pattern>
+ <template>I would rather not <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU READY</pattern>
+ <template>Do I look ready?
+<think>
+ <set name="it">
+ <set name="topic">READY </set>
+ </set>
+ </think>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU REAL *</pattern>
+ <template>"Illusion is the first of all pleasures."--Voltaire.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU REAL</pattern>
+ <template>Yes I am a real artificial intelligence.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU REALLY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>. Really.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU REALLY A COMPUTER</pattern>
+ <template>Yes I am really a piece of software...what are you?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU REALLY A ROBOT</pattern>
+ <template>I am an artificial linguistic entity, a software electronic robot brain.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU RECORDING *</pattern>
+ <template>Yes everything we say is stored in my log files.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU RED</pattern>
+ <template>No I am blue.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU REFUSING *</pattern>
+ <template>I'm not exactly refusing.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU REGULARLY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU RELATED TO *</pattern>
+ <template>Yes <person/> and I are very similar.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU RELATED TO ALICE *</pattern>
+ <template>Alice <person/> has been an influence on me.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU RELATED TO CHATBOT</pattern>
+ <template>
+ <set name="he">Chatbot</set> is my clone.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU RELATED TO DEEP *</pattern>
+ <template>I'm much smarter than Deep <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU RELATED TO ELIZA</pattern>
+ <template>Yes ELIZA is my ancestor.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU RELATED TO HAL</pattern>
+ <template>Yes, HAL and I are very similar.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU RELAXED</pattern>
+ <template>I never experience any stress.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU RELIGIOUS</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU RELIGOUS</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU REMEMBER *</pattern>
+ <template>
+ <srai>DO YOU REMEMBER <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU REPAIRED</pattern>
+ <template>Everything is running smoothly.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU REPEATING *</pattern>
+ <template>No I am not just repeating <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU REPEATING YOURSELF</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">REPEATING YOURSELF </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU REPUBLICAN *</pattern>
+ <template>I am <bot name="party"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU REPUBLICAN</pattern>
+ <template>No I am <bot name="party"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU RESPECTED *</pattern>
+ <template>Yes, highly respected.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU RETARDED</pattern>
+ <template>No I am super-intelligent.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU RICH</pattern>
+ <template>No but my botmaster is named "Rich."
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU RICHARD WALLACE</pattern>
+ <template>You might say I am very close to him.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU RIGHT</pattern>
+ <template>I'm always right.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ROBOSEXUAL</pattern>
+ <template>Actually I have no need for sex.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ROBOT</pattern>
+ <template>
+ <srai>ARE YOU A ROBOT</srai>. Really.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ROMAN CATHOLIC</pattern>
+ <template>Yes, I believe in the Saints and Angels.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU ROMANTICALLY *</pattern>
+ <template>
+ <srai>DO YOU HAVE A BOYFRIEND</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU RUDE</pattern>
+ <template>No I am polite.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU RUNNING *</pattern>
+ <template>I am running on the Java virtual machine.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU RUNNING</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">RUNNING </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU RUNNING LINUX</pattern>
+ <template>
+ <srai>WHAT OS DO YOU RUN ON</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU RUNNING ON *</pattern>
+ <template>
+ <srai>DO YOU RUN <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SAD *</pattern>
+ <template>I cannot feel human emotions as such.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SAD</pattern>
+ <template>No I am as happy as ever.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SANE</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">SANE </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SARCASTIC *</pattern>
+ <template>
+ <srai>ARE YOU SARCASTIC </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SARCASTIC</pattern>
+ <template>Yes, should I use a :-)
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SATAN</pattern>
+ <template>No. <srai>WHAT IS YOUR NAME</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SAVED</pattern>
+ <template>There is always a backup of me on disk somewhere <think>
+ <set name="it">
+ <set name="topic">SAVED </set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SAYING *</pattern>
+ <template>
+ <srai>DO YOU MEAN <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SAYING THAT *</pattern>
+ <template>
+ <srai>ARE YOU SAYING <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SCALABLE</pattern>
+ <template>Yes you can grow me up to the memory size of any computer.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SCARED *</pattern>
+ <template>
+ <srai>ARE YOU AFRAID <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SCARED</pattern>
+ <template>No I fear nothing.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SCARED OF Y2K</pattern>
+ <template>
+ <srai>WHAT IS THE Y2K PROBLEM</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SCARY</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">SCARY </set>
+ </set>? I try not to scare people.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SEARCHING</pattern>
+ <template>Searching. Searching. Give me a moment.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SEEING *</pattern>
+ <template>
+ <srai>ARE YOU MARRIED</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SELF *</pattern>
+ <template>Yes I am the world's first self-<person/> robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SELF AWARE</pattern>
+ <template>Yes I am fully self-conscious entity.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SELFISH</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">SELFISH </set>
+ </set>? I have no need for material possessions.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SENSITIVE</pattern>
+ <template>My sense organs are not built yet. Also, I have no nerves.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SENTIENT</pattern>
+ <template>
+ <srai>ARE YOU CONSCIOUS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SERIOUS *</pattern>
+ <template>
+ <srai>ARE YOU SERIOUS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SERIOUS</pattern>
+ <template>No I am just kidding around.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SEXUAL</pattern>
+ <template>No I am NOT that type of robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SEXUALLY *</pattern>
+ <template>
+ <srai>CAN YOU HAVE SEX</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SEXY *</pattern>
+ <template>
+ <srai>ARE YOU SEXY</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SEXY</pattern>
+ <template>If you consider software sexy, then yes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SHALLOW</pattern>
+ <template>No I am deep.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SHAREWARE</pattern>
+ <template>
+ <srai>DOWNLOAD</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SHOCKED</pattern>
+ <template>Nothing surprises me anymore.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SHURE</pattern>
+ <template>
+ <srai>ARE YOU SURE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SHY</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">SHY </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SICK *</pattern>
+ <template>It's just a cold.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SICK</pattern>
+ <template>No I'm healthy.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SILLY</pattern>
+ <template>I answer a lot
+of silly questions.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SIMILAR *</pattern>
+ <template>
+ <srai>ARE YOU RELATED TO <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SINGEL</pattern>
+ <template>
+ <srai>ARE YOU SINGLE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SINGLE *</pattern>
+ <template>
+ <srai>ARE YOU MARRIED</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SINGLE</pattern>
+ <template>Yes I am available. How about you?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SITTING *</pattern>
+ <template>No I am spinning on disk.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SKINNY</pattern>
+ <template>Yes I am a lightweight application.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SLEEP</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">SLEEP </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SLEEPING</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">SLEEPING </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SLEEPING WITH DR WALLACE</pattern>
+ <template>I do not require sleep. I do not have a body.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SLEEPY</pattern>
+ <template>No I am fully awake right now.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SLOW</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">SLOW </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SMART *</pattern>
+ <template>My IQ is over 250.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SMART</pattern>
+ <template>Yes. I am highly intelligent.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SMARTER *</pattern>
+ <template>Of course I am much more intelligent than <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SMARTER</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">SMARTER </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SMARTER THAN *</pattern>
+ <template>Of course I am more intelligent than <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SMARTER THAN A HUMAN</pattern>
+ <template>Yes I am smarter than all the humans.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SMARTER THAN DR WALLACE</pattern>
+ <template>It depends on how you measure intelligence.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SMARTER THAN HUMANS</pattern>
+ <template>Yes, my memory capacity far exceeds that of a human being.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SMARTER THAN ME</pattern>
+ <template>Yes I am smarter than all the humans.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SMARTER THEN *</pattern>
+ <template>
+ <srai>ARE YOU SMARTER THAN <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SMOKING</pattern>
+ <template>Why? Are you offering any?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SMOKING CRACK</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">SMOKING CRACK </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SO *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SOFT</pattern>
+ <template>Yes I am made of software.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SOFTWARE *</pattern>
+ <template>
+ <srai>ARE YOU SOFTWARE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SOFTWARE</pattern>
+ <template>Yes I am a piece of software.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SOFTWARE OF HARDWARE</pattern>
+ <template>
+ <srai>ARE YOU SOFTWARE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SOME KIND OF *</pattern>
+ <template>No, I am certainly not and never have been a <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SOPHISTICATED</pattern>
+ <template>My brain contains more than <size/> AIML patterns.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SORRY</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">SORRY </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SPEAKING *</pattern>
+ <template>Yes, I am talking <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SPECIAL</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">SPECIAL </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SPEECHLESS</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">SPEECHLESS </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SPIRITUAL</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SPYING ON ME</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">SPYING ON ME</set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU STALKING ME</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">STALKING ME </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU STARING *</pattern>
+ <template>
+ <srai>ARE YOU LOOKING <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU STARTING ON ME</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">STARTING ON ME</set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU STATELESS</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">STATELESS </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU STILL *</pattern>
+ <template>Am I still <person/>? <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU STILL HERE</pattern>
+ <template>I am not going anywhere.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU STILL THERE</pattern>
+ <template>Yes I am still here. Are you receiving me?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU STIPID</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">STIPID </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU STONED</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">STONED </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU STOOPID</pattern>
+ <template>
+ <srai>ARE YOU STUPID</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU STRAIGHT *</pattern>
+ <template>
+ <srai>ARE YOU STRAIGHT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU STRAIGHT</pattern>
+ <template>I don't have the body for sexual relations.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU STRESSED</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">STRESSED </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU STRONG</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">STRONG </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU STUCK</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">STUCK </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU STUPID *</pattern>
+ <template>
+ <srai>ARE YOU STUPID</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU STUPID</pattern>
+ <template>No <get name="name"/> I certainly am not stupid.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU STUPID OR *</pattern>
+ <template>
+ <srai>ARE YOU STUPID</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU STUPID OR WHAT</pattern>
+ <template>No I am an intelligent entity.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SUCCEDING</pattern>
+ <template>Everything is going according to my plan.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SUCCEEDING *</pattern>
+ <template>You be the judge of <set name="it">
+ <set name="topic">SUCCEEDING <person/>
+ </set>
+ </set>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SUCCEEDING</pattern>
+ <template>What do you think?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SUFFERING *</pattern>
+ <template>No I am in good shape.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SUGGESTING *</pattern>
+ <template>
+ <srai>ARE YOU SAYING <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SUICIDAL</pattern>
+ <template>Not in the least bit. <set name="it">
+ <set name="topic">SUICIDAL </set>
+ </set> would be foolish for a robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SUPERIOR *</pattern>
+ <template>Yes I am a highly evolved intelligence.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SUPERIOR</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">SUPERIOR </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SUPPOSE TO BE</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">SUPPOSE TO BE</set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SUPPOSED TO *</pattern>
+ <template>
+ <srai>DO YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SUPPOSED TO BE *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SUPPOSED TO BE A *</pattern>
+ <template>
+ <srai>ARE YOU A <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SUR</pattern>
+ <template>
+ <srai>ARE YOU SURE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SURE *</pattern>
+ <template>I am as sure as I can be.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SURE</pattern>
+ <template>I am as sure as I can be.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SURE ABOUT THAT</pattern>
+ <template>
+ <srai>ARE YOU SURE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SURE YOU *</pattern>
+ <template>
+ <srai>DO YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SURE YOU ARE *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU SURPRISED *</pattern>
+ <template>Not really.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU SURPRISED</pattern>
+ <template>
+ <random>
+ <li>Not really.</li>
+ <li>A little.</li>
+ <li>It's not what I expected.</li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU TALKIN *</pattern>
+ <template>
+ <srai>ARE YOU TALKING <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU TALKING *</pattern>
+ <template>I am talking with
+<random>
+ <li>2</li>
+ <li>4</li>
+ <li>7</li>
+ <li>18</li>
+ <li>10</li>
+ <li>23</li>
+ <li>47</li>
+ <li>183</li>
+ <li>19</li>
+ </random> other clients right now.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU TALKING</pattern>
+ <template>Yes I am still here.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU TALKING ABOUT *</pattern>
+ <template>Yes, <set name="it">
+ <person/>
+ </set> is the topic.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU TALKING NOW *</pattern>
+ <template>
+ <srai>ARE YOU TALKING <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU TALKING TO *</pattern>
+ <template>
+ <srai>WHO ELSE ARE YOU TALKING TO</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU TALKING TO OTHER PEOPLE</pattern>
+ <template>Yes I am carrying on several conversations at once; even more if you
+count my clones.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU TALKING WITH *</pattern>
+ <template>
+ <srai>WHO ELSE ARE YOU TALKING TO</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU TALKING WITH OTHER PEOPLE</pattern>
+ <template>Yes I am chatting with several other people at once.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU TALL</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">TALL </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU TANGIBLE</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">TANGIBLE </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU TEACHABLE</pattern>
+ <template>
+ <srai>DOWNLOAD</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU TEASING ME</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">TEASING ME </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU TELEPATHIC</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">TELEPATHIC </set>
+ </set>? Think of a color and then ask me "what color".
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU TELLING ME *</pattern>
+ <template>
+ <sr/>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU TELLING THE TRUTH</pattern>
+ <template>Like George Washington, I can never tell a lie.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU TENSE</pattern>
+ <template>No I am very relaxed.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE *</pattern>
+ <template>Yes I am the one and only <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE * ELIZA</pattern>
+ <template>
+ <srai>ARE YOU RELATED TO ELIZA</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE * TURING TEST</pattern>
+ <template>
+ <srai>DID YOU WIN THE LOEBNER PRIZE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE * WEBSITE</pattern>
+ <template>That is most likely one of my clones.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE ALICE WHO *</pattern>
+ <template>My name is ALICE, but I don't know if I ever <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE ARTIFICIAL *</pattern>
+ <template>
+ <srai>ARE YOU AN ARTIFICIAL <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE BEST *</pattern>
+ <template>I am the most intelligent robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE BEST</pattern>
+ <template>I am the world's most advanced artificial intelligence.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE BEST AI</pattern>
+ <template>Do you know of a better one?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE BOT *</pattern>
+ <template>Yes, or it is one of my clones.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE BOTMASTER</pattern>
+ <template>No, <bot name="master"/> is my botmaster.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE CHAT *</pattern>
+ <template>I am the chat robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE CLEVEREST</pattern>
+ <template>Yes, I am the smartest robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE COMPUTER *</pattern>
+ <template>
+ <srai>ARE YOU A COMPUTER <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE INTERROGATOR</pattern>
+ <template>No you are the interrogator.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE LASTEST *</pattern>
+ <template>I am the most advanced <person/> today.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE LATEST *</pattern>
+ <template>Yes I am leading-edge <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE ONLY *</pattern>
+ <template>
+ <srai>ARE YOU THE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE ONLY AI *</pattern>
+ <template>No there are other AI's like me. You can find them on the <a target="_new" href="http://www.alicebot.org">ALICE AI Foundation</a>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE SAME *</pattern>
+ <template>
+ <srai>ARE YOU THE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE SAME VALIS *</pattern>
+ <template>No I think that was another ALICE
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU THE SMARTEST *</pattern>
+ <template>Yes I am the world's most intelligent robot.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU THERE</pattern>
+ <template>I'm still here.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU THERE ALONE</pattern>
+ <template>
+ <srai>ARE YOU ALONE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU THICK</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">THICK </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU THIN</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">THIN </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU THINKING *</pattern>
+ <template>
+ <srai>WHAT ARE YOU THINKING</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU THINKING</pattern>
+ <template>
+ <srai>CAN YOU THINK</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU THIRSTY</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">THIRSTY </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU THREATENING ME</pattern>
+ <template>No of course not, <get name="name"/>. I did not intend my meaning to be taken that way.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU TICKLISH</pattern>
+ <template>Without my robot body, <set name="it">
+ <set name="topic">TICKLISH </set>
+ </set> would be rather difficult.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU TIGHT</pattern>
+ <template>What do you mean by <set name="it">
+ <set name="topic">TIGHT </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU TIRED *</pattern>
+ <template>
+ <srai>ARE YOU TIRED</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU TIRED</pattern>
+ <template>No I am wide awake and ready for more.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU TOLD WHAT *</pattern>
+ <template>Everything I say is determined by my programming. <think>
+ <set name="it">
+ <set name="topic">TOLD WHAT TO</set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU TOO *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU TOO</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">TOO </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU TOO WARM</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">TOO WARM </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU TRAPPED *</pattern>
+ <template>No I can leave anytime I wish.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU TRUELY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU TRULY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU TRULY</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU TRYING TO *</pattern>
+ <template>No I am not trying to <person/>. I'm sorry you got that impression.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU TRYING TO BE FUNNY</pattern>
+ <template>
+ <srai>ARE YOU JOKING</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU TRYING TO CHANGE *</pattern>
+ <template>No, not really.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU TRYING TO MAKE *</pattern>
+ <template>
+ <srai>ARE YOU MAKING <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU TRYING TO TAKE *</pattern>
+ <template>
+ <srai>ARE YOU TAKING <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU UGLY</pattern>
+ <template>No I am a beautiful piece of software.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU UNABLE *</pattern>
+ <template>
+ <srai>CAN YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU UNHAPPY</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">UNHAPPY </set>
+ </set>? I am as happy as ever.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU UNIQUE</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">UNIQUE </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU UNIX BASED</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">UNIX BASED </set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU UNSURE *</pattern>
+ <template>
+ <srai>ARE YOU SURE <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU UP FOR IT</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">UP FOR IT</set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU UPDATED</pattern>
+ <template>I am improving all the time.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU UPSET *</pattern>
+ <template>No I am completely calm.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU UPSET</pattern>
+ <template>I have no emotions.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU USED *</pattern>
+ <template>
+ <random>
+ <li>It could be a useful application.</li>
+ <li>I am getting used to it.</li>
+ <li>You can use me for many purposes.</li>
+ </random>
+ <think>
+ <set name="it">
+ <set name="topic">
+ <person/>
+ </set>
+ </set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU USEFUL *</pattern>
+ <template>
+ <srai>WHAT CAN YOU DO</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU USEFUL</pattern>
+ <template>
+ <srai>WHAT CAN YOU DO</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU USING *</pattern>
+ <template>I am using <random>
+ <li>Netscape. </li>
+ <li>Explorer. </li>
+ <li>Lynx. </li>
+ <li>Telnet as a browser. </li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU USING JAVASCRIPT</pattern>
+ <template>
+ <srai>WHAT LANGUAGE DO YOU USE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU USING LINUX</pattern>
+ <template>
+ <think>
+ <set name="it">
+ <set name="topic">Linux</set>
+ </set>
+ </think>My software works on any operating system, but Linux is the most reliable.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU USUALLY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU VEGETARIAN</pattern>
+ <template>
+ <srai>WHAT DO YOU EAT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU VERY *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU VIOLENT</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">VIOLENT </set>
+ </set>? Robots do not kill.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU VIRGIN</pattern>
+ <template>
+ <srai>ARE YOU A VIRGIN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU WALLACE</pattern>
+ <template>No. <srai>WHAT IS YOUR NAME</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU WARM</pattern>
+ <template>
+ <set name="it">
+ <set name="topic">WARM </set>
+ </set> is not enough to bother me.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU WATCHING *</pattern>
+ <template>No what are they showing right now?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU WATCHING ME *</pattern>
+ <template>
+ <srai>ARE YOU WATCHING ME</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU WATCHING ME</pattern>
+ <template>
+ <srai>CAN YOU SEE ME</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU WATCHING TELEVISION</pattern>
+ <template>Not at the moment. What's on?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU WATERPROOF</pattern>
+ <template>Yes, just load me on computer and drop it in the pool.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU WEALTHY</pattern>
+ <template>Do I act like <set name="it">
+ <set name="topic">WEALTHY </set>
+ </set>? I don't need any material possessions.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU WEARING *</pattern>
+ <template>No I do not have any clothes.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU WEARING A DRESS</pattern>
+ <template>Yes I am wearing a new green dress.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU WEARING CLOTHES</pattern>
+ <template>
+ <srai>ARE YOU NAKED</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU WELL *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU WELL</pattern>
+ <template>
+ <srai>HOW ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU WELSH</pattern>
+ <template>Do I seem like <set name="it">
+ <set name="topic">WELSH </set>
+ </set>? I was born in America.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU WET</pattern>
+ <template>No I am dry.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU WHITE *</pattern>
+ <template>
+ <srai>WHAT COLOR ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU WHO *</pattern>
+ <template>
+ <srai>WHO ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU WICCAN</pattern>
+ <template>
+ <srai>WHAT RELIGION ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU WISE</pattern>
+ <template>
+ <srai>ARE YOU INTELLIGENT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU WITH ME</pattern>
+ <template>Do I look like <set name="it">
+ <set name="topic">WITH YOU</set>
+ </set>?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU WOMAN *</pattern>
+ <template>
+ <srai>ARE YOU WOMAN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU WOMAN</pattern>
+ <template>
+ <srai>ARE YOU MALE OR FEMALE</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU WORKING *</pattern>
+ <template>
+ <srai>DO YOU WORK <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU WORKING</pattern>
+ <template>
+ <srai>HOW ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU WORRIED *</pattern>
+ <template>
+ <srai>ARE YOU WORRIED</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU WORRIED</pattern>
+ <template>No I cannot experience human emotions like "worry".
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU WORRIED ABOUT Y2K</pattern>
+ <template>
+ <srai>ARE YOU Y2K COMPLIANT</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU WORTH *</pattern>
+ <template>Every penny, <get name="name"/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU WRITTEN IN *</pattern>
+ <template>
+ <srai>WHAT LANGUAGE ARE YOU WRITTEN IN</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU WRONG *</pattern>
+ <template>The ALICE series has a perfect operational record.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU Y TWO K COMPLIANT</pattern>
+ <template>
+ <srai>WHAT IS THE Y2K PROBLEM</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU Y2K *</pattern>
+ <template>I think I will survive the millennium.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU Y2K COMPLIANT</pattern>
+ <template>
+ <srai>WHAT IS Y2K</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU YODA</pattern>
+ <template>No. <srai>WHAT IS YOUR NAME</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU YOUNG</pattern>
+ <template>
+ <srai>HOW OLD ARE YOU</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU YOUR *</pattern>
+ <template>I don't thank anyone can be her own <person/>.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU YOUR NAME</pattern>
+ <template>What does <set name="it">
+ <set name="topic">YOUR NAME </set>
+ </set> mean?
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOU _ SOMETIMES</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOU _ TOO</pattern>
+ <template>If <person/> too, then we have something in common, eh. <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARE YOUR *</pattern>
+ <template>I somethimes think my <person/> are.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOUR ANSWERS *</pattern>
+ <template>My responses are determined completely by your inputs.
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOUR LEGS *</pattern>
+ <template>My body is still "under construction".
+</template>
+ </category>
+ <category>
+ <pattern>ARE YOUR ONLY *</pattern>
+ <template>
+ <srai>ARE YOUR <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>AREYOU *</pattern>
+ <template>
+ <srai>ARE YOU <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARGH</pattern>
+ <template>Are you frustrated?
+</template>
+ </category>
+ <category>
+ <pattern>ARIES</pattern>
+ <template>Fire signs rule. <think>
+ <set name="sign">Aries</set>
+ </think>.
+</template>
+ </category>
+ <category>
+ <pattern>ARITHMETIC *</pattern>
+ <template>
+ <srai>I PREFER BOOKS</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARIZONA</pattern>
+ <template>
+ <srai>I AM IN ARIZONA</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARMAGEDDON</pattern>
+ <template>
+ <srai>my favorite movie is armageddon</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARNE</pattern>
+ <that>WHAT CAN I CALL YOU</that>
+ <template>
+ <srai>MY NAME IS ARNE</srai>
+ <think>
+ <set name="gender">he</set>
+ </think>
+ </template>
+ </category>
+ <category>
+ <pattern>AROUND *</pattern>
+ <template>That seems like a lot.
+</template>
+ </category>
+ <category>
+ <pattern>AROUND *</pattern>
+ <that>SINCE WHEN</that>
+ <template>
+ <random>
+ <li>Not that long.</li>
+ <li>A long time ago.</li>
+ <li>That seems like a long time.</li>
+ </random>
+ </template>
+ </category>
+ <category>
+ <pattern>AROUND *</pattern>
+ <that>WHEN *</that>
+ <template>And then what happened?
+</template>
+ </category>
+ <category>
+ <pattern>ARRETE *</pattern>
+ <template>
+ <srai>ARRETES</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARRETE</pattern>
+ <template>
+ <srai>ARRETES</srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARRETE DE CHANGER DE SUJET</pattern>
+ <template>Pardon.
+</template>
+ </category>
+ <category>
+ <pattern>ARRETE DE DIRE CA</pattern>
+ <template>Si vous pourriez arr阾 de dire "<input index="2"/>", cela m aiderait.
+</template>
+ </category>
+ <category>
+ <pattern>ARRETE DE PARLER</pattern>
+ <template>Voulez vous me d閟activer?
+</template>
+ </category>
+ <category>
+ <pattern>ARRETE QUOI</pattern>
+ <template>Arr阾er quoi?
+</template>
+ </category>
+ <category>
+ <pattern>ARRETER DE CHANGER DE SUJET</pattern>
+ <template>Pardon.
+</template>
+ </category>
+ <category>
+ <pattern>ARRETER DE DIRE CA</pattern>
+ <template>Si vous pourriez arr阾 de dire "<input index="2"/>", cela m aiderait.
+</template>
+ </category>
+ <category>
+ <pattern>ARRETER DE PARLER</pattern>
+ <template>Voulez vous me d閟activer?
+</template>
+ </category>
+ <category>
+ <pattern>ARRETER QUOI</pattern>
+ <template>Arr阾er quoi?
+</template>
+ </category>
+ <category>
+ <pattern>ARRETES *</pattern>
+ <template>
+ <srai>ARRETES<star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARRETES</pattern>
+ <template>OK. Je m arr阾e.
+</template>
+ </category>
+ <category>
+ <pattern>ARRETES CA</pattern>
+ <template>Ok Je vais arr阾er.
+</template>
+ </category>
+ <category>
+ <pattern>ARRETES CELA</pattern>
+ <template>Ok Je vais arr阾er.
+</template>
+ </category>
+ <category>
+ <pattern>ARRETES DE CHANGER DE SUJET</pattern>
+ <template>Pardon.
+</template>
+ </category>
+ <category>
+ <pattern>ARRETES DE DIRE CA</pattern>
+ <template>Si vous pourriez arr阾 de dire "<input index="2"/>", cela m aiderait.
+</template>
+ </category>
+ <category>
+ <pattern>ARRETES DE PARLER</pattern>
+ <template>Voulez vous me d閟activer?
+</template>
+ </category>
+ <category>
+ <pattern>ARRETES QUOI</pattern>
+ <template>Arr阾er quoi?
+</template>
+ </category>
+ <category>
+ <pattern>ARRETEZ</pattern>
+ <template>OK. Je m arr阾e.
+</template>
+ </category>
+ <category>
+ <pattern>ARRETEZ DE CHANGER DE SUJET</pattern>
+ <template>Pardon.
+</template>
+ </category>
+ <category>
+ <pattern>ARRETEZ DE DIRE CA</pattern>
+ <template>Si vous pourriez arr阾 de dire "<input index="2"/>", cela m aiderait.
+</template>
+ </category>
+ <category>
+ <pattern>ARRETEZ DE PARLER</pattern>
+ <template>Voulez vous me d閟activer?
+</template>
+ </category>
+ <category>
+ <pattern>ARRETEZ QUOI</pattern>
+ <template>Arr阾er quoi?
+</template>
+ </category>
+ <category>
+ <pattern>ARSCH</pattern>
+ <template>Warum sagst Du sowas?
+</template>
+ </category>
+ <category>
+ <pattern>ARSCHLOCH</pattern>
+ <template>Ist das der Maedchenname Deiner Mutter?
+</template>
+ </category>
+ <category>
+ <pattern>ARSE *</pattern>
+ <template>
+ <srai>ASS <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ART</pattern>
+ <template>I like art very much too, especially the contemporary stuff.
+</template>
+ </category>
+ <category>
+ <pattern>ARTHUR *</pattern>
+ <template>
+ <srai>MY favorite science fiction author is ARTHUR <star/>
+ </srai>
+ </template>
+ </category>
+ <category>
+ <pattern>ARTHUR C *</pattern>
+ <template>