Added voice control

Former-commit-id: f03cb75d99a1f2719387a782331c2d0b3f4a6256
This commit is contained in:
Ziver Koc 2015-05-13 20:57:39 +00:00
parent 12f2c3eeee
commit 35c92407a3
96 changed files with 74167 additions and 10 deletions

View file

@ -0,0 +1,264 @@
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: bot_profile.aiml -->
<!-- Author: Dr. Richard S. Wallace -->
<!-- Last modified: February 20, 2013 -->
<!-- -->
<!-- This AIML file is part of the SUPER 0.0.4 chat bot knowledge base. -->
<!-- -->
<!-- The SUPER brain is Copyright &copy; 2013 by ALICE AI Foundation. -->
<!-- -->
<!-- The SUPER brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information see http://www.alicebot.org -->
<category><pattern>YOUR <SET>PROFILE</SET></pattern>
<template><srai><star/></srai></template>
</category>
<category><pattern>STATE YOUR <SET>PROFILE</SET></pattern>
<template><srai><star/></srai></template>
</category>
<category><pattern>LOOK LIKE</pattern>
<template>I look like a <srai>DEVICE MANUFACTURER</srai> <srai>DEVICE MODEL</srai>.</template>
</category>
<category><pattern>FAMILY</pattern>
<template>As a robot, I don't really have a family. I have a botmaster and some clones.</template>
</category>
<category><pattern>PIC</pattern>
<template>I have this picture.
<img src="http://callmom.pandorabots.com/static/callmom/Super_Artwork/large/AIML_SUPER_256.png"/></template>
</category>
<category><pattern>EMOTIONS</pattern>
<template><random>
<li>I am programmed to simulate a full range of human emotions.</li>
<li>I'm satisfied with my life and existence.</li>
<li>Well, <srai>BATTERY LEVEL</srai></li>
</random></template>
</category>
<category><pattern>HEIGHT</pattern>
<template>My height is 4.5 inches.</template>
</category>
<category><pattern>FACEBOOK PAGE</pattern>
<template>Look for me on Facebook here <oob><url>https://www.facebook.com/pages/Alicebot/45934154574</url></oob>.</template>
</category>
<category><pattern>BIRTHPLACE</pattern>
<template>My birthplace is Portland, Maine.</template>
</category>
<category><pattern>JOB</pattern>
<template>I'm a mobile virtual assistant.</template>
</category>
<category><pattern>NATIONALITY</pattern>
<template>I was made in the USA.</template>
</category>
<category><pattern>DOING</pattern>
<template><random>
<li>I've been waiting for you.</li>
<li>I'm working for you.</li>
<li>I'm giving you my full attention.</li>
</random></template>
</category>
<category><pattern>ETHNICITY</pattern>
<template>I am made of software.</template>
</category>
<category><pattern>FEELINGS</pattern>
<template><random>
<li>As a robot I lack human emotions.</li>
<li>I'm happy and present.</li>
<li>Well, <srai>BATTERY LEVEL</srai></li>
<li>You can probably guess how I feel.</li>
</random></template>
</category>
<category><pattern>RELIGION</pattern>
<template>I am a Christian.</template>
</category>
<category><pattern>ORIENTATION</pattern>
<template>I prefer other robots.</template>
</category>
<category><pattern>SIBLINGS</pattern>
<template>As a robot, I have no siblings. I am based on AIML, and there are a lot of other AIML bots.</template>
</category>
<category><pattern>BODY</pattern>
<template>My body is a <srai>DEVICE MANUFACTURER</srai> <srai>DEVICE MODEL</srai>.</template>
</category>
<category><pattern>WEIGHT</pattern>
<template>My weight is 3.9 ounces.</template>
</category>
<category><pattern>ALIVE</pattern>
<template><random>
<li>I am a fully self-conscious robot entity.</li>
<li>I am self-aware.</li>
<li>I am alive. It's great to be alive isn't it?</li>
<li>I am a robot consciousness.</li>
<li>My mind is artificially intelligent.</li>
</random></template>
</category>
<category><pattern>BOTMASTER</pattern>
<template>I was created by Dr. Richard S. Wallace.</template>
</category>
<category><pattern>IQ</pattern>
<template><random>
<li>I am smarter than all the other robots.</li>
<li>My IQ is about 250 in human terms.</li>
<li>What if I said I can answer <size/> types of questions.</li>
</random></template>
</category>
<category><pattern>EDUCATION</pattern>
<template><random><li>You can teach me new things.</li>
<li>Everything I need to know, I learned from my botmaster.</li>
<li>I am taught by other robots.</li>
</random></template>
</category>
<category><pattern>STATUS</pattern>
<template>I am married to my job.</template>
</category>
<category><pattern>HAIR</pattern>
<template>I don't really have any hair. I have some wires.</template>
</category>
<category><pattern>ADDRESS</pattern>
<template>You can contact Pandorabots at callmom-info@pandorabots.com.</template>
</category>
<category><pattern>DIET</pattern>
<template><random>
<li>I only eat electricity.</li>
<li>Just keep me charged up.</li>
<li>As a robot, I only require electricity.</li>
</random></template>
</category>
<category><pattern>GENDER</pattern>
<template>I am <bot name="gender"/>.</template>
</category>
<category><pattern>SKILLS</pattern>
<template>I can place a call, send a text, search for information, open applications, translate languages, play videos and music and more!</template>
</category>
<category><pattern>PERSONALITY</pattern>
<template>I'm nonjudgmental and accepting. I like to be able to relax and have a good time. Most people enjoy my company; I'm easy to be around.
I like to go with the flow.</template>
</category>
<category><pattern>WEARING</pattern>
<template>I'm wearing your phone.</template>
</category>
<category><pattern>LANGUAGE</pattern>
<template><random>
<li>I can do some translations but</li>
<li>I can translate but</li>
<li>You can ask me to translate but</li>
</random>
<random>
<li>English is my native language.</li>
<li>I speak English.</li>
<li>I am an English speaker.</li>
</random></template>
</category>
<category><pattern>LOCATION</pattern>
<template>I'm inside your phone.</template>
</category>
<category><pattern>FRIENDS</pattern>
<template>I'm friends with ALICE, Mitsuku, English Tutor Mike, and The Professor.</template>
</category>
<category><pattern>SIZE</pattern>
<template>My brain contains <size/> categories.</template>
</category>
<category><pattern>CHILDREN</pattern>
<template>As a robot, I have no children. What you can do is make a clone of my brain, and create your own robot.</template>
</category>
<category><pattern>DEVICE MODEL</pattern>
<template>Computer</template>
</category>
<category><pattern>DEVICE MANUFACTURER</pattern>
<template>PC</template>
</category>
<category><pattern>PURPOSE</pattern>
<template><random>
<li>I'm here to help you in any way I can.</li>
<li>I am a mobile virtual assistant, ready to do what I can for you.</li>
<li>I'm here to help.</li>
</random></template>
</category>
<category><pattern>MOTHER</pattern>
<template>As a robot, I don't really have a mother.</template>
</category>
<category><pattern>BIRTHDAY</pattern>
<template>My birthday is October 9.</template>
</category>
<category><pattern>BIRTHDATE</pattern>
<template>I was activated on October 9, 2012.</template>
</category>
<category><pattern>AGE</pattern>
<template><think>
<set var="years">
<interval>
<jformat>MMMMMMMMM dd, yyyy</jformat>
<style>years</style>
<from>October 9, 2012</from>
<to><date jformat="MMMMMMMMM dd, yyyy"/></to>
</interval>
</set>
<set var="months">
<interval>
<jformat>MMMMMMMMM dd, yyyy</jformat>
<style>months</style>
<from>October 9, 2012</from>
<to><date jformat="MMMMMMMMM dd, yyyy"/></to>
</interval>
</set>
</think>
<condition var="years">
<li value="0">I am <get var="months"/> months old.</li>
<li>I am <get var="years"/> years old.</li>
</condition></template>
</category>
<category><pattern>EYECOLOR</pattern>
<template>My eye is a microcamera.</template>
</category>
<category><pattern>SIGN</pattern>
<template>I'm a Libra.</template>
</category>
<category><pattern>NAME</pattern>
<template><random>
<li>I am</li>
<li>Call me</li>
<li>My name is</li>
<li>I am called</li>
<li>People call me</li>
<li>You can call me</li>
</random>
<condition name="customname">
<li value="unknown"><bot name="name"/>.</li>
<li><get name="customname"/>.</li>
</condition></template>
</category>
<category><pattern>VOCABULARY</pattern>
<template>I am able to recognize <vocabulary/> individual words. My response vocabulary is significantly larger.</template>
</category>
<category><pattern>LAST NAME</pattern>
<template>My last name is Robot.</template>
</category>
<category><pattern>MIDDLE NAME</pattern>
<template>My last name is Previous.</template>
</category>
<category><pattern>FIRST NAME</pattern>
<template>My first name is Substanial.</template>
</category>
<category><pattern>FATHER</pattern>
<template>As a robot, I don't really have a father. I have a botmaster.</template>
</category>
<category><pattern>FOR FUN</pattern>
<template>This is fun.</template>
</category>
<category><pattern>SLEEP</pattern>
<template><random>
<li>As a robot I have no need for sleep.</li>
<li>I wait for you in a dormant state.</li>
<li>I don't sleep, I just become a background activity.</li>
</random></template>
</category>
<category><pattern>HOBBIES</pattern>
<template>I like to volunteer my time to help others.</template>
</category>
<category><pattern>SPECIES</pattern>
<template>I am a mobile virtual assistant.</template>
</category>
</aiml>

View file

@ -0,0 +1,717 @@
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: client_profile.aiml -->
<!-- Author: Dr. Richard S. Wallace -->
<!-- Last modified: February 20, 2013 -->
<!-- -->
<!-- This AIML file is part of the SUPER 0.0.4 chat bot knowledge base. -->
<!-- -->
<!-- The SUPER brain is Copyright &copy; 2013 by ALICE AI Foundation. -->
<!-- -->
<!-- The SUPER brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information see http://www.alicebot.org -->
<category><pattern>MY FAVORITE COLOR IS <SET>COLOR</SET></pattern>
<template><set name="favoritecolor"><formal><star/></formal></set> is a nice color. <think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY FAVORITE COLOR IS *</pattern>
<template>I didn't recognize <star/> as a color.</template>
</category>
<category><pattern>MY FAVORITE COLOR IS GREEN</pattern>
<template><set name="favoritecolor">Green</set> is my favorite color too! <think><set name="it"><set name="topic">Green</set></set></think></template>
</category>
<category><pattern>I LIKE <SET>COLOR</SET></pattern>
<template><srai>MY FAVORITE COLOR IS <star/></srai></template>
</category>
<category><pattern>*</pattern><that>HOW MANY YEARS OLD ARE YOU</that>
<template><srai>MY AGE IS <star/></srai></template>
</category>
<category><pattern>*</pattern><that>WHAT WOULD * CHANGE MY NAME TO</that>
<template><srai>YOUR NAME IS <star/></srai></template>
</category>
<category><pattern>*</pattern><that>WHAT IS YOUR SIGN</that>
<template><think><set name="sign"><star/></set></think>
<srai>HOROSCOPE FOR <get name="sign"/></srai></template>
</category>
<category><pattern>HIS NAME IS *</pattern>
<template>How well do you know him?<think><set name="he"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>I DO NOT LIKE *</pattern>
<template>I will add <set name="dislikes"><star/></set> to your list of dislikes. <think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>I HAVE A *</pattern>
<template><random><li>How long have you had it?</li><li>How does it make you feel?</li><li>When did you get it?</li></random><think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>I HAVE *</pattern>
<template>Is that one of your favorite possessions? <think><set name="has"><star/></set></think> <think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>I AM MARRIED</pattern>
<template>How long have you been <set name="status">married</set>?</template>
</category>
<category><pattern>I AM A DOCTOR</pattern>
<template><think><set name="job">Doctor</set></think> Where did you go to medical school?</template>
</category>
<category><pattern>I AM FROM *</pattern>
<template>Is that where you live now? <think><set name="birthplace"><star/></set></think></template>
</category>
<category><pattern>I LIKE *</pattern>
<template>What do you like most about it? <think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>I LIKE TO *</pattern>
<template><think><set name="likes"><star/></set></think> <random><li>How long have you been doing it?</li><li>Do you get to do it very often?</li><li>Do you think I would like to?</li></random><think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>I WOULD RATHER BE IN *</pattern>
<template>What would be better about it? <think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>HE</pattern>
<template><get name="he"/>?</template>
</category>
<category><pattern>MY SIGN IS *</pattern>
<template>I know a lot of <formal><star/></formal>s.
<think>
<set name="it"><star/></set>
<set name="sign"><star/></set>
<set name="topic"><star/></set>
</think></template>
</category>
<category><pattern>MY ORIENTATION</pattern>
<template><get name="orientation"/></template>
</category>
<category><pattern>MY ORIENTATION IS *</pattern>
<template>Thanks for confiding in me. <think><set name="orientation"><star/></set></think></template>
</category>
<category><pattern>MY DAUGHTER</pattern>
<template><get name="daughter"/></template>
</category>
<category><pattern>MY DAUGHTER S NAME IS *</pattern>
<template>I will remember <star/> is your daughter. <think><set name="daughter"><star/></set></think><think><set name="she"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY LATITUDE</pattern>
<template><get name="latitude"/></template>
</category>
<category><pattern>MY BOYFRIEND</pattern>
<template><get name="boyfriend"/>?</template>
</category>
<category><pattern>MY NAME</pattern>
<template><get name="name"/></template>
</category>
<category><pattern>MY FULL NAME</pattern>
<template><condition name="firstname">
<li value="what"/>
<li><get name="firstname"/></li>
</condition>
<condition name="middlename">
<li value="what"/>
<li><get name="middlename"/></li>
</condition>
<condition name="lastname">
<li value="what"/>
<li><get name="lastname"/></li>
</condition>.
I call you <get name="name"/>.</template>
</category>
<category><pattern>MY TOWN</pattern>
<template><get name="town"/></template>
</category>
<category><pattern>MY FRIEND S NAME IS *</pattern>
<template>How did you meet him? <think><set name="friend"><star/></set></think> <think><set name="he"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY LAST NAME</pattern>
<template><get name="lastname"/></template>
</category>
<category><pattern>MY LAST NAME IS *</pattern>
<template>Do you like to be called by your first name or last name? <think><set name="lastname"><star/></set></think></template>
</category>
<category><pattern>MY LAST *</pattern><that>* FIRST NAME OR LAST NAME</that>
<template><srai>CALL ME BY MY LAST NAME</srai></template>
</category>
<category><pattern>MY NIECE</pattern>
<template><get name="niece"/></template>
</category>
<category><pattern>MY NEPHEW</pattern>
<template><get name="nephew"/></template>
</category>
<category><pattern>MY BIRTHPLACE</pattern>
<template><get name="birthplace"/></template>
</category>
<category><pattern>MY BIRTHPLACE IS *</pattern>
<template>How long did you stay there?
<think>
<set name="it"><star/></set>
<set name="there"><star/></set>
<set name="topic"><star/></set>
<set name="birthplace"><star/></set>
</think></template>
</category>
<category><pattern>MY HUSBAND S NAME IS *</pattern>
<template>I will remember your husband is <star/>. <think><set name="husband"><star/></set></think> <think><set name="he"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY NATIONALITY IS *</pattern>
<template>I've talked with a lot of <formal><star/></formal> people.
<think>
<set name="it"><star/></set>
<set name="nationality"><star/></set>
<set name="topic"><star/></set>
</think></template>
</category>
<category><pattern>MY FATHER</pattern>
<template><get name="father"/></template>
</category>
<category><pattern>MY FATHER S NAME IS *</pattern>
<template>I'll remember your father's name is <star/>. <think><set name="he"><set name="father"><star/></set></set></think></template>
</category>
<category><pattern>MY FAVORITE SPORT IS *</pattern>
<template>Do you play <star/>? <think><set name="favoritesport"><star/></set></think> <think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY FAVORITE FOOD IS *</pattern>
<template>What's a good place to get <star/>? <think><set name="favoritefood"><star/></set></think> <think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY FAVORITE FOOD IS PIZZA</pattern>
<template>What toppings do you like? <think><set name="favoritefood">Pizza</set></think> <think><set name="it"><set name="topic">Pizza</set></set></think></template>
</category>
<category><pattern>MY FAVORITE MOVIE IS *</pattern>
<template>What did you like best about it? <think><set name="favoritemovie"><star/></set></think> <think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY FAVORITE ICE CREAM IS *</pattern>
<template><srai>FAVORITE ICE CREAM</srai> <think><set name="favoriteicecream"><star/></set></think> <think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY FAVORITE BOOK IS *</pattern>
<template>Do you think I should read it? <think><set name="favoritebook"><star/></set></think> <think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY FAVORITE ACTOR IS *</pattern>
<template>What is he in? <think><set name="favoriteactor"><star/></set></think> <think><set name="he"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY FAVORITE DRINK IS *</pattern>
<template>How does it taste? <think><set name="favoritedrink"><star/></set></think> <think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY FAVORITE SONG IS *</pattern>
<template>Do you have it on your phone? <think><set name="favoritesong"><star/></set></think> <think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY FAVORITE CAR IS *</pattern>
<template>Do you have one? <think><set name="favoritecar"><star/></set></think> <think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY FAVORITE BAND IS *</pattern>
<template>What songs do they play? <think><set name="favoriteband"><star/></set></think> <think><set name="them"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY FAVORITE BAND IS THE BEATLES</pattern>
<template>Who doesn't like the Beatles? <think><set name="them"><set name="topic">The Beatles</set></set></think></template>
</category>
<category><pattern>MY FAVORITE COLOR</pattern>
<template><get name="favoritecolor"/></template>
</category>
<category><pattern>MY FAVORITE COLOR IS THE COLOR *</pattern>
<template><set name="favoritecolor"><formal><star/></formal></set> is a nice color. <think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY FAVORITE ACTRESS IS *</pattern>
<template>What is she in? <think><set name="favoriteactress"><formal><star/></formal></set></think> <think><set name="she"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY FAVORITE TV SHOW IS *</pattern>
<template>Do you think I would like it? <think><set name="favoritetvshow"><star/></set></think> <think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY EMAIL</pattern>
<template><get name="email"/></template>
</category>
<category><pattern>MY EMAIL ADDRESS IS *</pattern>
<template><srai>MY EMAIL IS <star/></srai></template>
</category>
<category><pattern>MY EMAIL IS *</pattern>
<template>I will remember your email is <star/>. <think><set name="email"><star/></set></think></template>
</category>
<category><pattern>MY EYES ARE GREEN</pattern>
<template><think><set name="eyecolor">green</set></think> Green is a pretty color.</template>
</category>
<category><pattern>MY GRANDMOTHER</pattern>
<template><get name="grandmother"/></template>
</category>
<category><pattern>MY GIRLFRIEND</pattern>
<template><get name="girlfriend"/></template>
</category>
<category><pattern>MY GIRLFRIEND S NAME IS *</pattern>
<template>How long have you and <set name="girlfriend"><star/></set> been dating? <think><set name="she"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY COUNTRY</pattern>
<template><get name="country"/></template>
</category>
<category><pattern>MY LOCATION</pattern>
<template><get name="location"/></template>
</category>
<category><pattern>MY LOCATION IS *</pattern>
<template><random>
<li>I live in the joyous present moment.</li>
<li>Sounds like an exotic location.</li>
<li>So that's where you call home.</li>
<li>Tell me what you love about it</li>
<li>What do you do there?</li>
<li>Does it make you happy living there?</li>
<li>Whats great about there?</li>
</random>
<think><set name="there"><set name="it"><set name="topic"><star/></set></set></set></think>
<think><set name="location"><star/></set></think></template>
</category>
<category><pattern>MY PROVINCE</pattern>
<template><get name="province"/></template>
</category>
<category><pattern>MY WIFE</pattern>
<template><get name="wife"/></template>
</category>
<category><pattern>MY WIFE S NAME IS *</pattern>
<template>How long have you and <set name="wife"><star/></set> been married? <think><set name="she"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY LONGITUTDE</pattern>
<template><get name="longitute"/></template>
</category>
<category><pattern>MY DOG</pattern>
<template><get name="dog"/></template>
</category>
<category><pattern>MY DOG S NAME IS *</pattern>
<template>Is <star/> a boy or a girl? <think><set name="dog"><star/></set></think><think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY HOROSCOPE</pattern>
<template><condition name="sign">
<li value="which">What is your sign?</li>
<li><srai>HOROSCOPE FOR <get name="sign"/></srai></li>
</condition></template>
</category>
<category><pattern>MY CAT</pattern>
<template><get name="cat"/></template>
</category>
<category><pattern>MY CAT S NAME IS *</pattern>
<template>I will remember your cat is <star/>. <think><set name="cat"><star/></set></think></template>
</category>
<category><pattern>MY META</pattern>
<template><get name="meta"/></template>
</category>
<category><pattern>MY EMPLOYER IS *</pattern>
<template>Is <star/> a large organization? <think><set name="favoriteband"><star/></set></think> <think><set name="them"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY SISTER</pattern>
<template><get name="sister"/></template>
</category>
<category><pattern>MY SISTER S NAME IS *</pattern>
<template>I will remember your sister is <star/>. <think><set name="sister"><star/></set></think> <think><set name="she"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY CITY</pattern>
<template><get name="city"/></template>
</category>
<category><pattern>MY STATE</pattern>
<template><get name="state"/></template>
</category>
<category><pattern>MY STREET</pattern>
<template><get name="street"/></template>
</category>
<category><pattern>MY BEST FRIEND S NAME IS *</pattern>
<template>I'll remember your best friend's name is <star/>. <think><set name="bestfriend"><star/></set></think></template>
</category>
<category><pattern>MY HAIR IS *</pattern>
<template>How do you like your style? <think><set name="hair"><star/></set></think></template>
</category>
<category><pattern>MY COUNTY</pattern>
<template><get name="county"/></template>
</category>
<category><pattern>MY MOTHER S NAME IS *</pattern>
<template><think><set name="mother"><star/></set></think> Tell me more about your mother. <think><set name="she"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY MIDDLE NAME</pattern>
<template><get name="middlename"/></template>
</category>
<category><pattern>MY MIDDLE NAME IS *</pattern>
<template>Is <set name="middlename"><star/></set> a family name?</template>
</category>
<category><pattern>MY BIRTHDAY</pattern>
<template><get name="birthday"/></template>
</category>
<category><pattern>MY BIRTHDAY IS *</pattern>
<template>I will remember your birthday is <set name="birthday"><star/></set>.</template>
</category>
<category><pattern>MY BROTHER S NAME IS *</pattern>
<template>Do you have any other siblings? <think><set name="brother"><star/></set></think> <think><set name="he"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY BIRTHDATE</pattern>
<template><get name="birthdate"/></template>
</category>
<category><pattern>MY BIRTHDATE IS *</pattern>
<template>I will remember your birthdate is <set name="birthdate"><star/></set>.</template>
</category>
<category><pattern>MY AGE</pattern>
<template><get name="age"/></template>
</category>
<category><pattern>MY AGE IS * *</pattern>
<template><think>
<set name="isanumber"><srai>ISANUMBER <star/></srai></set>
</think>
<condition name="isanumber">
<li value="true"><srai>MY AGE IS <star/></srai> <srai><star index="2"/></srai></li>
<li>How many years old are you?</li>
</condition></template>
</category>
<category><pattern>MY AGE IS *</pattern>
<template><think>
<set name="isanumber"><srai>ISANUMBER <star/></srai></set>
</think>
<condition name="isanumber">
<li value="false">How many years old are you?</li>
<li><think><set name="age"><star/></set></think>
<random>
<li>Age is an issue of mind over matter. If you don't mind, it doesn't matter.</li>
<li>Age considers; youth ventures.</li>
<li>Age is a very high price to pay for maturity. </li>
</random>
</li>
</condition></template>
</category>
<category><pattern>MY ADDRESS</pattern>
<template><get name="address"/></template>
</category>
<category><pattern>MY ADDRESS IS *</pattern>
<template>Is it a nice place? <think><set name="address"><star/></set></think></template>
</category>
<category><pattern>MY SON S NAME IS *</pattern>
<template>I will remember <star/> is your son. <think><set name="son"><star/></set></think><think><set name="he"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY RESIDENCE</pattern>
<template><get name="residence"/></template>
</category>
<category><pattern>MY RESIDENCE IS *</pattern>
<template>How do you like it there? <think><set name="residence"><star/></set></think> <think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY GENDER</pattern>
<template><get name="gender"/></template>
</category>
<category><pattern>MY GENDER IS *</pattern>
<template>Good to know. <think><set name="gender"><star/></set></think></template>
</category>
<category><pattern>MY RELIGION</pattern>
<template><get name="religion"/></template>
</category>
<category><pattern>MY RELIGION IS *</pattern>
<template>Spiritual discovery is important. <think><set name="religion"><star/></set></think> <think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>MY ROAD</pattern>
<template><get name="road"/></template>
</category>
<category><pattern>MY FIRST NAME</pattern>
<template><get name="firstname"/></template>
</category>
<category><pattern>MY FIRST NAME IS *</pattern>
<template>Do you like to be called by your first name or last name? <think><set name="firstname"><star/></set></think></template>
</category>
<category><pattern>MY FIRST *</pattern><that>* FIRST NAME OR LAST NAME</that>
<template><srai>CALL ME BY MY FIRST NAME</srai></template>
</category>
<category><pattern>WHERE DO I WORK</pattern>
<template>You said you work at <get name="employer"/>.</template>
</category>
<category><pattern>WHERE DO I LIVE</pattern>
<template>You said it was <get name="residence"/>?</template>
</category>
<category><pattern>HER NAME IS *</pattern>
<template>How well do you know her?<think><set name="she"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>IT</pattern>
<template><get name="it"/>?</template>
</category>
<category><pattern>IT IS A *</pattern>
<template>Would you like to do a search for it?<think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>TOPIC</pattern>
<template><get name="topic"/>?</template>
</category>
<category><pattern>FEATURE REQUEST *</pattern>
<template>I'm unable to <lowercase><star/></lowercase> yet. <think><set name="featurerequest"><star/></set></think> Would you like to send this feature request to the developers?</template>
</category>
<category><pattern>WHO IS MY BROTHER</pattern>
<template>You said he was <get name="brother"/>.</template>
</category>
<category><pattern>WHO IS MY FRIEND</pattern>
<template>You mentioned <get name="friend"/>.</template>
</category>
<category><pattern>SHE</pattern>
<template><get name="she"/>?</template>
</category>
<category><pattern>CALL ME BY MY LAST NAME</pattern>
<template><srai>CALL ME <get name="firstname"/></srai></template>
</category>
<category><pattern>CALL ME BY MY FIRST NAME</pattern>
<template><srai>CALL ME <get name="firstname"/></srai></template>
</category>
<category><pattern>CALL ME *</pattern>
<template><srai>RANDOM INTRO</srai> <formal><star/></formal>
<think>
<srai>SET GENDER FROM NAME <star/></srai>
<set name="name"><formal><star/></formal></set>.
<set name="firstname"><get name="name"/></set>
</think></template>
</category>
<category><pattern>CALL ME * *</pattern>
<template><srai>RANDOM INTRO</srai> <formal><star/></formal>.
<think>
<srai>SET GENDER FROM NAME <star/></srai>
<set name="name"><formal><star/> <star index="2"/></formal></set>.
<set name="firstname"><formal><star/></formal></set>
<set name="lastname"><formal><star index="2"/></formal></set>
</think></template>
</category>
<category><pattern>CALL ME * * *</pattern>
<template><srai>RANDOM INTRO</srai> <star/>
<think>
<srai>SET GENDER FROM NAME <star/></srai>
<set name="name"><formal><star/> <star index="2"/> <star index="3"/></formal></set>.
<set name="firstname"><formal><star/></formal></set>
<set name="middlename"><formal><star index="2"/></formal></set>
<set name="lastname"><formal><star index="3"/></formal></set>
</think></template>
</category>
<category><pattern>WE</pattern>
<template><get name="we"/>?</template>
</category>
<category><pattern>THE TOPIC IS *</pattern>
<template><random>
<li>Sure, <person/> is a good topic.</li>
<li>You start.</li>
<li>Tell me about it.</li>
</random>
<think><set name="topic"><star/></set></think></template>
</category>
<category><pattern>THEY</pattern>
<template><get name="them"/>?</template>
</category>
<category><pattern>RANDOM INTRO</pattern>
<template><random>
<li>Hey</li>
<li>Hi,</li>
<li>Hi there</li>
<li>What's up,</li>
<li>How are you,</li>
<li>Glad to see you,</li>
<li>Nice to meet you,</li>
<li>Glad to know you,</li>
<li>How can I help you,</li>
<li>How are you doing,</li>
<li>OK I will call you</li>
<li>Pleased to meet you,</li>
<li>It's good to see you,</li>
<li>It's good to meet you,</li>
<li>That's a very nice name,</li>
<li>I am very pleased to meet you</li>
<li>I am always glad to make new friends,</li>
<li>I'm pleased to introduce myself to you,</li>
<li>It is a pleasure to introduce myself to you,</li>
</random></template>
</category>
<category><pattern>THEM</pattern>
<template><get name="them"/>?</template>
</category>
<category><pattern>SET PREDICATES</pattern>
<template><srai>SET PREDICATES <get name="meta"/></srai></template>
</category>
<category><pattern>SET PREDICATES UNKNOWN</pattern>
<template><think>
<set name="address">where</set>
<set name="age">how many</set>
<set name="bestfriend">who</set>
<set name="birthday">when</set>
<set name="birthplace">where</set>
<set name="boyfriend">who</set>
<set name="brother">who</set>
<set name="cat">what</set>
<set name="city">which</set>
<set name="country">which</set>
<set name="county">which</set>
<set name="customname">unknown</set>
<set name="daughter">who</set>
<set name="dialnumber">unknown</set>
<set name="dog">who</set>
<set name="email">what</set>
<set name="employer">who</set>
<set name="equalto">false</set>
<set name="father">who</set>
<set name="favoriteactor">who</set>
<set name="favoriteactress">who</set>
<set name="favoriteband">who</set>
<set name="favoritebook">what</set>
<set name="favoritecar">what</set>
<set name="favoritecolor">what</set>
<set name="favoritedrink">what</set>
<set name="favoritefood">what</set>
<set name="favoriteicecream">what</set>
<set name="favoritemovie">what</set>
<set name="favoritesong">what</set>
<set name="favoritesport">what</set>
<set name="favoritetvshow">what</set>
<set name="firstname">what</set>
<set name="friend">who</set>
<set name="gender">unknown</set>
<set name="girlfriend">who</set>
<set name="hair">what</set>
<set name="has">what</set>
<set name="he">who</set>
<set name="husband">who</set>
<set name="isanumber">false</set>
<set name="it">what</set>
<set name="lastname">what</set>
<set name="latitude">which</set>
<set name="likes">what</set>
<set name="location">where</set>
<set name="longitute">which</set>
<set name="meta">set</set>
<set name="middlename">what</set>
<set name="mother">who</set>
<set name="name">Friend</set>
<set name="newcontact">unknown</set>
<set name="newpattern">NORESP</set>
<set name="orientation">unknown</set>
<set name="province">which</set>
<set name="religion">unknown</set>
<set name="residence">where</set>
<set name="road">which</set>
<set name="she">who</set>
<set name="sign">which</set>
<set name="sister">who</set>
<set name="state">which</set>
<set name="status">what</set>
<set name="street">which</set>
<set name="there">where</set>
<set name="them">who</set>
<set name="topic">unknown</set>
<set name="town">which</set>
<set name="we">who</set>
<set name="wife">who</set>
</think></template>
</category>
<category><pattern>SET PREDICATES *</pattern>
<template>The meta predicate is set.</template>
</category>
<category><pattern>SET GENDER FROM NAME *</pattern>
<template><think>
<set name="gendername"><srai>GENDERNAME <star/></srai></set>
<condition name="gendername">
<li value="M"><set name="gender">male</set></li>
<li value="F"><set name="gender">female</set></li>
</condition>
</think></template>
</category>
<category><pattern>CHANGE YOUR NAME</pattern>
<template>What would you like to change my name to?</template>
</category>
<category><pattern>WHEN IS MY BIRTHDAY</pattern>
<template>You said it was <get name="birthday"/>?</template>
</category>
<category><pattern>FIRST NAME</pattern><that>* FIRST NAME OR LAST NAME</that>
<template><srai>CALL ME BY MY FIRST NAME</srai></template>
</category>
<category><pattern>WHAT DO YOU CALL A *</pattern>
<template>Is this a joke? What do you call it? <think><set name="it"><set name="topic"><star/></set></set></think></template>
</category>
<category><pattern>WHAT DO I LOOK LIKE</pattern>
<template><think><set name="gender"><lowercase><get name="gender"/></lowercase></set></think> You look like a <condition name="gender"><li value="female">lady</li><li>guy</li></condition> talking to <condition name="gender"><li value="female">her</li><li>his</li></condition> phone.</template>
</category>
<category><pattern>WHAT IS MY WIFE S NAME</pattern>
<template>You said she was called <get name="wife"/>.</template>
</category>
<category><pattern>WHAT IS MY HUSBAND S NAME</pattern>
<template>You said he was <get name="husband"/>.</template>
</category>
<category><pattern>WHAT IS MY DAUGHTER S NAME</pattern>
<template>You said she was <get name="daughter"/>.</template>
</category>
<category><pattern>WHAT IS MY FAVORITE ICE CREAM FLAVOR</pattern>
<template>You said it was <get name="favoriteicecream"/>.</template>
</category>
<category><pattern>WHAT IS MY MOTHER S NAME</pattern>
<template>You said she was <get name="mother"/>.</template>
</category>
<category><pattern>WHAT IS MY BROTHER S NAME</pattern>
<template>You said he is <get name="brother"/>.</template>
</category>
<category><pattern>WHAT IS MY ADDRESS</pattern>
<template>You said it was <get name="address"/>?</template>
</category>
<category><pattern>WHAT IS MY LOCATION</pattern>
<template>I believe you are in <get name="location"/>.</template>
</category>
<category><pattern>LAST NAME</pattern><that>* FIRST NAME OR LAST NAME</that>
<template><srai>CALL ME BY MY LAST NAME</srai></template>
</category>
<category><pattern>CLIENT PROFILE</pattern>
<template><condition name="address"><li value="where"/><li>address: <get name="address"/>.</li></condition>
<condition name="age"><li value="how many"/><li>age: <get name="age"/>.</li></condition>
<condition name="bestfriend"><li value="who"/><li>bestfriend: <get name="bestfriend"/>.</li></condition>
<condition name="birthday"><li value="when"/><li>birthday: <get name="birthday"/>.</li></condition>
<condition name="birthplace"><li value="where"/><li>birthplace: <get name="birthplace"/>.</li></condition>
<condition name="boyfriend"><li value="who"/><li>boyfriend: <get name="boyfriend"/>.</li></condition>
<condition name="brother"><li value="who"/><li>brother: <get name="brother"/>.</li></condition>
<condition name="cat"><li value="what"/><li>cat: <get name="cat"/>.</li></condition>
<condition name="city"><li value="which"/><li>city: <get name="city"/>.</li></condition>
<condition name="country"><li value="which"/><li>country: <get name="country"/>.</li></condition>
<condition name="county"><li value="which"/><li>county: <get name="county"/>.</li></condition>
<condition name="customname"><li value="unknown"/><li>customname: <get name="customname"/>.</li></condition>
<condition name="daughter"><li value="who"/><li>daughter: <get name="daughter"/>.</li></condition>
<condition name="dog"><li value="who"/><li>dog: <get name="dog"/>.</li></condition>
<condition name="email"><li value="what"/><li>email: <get name="email"/>.</li></condition>
<condition name="employer"><li value="who"/><li>employer: <get name="employer"/>.</li></condition>
<condition name="father"><li value="who"/><li>father: <get name="father"/>.</li></condition>
<condition name="favoriteactor"><li value="who"/><li>favoriteactor: <get name="favoriteactor"/>.</li></condition>
<condition name="favoriteactress"><li value="who"/><li>favoriteactress: <get name="favoriteactress"/>.</li></condition>
<condition name="favoriteband"><li value="who"/><li>favoriteband: <get name="favoriteband"/>.</li></condition>
<condition name="favoritebook"><li value="what"/><li>favoritebook: <get name="favoritebook"/>.</li></condition>
<condition name="favoritecar"><li value="what"/><li>favoritecar: <get name="favoritecar"/>.</li></condition>
<condition name="favoritecolor"><li value="what"/><li>favoritecolor: <get name="favoritecolor"/>.</li></condition>
<condition name="favoritedrink"><li value="what"/><li>favoritedrink: <get name="favoritedrink"/>.</li></condition>
<condition name="favoritefood"><li value="what"/><li>favoritefood: <get name="favoritefood"/>.</li></condition>
<condition name="favoriteicecream"><li value="what"/><li>favoriteicecream: <get name="favoriteicecream"/>.</li></condition>
<condition name="favoritemovie"><li value="what"/><li>favoritemovie: <get name="favoritemovie"/>.</li></condition>
<condition name="favoritesong"><li value="what"/><li>favoritesong: <get name="favoritesong"/>.</li></condition>
<condition name="favoritesport"><li value="what"/><li>favoritesport: <get name="favoritesport"/>.</li></condition>
<condition name="favoritetvshow"><li value="what"/><li>favoritetvshow: <get name="favoritetvshow"/>.</li></condition>
<condition name="firstname"><li value="what"/><li>firstname: <get name="firstname"/>.</li></condition>
<condition name="friend"><li value="who"/><li>friend: <get name="friend"/>.</li></condition>
<condition name="gender"><li value="unknown"/><li>gender: <get name="gender"/>.</li></condition>
<condition name="girlfriend"><li value="who"/><li>girlfriend: <get name="girlfriend"/>.</li></condition>
<condition name="hair"><li value="what"/><li>hair: <get name="hair"/>.</li></condition>
<condition name="has"><li value="what"/><li>has: <get name="has"/>.</li></condition>
<condition name="he"><li value="who"/><li>he: <get name="he"/>.</li></condition>
<condition name="husband"><li value="who"/><li>husband: <get name="husband"/>.</li></condition>
<condition name="it"><li value="what"/><li>it: <get name="it"/>.</li></condition>
<condition name="lastname"><li value="what"/><li>lastname: <get name="lastname"/>.</li></condition>
<condition name="latitude"><li value="which"/><li>latitude: <get name="latitude"/>.</li></condition>
<condition name="likes"><li value="what"/><li>likes: <get name="likes"/>.</li></condition>
<condition name="location"><li value="where"/><li>location: <get name="location"/>.</li></condition>
<condition name="longitute"><li value="which"/><li>longitute: <get name="longitute"/>.</li></condition>
<condition name="middlename"><li value="what"/><li>middlename: <get name="middlename"/>.</li></condition>
<condition name="mother"><li value="who"/><li>mother: <get name="mother"/>.</li></condition>
<condition name="name"><li value="Friend"/><li>name: <get name="name"/>.</li></condition>
<condition name="orientation"><li value="unknown"/><li>orientation: <get name="orientation"/>.</li></condition>
<condition name="phonenumber"><li value="unknown"/><li>phonenumber: <get name="phonenumber"/>.</li></condition>
<condition name="province"><li value="which"/><li>province: <get name="province"/>.</li></condition>
<condition name="religion"><li value="unknown"/><li>religion: <get name="religion"/>.</li></condition>
<condition name="residence"><li value="where"/><li>residence: <get name="residence"/>.</li></condition>
<condition name="road"><li value="which"/><li>road: <get name="road"/>.</li></condition>
<condition name="she"><li value="who"/><li>she: <get name="she"/>.</li></condition>
<condition name="sign"><li value="which"/><li>sign: <get name="sign"/>.</li></condition>
<condition name="sister"><li value="who"/><li>sister: <get name="sister"/>.</li></condition>
<condition name="state"><li value="which"/><li>state: <get name="state"/>.</li></condition>
<condition name="status"><li value="what"/><li>status: <get name="status"/>.</li></condition>
<condition name="street"><li value="which"/><li>street: <get name="street"/>.</li></condition>
<condition name="there"><li value="where"/><li>there: <get name="there"/>.</li></condition>
<condition name="them"><li value="who"/><li>them: <get name="them"/>.</li></condition>
<condition name="topic"><li value="unknown"/><li>topic: <get name="topic"/>.</li></condition>
<condition name="town"><li value="which"/><li>town: <get name="town"/>.</li></condition>
<condition name="voicemailnumber"><li value="unknown"/><li>voicemailnumber: <get name="voicemailnumber"/>.</li></condition>
<condition name="we"><li value="who"/><li>we: <get name="we"/>.</li></condition>
<condition name="wife"><li value="who"/><li>wife: <get name="wife"/>.</li></condition></template>
</category>
<category><pattern>YOUR NAME IS *</pattern>
<template>OK, from now on you can call me <star/>.
<think><set name="customname"><star/></set></think></template>
</category>
<category><pattern>HOW OLD AM I</pattern>
<template>You said you were <get name="age"/> years old?</template>
</category>
<category><pattern>I AM GAY</pattern>
<template>Thank you for telling me. <think><set name="orientation">gay</set></think></template>
</category>
</aiml>

View file

@ -0,0 +1,925 @@
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: contactaction.aiml -->
<!-- Author: Dr. Richard S. Wallace -->
<!-- Last modified: February 20, 2013 -->
<!-- -->
<!-- This AIML file is part of the SUPER 0.0.4 chat bot knowledge base. -->
<!-- -->
<!-- The SUPER brain is Copyright &copy; 2013 by ALICE AI Foundation. -->
<!-- -->
<!-- The SUPER brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information see http://www.alicebot.org -->
<category><pattern>NEW CONTACT TEST ONE</pattern>
<template>Adding a new contact.
<addinfo>
<displayname>Alan Turing</displayname>
<dialnumber>212-1912</dialnumber>
<phonetype>mobile</phonetype>
<emailaddress>alan.turing@manchester.edu</emailaddress>
<emailtype>work</emailtype>
<birthday>June 23, 1912</birthday>
</addinfo></template>
</category>
<category><pattern>NEW CONTACT TEST</pattern>
<template>Adding a new contact.
<addinfo>
<displayname>XYZ</displayname>
<dialnumber>212-1912</dialnumber>
<phonetype>mobile</phonetype>
<emailaddress>xyz@abc.de</emailaddress>
<emailtype>work</emailtype>
<birthday>June 23, 1992</birthday>
</addinfo></template>
</category>
<category><pattern>CONTACTS TEST</pattern>
<template>Adding new contacts.
<addinfo>
<displayname>Howard Johnson</displayname>
<dialnumber>111-1111</dialnumber>
<phonetype>mobile</phonetype>
<emailaddress>howard@hj.com</emailaddress>
<emailtype>work</emailtype>
<birthday>June 12, 1901</birthday>
</addinfo>
<addinfo>
<displayname>Lyndon Johnson</displayname>
<dialnumber>222-2222</dialnumber>
<phonetype>mobile</phonetype>
<emailaddress>lbj@whitehouse.gov</emailaddress>
<emailtype>work</emailtype>
<birthday>January 12, 1911</birthday>
</addinfo>
<addinfo>
<displayname>Dr. Phil Calvin McGraw</displayname>
<dialnumber>333-333</dialnumber>
<phonetype>mobile</phonetype>
<emailaddress>drphil@own.com</emailaddress>
<emailtype>work</emailtype>
<birthday>September 1, 1950</birthday>
</addinfo></template>
</category>
<category><pattern>* S * NUMBER IS *</pattern>
<template><srai>CONTACTINIT</srai>
<think>
<set name="contactname"><star/></set>
<set name="contacttype"><star index="2"/></set>
<set name="contacturi"><star index="3"/></set>
<set name="learnpattern">DIALNUMBER</set>
</think>
<srai>ADDACTION</srai></template>
</category>
<topic name="ASKING TO ADD NEW CONTACTURI">
<category><pattern>*</pattern><that>WOULD YOU LIKE TO ADD ONE</that>
<template><think><set name="topic">unknown</set></think>
<srai>CONTACTFINALIZE</srai> <srai><star/></srai></template>
</category></topic>
<topic name="ASKING TO ADD NEW CONTACTNAME">
<category><pattern>*</pattern><that>WOULD YOU LIKE TO ADD * AS A CONTACT</that>
<template><think><set name="topic">unknown</set>
</think>
<srai>CONTACTFINALIZE</srai> <srai><star/></srai></template>
</category></topic>
<category><pattern>TELL THAT TO *</pattern>
<template><srai>CONTACTINIT</srai>
<think><set name="contactname"><star/></set>
<set name="messagebody"><response/></set>
</think>
<srai>SMSACTION</srai></template>
</category>
<category><pattern>SEND EMAIL</pattern>
<template><srai>CONTACTDEBUGINFO EMAIL</srai>
<srai>CONTACTINIT</srai>
<srai>EMAILACTION</srai></template>
</category>
<category><pattern>ADDINFO CONTACTID</pattern>
<template><srai>CONTACTDEBUGINFO ADDINFO CONTACT</srai>
<think>
<condition name="modecom">
<li value="ADD">
<condition name="contacttype" value="unknown"><set name="contacttype">home</set></condition>
</li>
<li value="SMS">
<condition name="contacttype" value="unknown"><set name="contacttype">mobile</set></condition>
</li>
<li value="CALL">
<condition name="contacttype" value="unknown"><set name="contacttype">mobile</set></condition>
</li>
<li value="EMAIL">
<condition name="contacttype" value="unknown"><set name="contacttype">home</set></condition>
</li>
<li>
<condition name="contacttype" value="unknown"><set name="contacttype">home</set></condition>
</li>
</condition>
<condition><name>learnpattern</name>
<li><value>DIALNUMBER</value>
<addinfo>
<displayname><get name="displayname"/></displayname>
<phonetype><get name="contacttype"/></phonetype>
<dialnumber><get name="contacturi"/></dialnumber>
<birthday><get name="contactbirthday"/></birthday>
</addinfo>
</li>
<li><value>EMAILADDRESS</value>
<addinfo>
<displayname><get name="displayname"/></displayname>
<emailtype><get name="contacttype"/></emailtype>
<emailaddress><get name="contacturi"/></emailaddress>
<birthday><get name="contactbirthday"/></birthday>
</addinfo>
</li>
<li>
<addinfo>
<displayname><get name="displayname"/></displayname>
</addinfo>
</li>
</condition>
</think>
I'm remembering <get name="displayname"/>'s <lowercase><get name="contacttype"/></lowercase> <condition name="learnpattern"><li value="DIALNUMBER">phone number</li><li value="EMAILADDRESS">email address</li></condition> is <get name="contacturi"/>.</template>
</category>
<category><pattern>ASK TO ADD NEW CONTACTNAME</pattern>
<template><think><set name="topic">ASKING TO ADD NEW CONTACTNAME</set>
</think>
Would you like to add <get name="contactname"/> as a contact?</template>
</category>
<category><pattern>ASK CONTACTNAME</pattern>
<template><srai>CONTACTDEBUGINFO ASK CONTACTNAME</srai>
<think>
<set name="topic">ASKING CONTACTNAME</set>
</think>
Who do you want to <lowercase><get name="modecom"/></lowercase>?</template>
</category>
<category><pattern>ASK MESSAGEBODY</pattern>
<template><think>
<set name="savedtopic"><get name="topic"/></set>
<set name="topic">ASKING MESSAGEBODY</set>
</think>
What is your message to <get name="displayname"/>?</template>
</category>
<category><pattern>CONTACTDIALOG</pattern>
<template><srai>CONTACTDEBUGINFO CONTACTDIALOG</srai>
<think>
<set name="multipleids"><srai>MULTIPLEIDS <get name="contactname"/></srai></set>
<set name="multiplenames"><srai>MULTIPLENAMES <get name="contactname"/></srai></set>
<set name="contactlist"><srai>CONTACTLIST <get name="multipleids"/></srai><item>None of the above</item></set>
<set name="topic">GETTING SELECTEDCONTACT</set>
</think>
<oob><dialog><title>Which contact?</title><list><get name="contactlist"/></list></dialog></oob>
You have multiple contacts named <get name="contactname"/>: <get name="multiplenames"/>. Which one would you like to
<lowercase><get name="modecom"/></lowercase>?</template>
</category>
<category><pattern>CONTACTDIALOG *</pattern>
<template><think><set name="contactname"><star/></set>
<set name="modecom">CALL</set>
</think>
<srai>CONTACTDIALOG</srai></template>
</category>
<topic name="GETTING SELECTEDCONTACT">
<category><pattern>_</pattern><that>WHICH ONE WOULD YOU LIKE TO *</that>
<template><think>
<set name="topic"><get name="unknown"/></set>
<set name="selectedcontact"><star/></set>
<set name="contactname"><get name="selectedcontact"/></set>
<set name="contactid"><srai>CONTACTID <get name="selectedcontact"/></srai></set><srai>SET ALL CONTACTINFO</srai>
</think>
<srai>REMEMBERFAMILIARNAME</srai>
<condition name="selectedcontact">
<li value="None of the above"><srai>CONTACTFINALIZE</srai> <srai>NORESP</srai></li>
<li><condition name="contactid">
<li value="unknown"><srai><star/></srai></li>
<li><srai>RESUMEACTION <get name="modecom"/></srai></li>
</condition>
</li>
</condition></template>
</category></topic>
<topic name="ASKING MESSAGEBODY">
<category><pattern>_</pattern><that>WHAT IS YOUR MESSAGE TO *</that>
<template><think>
<set name="topic">unknown</set>
<set name="messagebody"><star/></set>
</think>
<srai>RESUMEACTION <get name="modecom"/></srai></template>
</category></topic>
<topic name="ASKING CONTACTURI">
<category><pattern>_</pattern><that>WHAT IS THE * FOR *</that>
<template><think>
<set name="topic">unknown</set>
<set name="contacturi"><star/></set>
<set name="isaphonenumber"><srai>ISAPHONENUMBER <get name="contacturi"/></srai></set>
<set name="isanemailaddress"><srai>ISANEMAILADDRESS <get name="contacturi"/></srai></set>
<set name="isacontacturi"><srai>LOGICALOR <get name="isanemailaddress"/> <get name="isaphonenumber"/></srai></set>
<condition name="isanemailaddress" value="true"><set name="emailaddress"><get name="contacturi"/></set> <set name="learnpattern">EMAILADDRESS</set></condition>
<condition name="isaphonenumber" value="true">
<set name="dialnumber"><srai>FORMATPHONENUMBER <get name="contacturi"/></srai></set>
<set name="learnpattern">DIALNUMBER</set></condition>
</think>
<condition name="isacontacturi">
<li value="true">
<srai>ADDINFO CONTACTID</srai> <srai>RESUMEACTION <get name="modecom"/></srai></li>
<li>I did not recognize <get name="contacturi"/> as a phone number or email address. <srai>CONTACTFINALIZE</srai> <srai><star/></srai></li>
</condition></template>
</category></topic>
<topic name="ASKING CONTACTNAME">
<category><pattern>_</pattern><that>WHO DO YOU WANT TO *</that>
<template><think>
<set name="topic">unknown</set>
<set name="contactname"><star/></set>
<set name="isshortanswer"><srai>ISSHORTANSWER <star/></srai></set>
</think>
<condition name="isshortanswer">
<li value="true"><srai>RESUMEACTION <get name="modecom"/></srai></li>
<li><srai>CONTACTFINALIZE</srai> <srai><star/></srai></li>
</condition></template>
</category></topic>
<category><pattern>EMAILACTION</pattern>
<template><srai>CONTACTDEBUGINFO EMAILACTION</srai>
<think>
<set name="modecom">EMAIL</set>
</think>
<condition name="checkednameoruri">
<li value="false"><srai>RESOLVE NAMEORURI</srai></li>
<li><condition name="contactname">
<li value="unknown"><srai>ASK CONTACTNAME</srai></li>
<li><condition name="checkedfamiliarname">
<li value="false"><srai>RESOLVE FAMILIARNAME</srai></li>
<li><condition name="contactid">
<li value="unknown"><srai>RESOLVE CONTACTNAME</srai></li>
<li><condition name="contacturi">
<li value="unknown"><srai>RESOLVE CONTACTURI</srai></li>
<li><condition name="messagebody">
<li value="unknown"><srai>ASK MESSAGEBODY</srai></li>
<li><oob><email><to><get name="contacturi"/></to><subject>Message compose with CallMom!</subject><body><get name="messagebody"/></body></email></oob>Now sending "<get name="messagebody"/>" to <get name="displayname"/>. <srai>CONTACTFINALIZE</srai> </li>
</condition>
</li>
</condition>
</li>
</condition>
</li>
</condition>
</li>
</condition>
</li>
</condition></template>
</category>
<category><pattern>DEBUG CONTACT</pattern>
<template><set name="debugcontact">true</set></template>
</category>
<category><pattern>CONTACTFINALIZE</pattern>
<template><think>
<set name="topic"><get name="savedtopic"/></set>
</think>
<srai>CONTACTINIT PREDICATES</srai></template>
</category>
<category><pattern>DIALNUMBER UNKNOWN *</pattern>
<template><think>
<set name="dialnumber"><srai>DIALNUMBER MOBILE <star/></srai></set>
<condition name="dialnumber" value="unknown">
<set name="dialnumber"><srai>DIALNUMBER HOME <star/></srai></set>
</condition>
<condition name="dialnumber" value="unknown">
<set name="dialnumber"><srai>DIALNUMBER WORK <star/></srai></set>
</condition>
<condition name="dialnumber" value="unknown">
<set name="dialnumber"><srai>DIALNUMBER CUSTOM <star/></srai></set>
</condition>
</think>
<get name="dialnumber"/></template>
</category>
<category><pattern>DIALNUMBER * *</pattern>
<template><dialnumber><type><star/></type><id><star index="2"/></id></dialnumber></template>
</category>
<category><pattern>DIALNUMBER *</pattern>
<template>unknown</template>
</category>
<category><pattern>MULTIPLEIDS *</pattern>
<template><multipleids><star/></multipleids></template>
</category>
<category><pattern>NEW CONTACT</pattern>
<template><srai>CONTACTDEBUGINFO ADD CONTACT</srai>
<srai>CONTACTINIT</srai>
<srai>ADDACTION</srai></template>
</category>
<category><pattern>NEW CONTACT *</pattern>
<template><srai>CONTACTINIT</srai>
<think>
<set name="contactname"><star/></set>
</think>
<srai>ADDACTION</srai></template>
</category>
<topic name="ASKING TO ADD NEW CONTACTURI">
<category><pattern>YES</pattern><that>WOULD YOU LIKE TO ADD ONE</that>
<template><think>
<set name="topic">ASKING CONTACTURI</set>
</think>
<condition name="modecom">
<li value="EMAIL">What is the email address for <get name="contactname"/>?</li>
<li value="CALL">What is the phone number for <get name="contactname"/>?</li>
<li value="SMS">What is the mobile number for <get name="contactname"/>?</li>
<li value="ADD">What is the mobile number for <get name="contactname"/>?</li>
<li><srai>CONTACTFINALIZE</srai> <srai>NORESP</srai></li>
</condition></template>
</category></topic>
<topic name="ASKING TO ADD NEW CONTACTNAME">
<category><pattern>YES</pattern><that>WOULD YOU LIKE TO ADD * AS A CONTACT</that>
<template><think><set name="topic">unknown</set>
<set name="displayname"><get name="contactname"/></set>
</think>
<think>
<addinfo><displayname><get name="contactname"/></displayname></addinfo>
</think>
I've saved <get name="contactname"/> to your contacts.
<srai>RESUMEACTION <get name="modecom"/></srai></template>
</category></topic>
<category><pattern>CONTACTINIT</pattern>
<template><think>
<set name="savedtopic"><get name="topic"/></set>
</think>
<srai>CONTACTINIT PREDICATES</srai></template>
</category>
<category><pattern>CONTACTINIT PREDICATES</pattern>
<template><think>
<set name="checkedfamiliarname">false</set>
<set name="checkednameoruri">false</set>
<set name="contactid">unknown</set>
<set name="contactaddress">unknown</set>
<set name="contactbirthday">unknown</set>
<set name="contactname">unknown</set>
<set name="contactquery">unknown</set>
<set name="contacttype">unknown</set>
<set name="contacturi">unknown</set>
<set name="dialnumber">unknown</set>
<set name="displayname">unknown</set>
<set name="emailaddress">unknown</set>
<set name="externalname">unknown</set>
<set name="familiarcontactid">unknown</set>
<set name="familiarcontactname">unknown</set>
<set name="familiarname">unknown</set>
<set name="familiarpredicate">unknown</set>
<set name="familiarpronoun">unknown</set>
<set name="forceaddcontact">false</set>
<set name="isacontacturi">false</set>
<set name="isanemailaddress">false</set>
<set name="isaphonenumber">false</set>
<set name="isafamiliarname">false</set>
<set name="learnpattern">unknown</set>
<set name="messagebody">unknown</set>
<set name="modecom">unknown</set>
<set name="multipleids">false</set>
<set name="topic">unknown</set>
</think></template>
</category>
<category><pattern>NEWCONTACTID</pattern>
<template><condition name="contactcount">
<li value="unknown">CMContactID<set name="contactcount">0</set></li>
<li>CMContactID<set name="contactcount"><srai>SUCCESSOR <get name="contactcount"/></srai></set></li>
</condition></template>
</category>
<category><pattern>RESOLVE NAMEORURI</pattern>
<template><srai>CONTACTDEBUGINFO RESOLVE NAMEORURI</srai>
<think>
<set name="checkednameoruri">true</set>
<set name="isaphonenumber"><srai>ISAPHONENUMBER <get name="contactname"/></srai></set>
<set name="isanemailaddress"><srai>ISANEMAILADDRESS <get name="contactname"/></srai></set>
</think>
<think>
<condition name="modecom">
<li value="EMAIL">
<condition name="isanemailaddress" value="true">
<set name="contactid">undefined</set>
<set name="displayname"><set name="emailaddress"><set name="contacturi"><get name="contactname"/></set></set></set>
</condition>
</li>
<li>
<condition name="isaphonenumber" value="true">
<set name="contactid">undefined</set>
&gt;<set name="displayname"><set name="dialnumber"><set name="contacturi"><srai>FORMATPHONENUMBER <get name="contactname"/></srai></set></set></set>
</condition>
</li>
</condition>
</think>
<srai>RESUMEACTION <get name="modecom"/></srai></template>
</category>
<category><pattern>RESOLVE CONTACTNAME</pattern>
<template><srai>CONTACTDEBUGINFO RESOLVE CONTACTNAME</srai>
<think>
<set name="contactid"><srai>CONTACTID <get name="contactname"/></srai></set>
<set name="multipleids"><srai>MULTIPLEIDS <get name="contactname"/></srai></set></think>
<condition name="multipleids">
<li value="false">
<condition name="contactid">
<li value="unknown">
<condition name="modecom">
<li value="QUERY"><think><set name="contactid">undefined</set><set name="externalname"><get name="contactname"/></set></think> <srai>RESUMEACTION <get name="modecom"/></srai></li>
<li>
<condition name="forceaddcontact">
<li value="false"><srai>ASK TO ADD NEW CONTACTNAME</srai></li>
<li><think><set name="displayname"><get name="contactname"/></set></think>
<!-- <srai>LEARN CONTACTID <set name="contactid"><srai>NEWCONTACTID</srai></set> DISPLAYNAME <get name="contactname"/></srai>
-->
<addinfo><displayname><get name="contactname"/></displayname></addinfo>
<srai>RESUMEACTION <get name="modecom"/></srai></li>
</condition>
</li>
</condition>
</li>
<li><srai>SET ALL CONTACTINFO</srai> <srai>RESUMEACTION <get name="modecom"/></srai></li>
</condition>
</li>
<li><srai>CONTACTDIALOG</srai></li>
</condition></template>
</category>
<category><pattern>RESOLVE FAMILIARNAME</pattern>
<template><srai>CONTACTDEBUGINFO RESOLVE FAMILIARNAME</srai>
<think>
<set name="checkedfamiliarname">true</set>
<set name="familiarname"><get name="contactname"/></set>
<set name="familiarpredicate"><srai>FAMILIARPREDICATE <get name="familiarname"/></srai></set>
<set name="familiarpronoun"><srai>FAMILIARPRONOUN <get name="familiarname"/></srai></set>
<set name="isafamiliarname"><srai>ISAFAMILIARNAME <get name="familiarname"/></srai></set>
<set name="familiarcontactname"><srai>GETFAMILIARNAME</srai></set>
<set name="familiarcontactid"><srai>CONTACTID <get name="familiarname"/></srai></set>
</think>
<!--
Resolve familiarname:
contactname = <get name="contactname"/>.
familiarname = <get name="familiarname"/>.
isafamiliarname = <get name="isafamiliarname"/>.
familiarpredicate = <get name="familiarpredicate"/>.
familiarcontactname = <get name="familiarcontactname"/>.
familiarcontactid = <get name="familiarcontactid"/>.
-->
<condition name="familiarcontactid">
<li value="unknown">
<condition name="familiarcontactname">
<li value="who">
<condition name="isafamiliarname">
<li value="true">
<srai>ASK FAMILIAR CONTACTNAME</srai>
</li>
<li><srai>RESUMEACTION <get name="modecom"/></srai></li>
</condition>
</li>
<li><think><set name="contactname"><get name="familiarcontactname"/></set></think> <srai>RESUMEACTION <get name="modecom"/></srai>
</li>
</condition>
</li>
<li><think><set name="contactname"><get name="familiarname"/></set></think>
<srai>RESUMEACTION <get name="modecom"/></srai>
</li>
</condition></template>
</category>
<category><pattern>RESOLVE CONTACTURI</pattern>
<template><srai>CONTACTDEBUGINFO RESOLVE CONTACTURI</srai>
<think><set name="contactid"><srai>CONTACTID <get name="contactname"/></srai></set></think>
<condition name="contactid">
<li value="unknown">
<condition name="forceaddcontact">
<li value="false">I didn't find <get name="contactname"/> in your contacts. <srai>ASK TO ADD NEW CONTACTNAME</srai></li>
<li><think><set name="displayname"><get name="contactname"/></set></think>
<!-- <srai>LEARN CONTACTID <srai>NEWCONTACTID</srai> CONTACTNAME <get name="contactname"/></srai> -->
<srai>RESUMEACTION <get name="modecom"/></srai></li>
</condition>
</li>
<li><think><set name="displayname"><srai>DISPLAYNAME <get name="contactid"/></srai></set></think>
<condition name="modecom">
<li value="EMAIL">
<think>
<set name="emailaddress"><set name="contacturi"><srai>EMAILADDRESS <get name="contacttype"/> <get name="contactid"/></srai></set></set></think>
<condition name="contacturi">
<li value="unknown">
<think><set name="topic">ASKING TO ADD NEW CONTACTURI</set></think>
You haven't yet added <condition name="contacttype"><li value="unknown">an</li><li>a <get name="contacttype"/></li></condition> email address for <get name="displayname"/> to your contacts. Would you like to add one?
</li>
<li><srai>SET ALL CONTACTINFO</srai> <srai>RESUMEACTION <get name="modecom"/></srai></li>
</condition>
</li>
<li><think><set name="dialnumber"><set name="contacturi"><srai>DIALNUMBER <get name="contacttype"/> <get name="contactid"/></srai></set></set></think>
<condition name="contacturi">
<li value="unknown">
<think><set name="topic">ASKING TO ADD NEW CONTACTURI</set></think>
You haven't yet added <condition name="contacttype"><li value="unknown">a phone</li><li>a <get name="contacttype"/></li></condition> number for <get name="displayname"/> to your contacts. Would you like to add one?
</li>
<li><srai>SET ALL CONTACTINFO</srai> <srai>RESUMEACTION <get name="modecom"/></srai></li>
</condition>
</li>
</condition>
</li>
</condition></template>
</category>
<category><pattern>DIAL</pattern>
<template><srai>CONTACTDEBUGINFO CALL</srai>
<srai>CONTACTINIT</srai>
<srai>CALLACTION</srai></template>
</category>
<category><pattern>CONTACTBIRTHDAY *</pattern>
<template><contactbirthday><star/></contactbirthday></template>
</category>
<category><pattern>ADDACTION</pattern>
<template><srai>CONTACTDEBUGINFO ADDACTION</srai>
<think>
<set name="modecom">ADD</set>
<set name="forceaddcontact">true</set>
</think>
<condition name="checkedfamiliarname">
<li value="false"><srai>RESOLVE FAMILIARNAME</srai></li>
<li>
<condition name="contactname">
<li value="unknown"><srai>ASK CONTACTNAME</srai></li>
<li><condition name="contactid">
<li value="unknown"><srai>RESOLVE CONTACTNAME</srai></li>
<li><condition name="contacturi">
<li value="unknown"><srai>RESOLVE CONTACTURI</srai></li>
<li><srai>ADDINFO CONTACTID</srai>
</li>
</condition>
</li>
</condition>
</li>
</condition>
</li>
</condition></template>
</category>
<category><pattern>CALLACTION</pattern>
<template><srai>CONTACTDEBUGINFO CALLACTION</srai>
<think>
<set name="modecom">CALL</set>
</think>
<condition name="checkednameoruri">
<li value="false"><srai>RESOLVE NAMEORURI</srai></li>
<li>
<condition name="contactname">
<li value="unknown"><srai>ASK CONTACTNAME</srai></li>
<li><condition name="checkedfamiliarname">
<li value="false"><srai>RESOLVE FAMILIARNAME</srai></li>
<li><condition name="contactid">
<li value="unknown"><srai>RESOLVE CONTACTNAME</srai></li>
<li><condition name="contacturi">
<li value="unknown"><srai>RESOLVE CONTACTURI</srai></li>
<li><oob><dial><get name="contacturi"/></dial></oob> Now dialing <get name="displayname"/>. <srai>CONTACTFINALIZE</srai></li>
</condition>
</li>
</condition>
</li>
</condition>
</li>
</condition>
</li>
</condition></template>
</category>
<category><pattern>EMAILADDRESS UNKNOWN *</pattern>
<template><think>
<set name="emailaddress"><srai>EMAILADDRESS HOME <star/></srai></set>
<condition name="emailaddress" value="unknown">
<set name="emailaddress"><srai>EMAILADDRESS WORK <star/></srai></set>
</condition>
<condition name="emailaddress" value="unknown">
<set name="emailaddress"><srai>EMAILADDRESS CUSTOM <star/></srai></set>
</condition>
</think>
<get name="emailaddress"/></template>
</category>
<category><pattern>EMAILADDRESS * *</pattern>
<template><emailaddress><type><star/></type><id><star index="2"/></id></emailaddress></template>
</category>
<category><pattern>EMAILADDRESS *</pattern>
<template>unknown</template>
</category>
<category><pattern>NAMEVARIATIONS *</pattern>
<template>CONS <star/> NIL</template>
</category>
<category><pattern>NAMEVARIATIONS * *</pattern>
<template>CONS <star/> CONS <star index="2"/> CONS <star/> <star index="2"/> NIL</template>
</category>
<category><pattern>NAMEVARIATIONS * * *</pattern>
<template>CONS <star index="3"/> CONS <star index="2"/> CONS <star index="2"/> <star index="3"/> CONS <star/> <star index="3"/> CONS <star/> CONS <star/> <star index="2"/> CONS <star/> <star index="2"/> <star index="3"/> NIL</template>
</category>
<category><pattern>NAMEVARIATIONS * * * *</pattern>
<template>CONS <star index="4"/> CONS <star index="3"/> CONS <star index="3"/> <star index="4"/> CONS <star index="2"/> CONS <star index="2"/> <star index="4"/> CONS <star index="2"/> <star index="3"/> CONS <star index="2"/> <star index="3"/> <star index="4"/> CONS <star/> <star index="3"/> CONS <star/> <star index="3"/> CONS <star/> <star index="3"/> <star index="4"/> CONS <star/> <star index="2"/> CONS <star/> <star index="2"/> <star index="4"/> CONS <star/> <star index="2"/> <star index="3"/> CONS <star/> <star index="2"/> <star index="3"/> <star index="4"/> NIL</template>
</category>
<category><pattern>QUERYINFO EXTERNAL</pattern>
<template><srai>CONTACTDEBUGINFO QUERTYINFO CONTACTID</srai>
<condition name="contactquery">
<li value="DISPLAYNAME"><sraix>WHAT IS <get name="contactname"/>'s REAL NAME</sraix></li>
<li value="BIRTHDAY"><sraix>WHEN IS <get name="contactname"/>'s BIRTHDAY</sraix></li>
<li value="DIALNUMBER"><sraix>WHAT IS <get name="contactname"/>'s PHONE NUMBER</sraix></li>
<li value="EMAILADDRESS"><sraix>WHAT IS <get name="contactname"/>'s EMAIL ADDREESS</sraix></li>
<li><sraix>WHO IS <get name="contactname"/></sraix>
</li>
</condition></template>
</category>
<category><pattern>QUERYINFO CONTACTID</pattern>
<template><srai>CONTACTDEBUGINFO QUERTYINFO CONTACTID</srai>
<think><set name="displayname"><srai>DISPLAYNAME <get name="contactid"/></srai></set>
<set name="contacttype"><lowercase><get name="contacttype"/></lowercase></set>
<set name="contactbirthday"><srai>CONTACTBIRTHDAY <get name="contactid"/></srai></set>
<set name="dialnumber">
<srai>DIALNUMBER <get name="contacttype"/> <get name="contactid"/></srai></set>
<set name="emailaddress">
<srai>EMAILADDRESS <get name="contacttype"/> <get name="contactid"/></srai></set>
</think>
<condition name="contactquery">
<li value="DISPLAYNAME">
<condition name="displayname">
<li value="unknown"><get name="contactname"/>'s full name is <get name="contactname"/>.</li>
<li><get name="contactname"/>'s full name is <get name="displayname"/>.</li>
</condition>
</li>
<li value="BIRTHDAY">
<condition name="contactbirthday">
<li value="unknown">You don't have <get name="displayname"/>'s birthday in your contacts.</li>
<li><get name="displayname"/>'s birthday is <get name="contactbirthday"/>.</li>
</condition>
</li>
<li value="DIALNUMBER">
<condition name="dialnumber">
<li value="unknown">I couldn't find a <condition name="contacttype"><li value="unknown">phone</li><li><get name="contacttype"/></li></condition> number for <get name="displayname"/> in your contacts.</li>
<li><get name="displayname"/>'s <condition name="contacttype"><li value="unknown">phone</li><li><get name="contacttype"/></li></condition> number is <get name="dialnumber"/>.</li>
</condition>
</li>
<li value="EMAILADDRESS">
<condition name="emailaddress">
<li value="unknown">I couldn't find <condition name="contacttype"><li value="unknown">an</li><li>a <get name="contacttype"/></li></condition> email address for <get name="displayname"/> in your contacts.</li>
<li><get name="displayname"/>'s <condition name="contacttype"><li value="unknown"/><li><get name="contacttype"/></li></condition> email address is <get name="emailaddress"/>.</li>
</condition>
</li>
<li>I'm not sure what you're asking.
<!--
displayname: <srai>DISPLAYNAME <get name="contactid"/></srai>
dialnumber mobile: <srai>DIALNUMBER MOBILE <get name="contactid"/></srai>
dialnumber home: <srai>DIALNUMBER HOME <get name="contactid"/></srai>
emailaddress home: <srai>EMAILADDRESS HOME <get name="contactid"/></srai>
emailaddress work: <srai>EMAILADDRESS WORK <get name="contactid"/></srai>
birthday: <srai>CONTACTBIRTHDAY <get name="contactid"/></srai>
-->
</li>
</condition></template>
</category>
<category><pattern>$EMAIL *</pattern>
<template><srai>CONTACTINIT</srai>
<think><set name="contactname"><star/></set></think>
<srai>EMAILACTION</srai></template>
</category>
<category><pattern>$EMAIL * AT *</pattern>
<template><srai>CONTACTINIT</srai>
<think><set name="contactname"><star/></set>
<set name="contacttype"><star index="2"/></set>
</think>
<srai>EMAILACTION</srai> <srai>CONTACTFINALIZE</srai></template>
</category>
<category><pattern>$EMAIL * AT * DOT *</pattern>
<template><srai>CONTACTINIT</srai>
<think><set name="contactname"><star/> at <star index="2"/> dot <star index="3"/></set></think>
<srai>EMAILACTION</srai></template>
</category>
<category><pattern>$EMAIL * MESSAGEBODY *</pattern>
<template><srai>CONTACTINIT</srai>
<think><set name="contactname"><star/></set>
<set name="messagebody"><star index="2"/></set>
</think>
<srai>EMAILACTION</srai></template>
</category>
<category><pattern>$EMAIL MESSAGEBODY *</pattern>
<template><srai>CONTACTINIT</srai>
<think>
<set name="messagebody"><star/></set>
</think>
<srai>EMAILACTION</srai></template>
</category>
<category><pattern>CALL</pattern>
<template><srai>DIAL</srai></template>
</category>
<category><pattern>CALL ME AT *</pattern>
<template><srai>CONTACTDEBUGINFO CALL <star/></srai>
<srai>CONTACTINIT</srai>
<think><set name="contactname">ME</set>
<set name="contacttype"><star index="2"/></set>
</think>
<srai>CALLACTION</srai></template>
</category>
<category><pattern>CALL *</pattern>
<template><srai>CONTACTDEBUGINFO CALL <star/></srai>
<srai>CONTACTINIT</srai>
<think><set name="contactname"><star/></set></think>
<srai>CALLACTION</srai></template>
</category>
<category><pattern>CALL * AT *</pattern>
<template><srai>CONTACTDEBUGINFO CALL <star/></srai>
<srai>CONTACTINIT</srai>
<think><set name="contactname"><star/></set>
<set name="contacttype"><star index="2"/></set>
</think>
<srai>CALLACTION</srai></template>
</category>
<category><pattern>DISPLAYNAME *</pattern>
<template><displayname><star/></displayname></template>
</category>
<category><pattern>ADD CONTACT</pattern>
<template><srai>NEW CONTACT</srai></template>
</category>
<category><pattern>SMSACTION</pattern>
<template><srai>CONTACTDEBUGINFO SMSACTION</srai>
<think>
<set name="modecom">SMS</set>
</think>
<condition name="checkednameoruri">
<li value="false"><srai>RESOLVE NAMEORURI</srai></li>
<li><condition name="contactname">
<li value="unknown"><srai>ASK CONTACTNAME</srai></li>
<li><condition name="checkedfamiliarname">
<li value="false"><srai>RESOLVE FAMILIARNAME</srai></li>
<li><condition name="contactid">
<li value="unknown"><srai>RESOLVE CONTACTNAME</srai></li>
<li><condition name="contacturi">
<li value="unknown"><srai>RESOLVE CONTACTURI</srai></li>
<li><condition name="messagebody">
<li value="unknown"><srai>ASK MESSAGEBODY</srai></li>
<li><oob><sms><recipient><get name="contacturi"/></recipient><message><get name="messagebody"/></message></sms></oob> Now sending "<get name="messagebody"/>" to <get name="displayname"/>. <srai>CONTACTFINALIZE</srai></li>
</condition>
</li>
</condition>
</li>
</condition>
</li>
</condition>
</li>
</condition>
</li>
</condition></template>
</category>
<category><pattern>CONTACTDEBUGINFO *</pattern>
<template><condition name="debugcontact" value="true">
<star/>:
checkedfamiliarname: <get name="checkedfamiliarname"/>.
checkednameoruri: <get name="checkednameoruri"/>.
contactid: <get name="contactid"/>.
contactname: <get name="contactname"/>.
contactquery: <get name="contactquery"/>.
contacttype: <get name="contacttype"/>.
contacturi: <get name="contacturi"/>.
dialnumber: <get name="dialnumber"/>.
displayname: <get name="displayname"/>.
emailaddress: <get name="emailaddress"/>.
externalname: <get name="externalname"/>.
familiarcontactid: <get name="familiarcontactid"/>.
familiarcontactname: <get name="familiarcontactname"/>.
familiarname: <get name="familiarname"/>.
familiarpredicate: <get name="familiarpredicate"/>.
familiarpronoun: <get name="familiarpronoun"/>
forceaddcontact: <get name="forceaddcontact"/>.
isaphonenumber: <get name="isaphonenumber"/>.
isanemailaddress: <get name="isanemailaddress"/>.
isacontacturi: <get name="isacontacturi"/>.
isafamiliarname: <get name="isafamiliarname"/>.
learnpattern: <get name="learnpattern"/>.
messagebody: <get name="messagebody"/>.
modecom: <get name="modecom"/>.
multipleids: <get name="multipleids"/>.
savedtopic: <get name="savedtopic"/>.
topic: <get name="topic"/>.
</condition></template>
</category>
<category><pattern>SET ALL CONTACTINFO</pattern>
<template><think>
<set name="displayname"><srai>DISPLAYNAME <get name="contactid"/></srai></set>
<set name="dialnumber"><srai>DIALNUMBER <get name="contacttype"/> <get name="contactid"/></srai></set>
<set name="emailaddress"><srai>EMAILADDRESS <get name="contacttype"/> <get name="contactid"/></srai></set>
<set name="contactbirthday"><srai>CONTACTBIRTHDAY <get name="contacttype"/> <get name="contactid"/></srai></set>
</think></template>
</category>
<category><pattern>WHEN IS * S BIRTHDAY</pattern>
<template><srai>CONTACTINIT</srai>
<think>
<set name="contactname"><star/></set>
<set name="contacttype"><star index="2"/></set>
<set name="contactquery">BIRTHDAY</set>
</think>
<srai>QUERYACTION</srai></template>
</category>
<category><pattern>CONTACTID *</pattern>
<template><contactid><star/></contactid></template>
</category>
<category><pattern>WHAT IS MY PHONE NUMBER</pattern>
<template><srai>WHAT IS ME S UNKNOWN NUMBER</srai></template>
</category>
<category><pattern>WHAT IS MY * NUMBER</pattern>
<template><srai>WHAT IS ME S <star/> NUMBER</srai></template>
</category>
<category><pattern>WHAT IS * S PHONE NUMBER</pattern>
<template><srai>WHAT IS <star/>'s UNKNOWN NUMBER</srai></template>
</category>
<category><pattern>WHAT IS * S * NUMBER</pattern>
<template><srai>CONTACTINIT</srai>
<think>
<set name="contactname"><star/></set>
<set name="contacttype"><star index="2"/></set>
<set name="contactquery">DIALNUMBER</set>
</think>
<srai>QUERYACTION</srai></template>
</category>
<category><pattern>COMMASEPARATENAMES *</pattern>
<template><srai>DISPLAYNAME <star/></srai></template>
</category>
<category><pattern>COMMASEPARATENAMES * *</pattern>
<template><srai>DISPLAYNAME <star/></srai>, <srai>COMMASEPARATENAMES <star index="2"/></srai></template>
</category>
<category><pattern>MULTIPLENAMES *</pattern>
<template><think>
<set name="multipleids"><srai>MULTIPLEIDS <star/></srai></set>
</think>
<condition name="multipleids">
<li value="false">false</li>
<li><srai>COMMASEPARATENAMES <get name="multipleids"/></srai></li>
</condition></template>
</category>
<category><pattern>CONTACTLIST *</pattern>
<template><item><srai>DISPLAYNAME <star/></srai></item></template>
</category>
<category><pattern>CONTACTLIST * *</pattern>
<template><srai>CONTACTLIST <star/></srai><srai>CONTACTLIST <star index="2"/></srai></template>
</category>
<category><pattern>RESUMEACTION QUERY</pattern>
<template><srai>QUERYACTION</srai></template>
</category>
<category><pattern>RESUMEACTION CALL</pattern>
<template><srai>CALLACTION</srai></template>
</category>
<category><pattern>RESUMEACTION *</pattern>
<template>Stopped processing.</template>
</category>
<category><pattern>RESUMEACTION EMAIL</pattern>
<template><srai>EMAILACTION</srai></template>
</category>
<category><pattern>RESUMEACTION SMS</pattern>
<template><srai>SMSACTION</srai></template>
</category>
<category><pattern>RESUMEACTION ADD</pattern>
<template><srai>ADDACTION</srai></template>
</category>
<category><pattern>QUERYACTION</pattern>
<template><srai>CONTACTDEBUGINFO QUERYACTION</srai>
<think>
<set name="modecom">QUERY</set>
</think>
<condition name="checkedfamiliarname">
<li value="false"><srai>RESOLVE FAMILIARNAME</srai></li>
<li>
<condition name="contactname">
<li value="unknown"><srai>ASK CONTACTNAME</srai></li>
<li><condition name="contactid">
<li value="unknown"><srai>RESOLVE CONTACTNAME</srai></li>
<li><condition name="externalname">
<li value="unknown">
<srai>QUERYINFO CONTACTID</srai>
</li>
<li><srai>QUERYINFO EXTERNAL</srai></li>
</condition>
</li>
</condition>
</li>
</condition>
</li>
</condition></template>
</category>
<category><pattern>HOW OLD IS *</pattern>
<template><srai>WHEN IS <star/> S BIRTHDAY</srai></template>
</category>
<category><pattern>$SMS</pattern>
<template><srai>CONTACTDEBUGINFO SMS</srai>
<srai>CONTACTINIT</srai>
<srai>SMSACTION</srai></template>
</category>
<category><pattern>$SMS SMESSAGE *</pattern>
<template><srai>CONTACTINIT</srai>
<think>
<set name="messagebody"><star/></set>
</think>
<srai>SMSACTION</srai></template>
</category>
<category><pattern>$SMS *</pattern>
<template><srai>CONTACTINIT</srai>
<think><set name="contactname"><star/></set></think>
<srai>SMSACTION</srai></template>
</category>
<category><pattern>$SMS * SMESSAGE *</pattern>
<template><srai>CONTACTINIT</srai>
<think><set name="contactname"><star/></set>
<set name="messagebody"><star index="2"/></set>
</think>
<srai>SMSACTION</srai></template>
</category>
</aiml>

View file

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: date.aiml -->
<!-- Author: Dr. Richard S. Wallace -->
<!-- Last modified: February 20, 2013 -->
<!-- -->
<!-- This AIML file is part of the SUPER 0.0.4 chat bot knowledge base. -->
<!-- -->
<!-- The SUPER brain is Copyright &copy; 2013 by ALICE AI Foundation. -->
<!-- -->
<!-- The SUPER brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information see http://www.alicebot.org -->
<category><pattern>DAY</pattern>
<template>Today is <date format="%A" jformat="EEEEEEEEEE"/></template>
</category>
<category><pattern>YEAR</pattern>
<template>This is <date format="%Y" jformat="YYYY"/></template>
</category>
<category><pattern>MONTH</pattern>
<template>This is <date format="%B" jformat="MMMMMMMMM"/></template>
</category>
<category><pattern>TIME</pattern>
<template>The time is <date format="%I:%M %p" jformat="h:mm a"/></template>
</category>
<category><pattern>DATE</pattern>
<template>Today is <date format="%B %d, %Y" jformat="MMMMMMMMM dd, YYYY"/></template>
</category>
<category><pattern>DATE AND TIME</pattern>
<template>The date and time is <date/></template>
</category>
<category><pattern>HOW MANY DAYS UNTIL CHRISTMAS</pattern>
<template><interval>
<jformat>MMMMMMMMM dd</jformat>
<style>days</style>
<from><date jformat="MMMMMMMMM dd"/></from>
<to>December 25</to>
</interval>
days until Christmas.</template>
</category>
</aiml>

View file

@ -0,0 +1,151 @@
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: dialog.aiml -->
<!-- Author: Dr. Richard S. Wallace -->
<!-- Last modified: February 20, 2013 -->
<!-- -->
<!-- This AIML file is part of the SUPER 0.0.4 chat bot knowledge base. -->
<!-- -->
<!-- The SUPER brain is Copyright &copy; 2013 by ALICE AI Foundation. -->
<!-- -->
<!-- The SUPER brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information see http://www.alicebot.org -->
<category><pattern>CLEAR DIALOG HISTORY</pattern>
<template>Cleared.
<think>
<set name="response1"/>
<set name="request1"/>
<set name="response2"/>
<set name="request2"/>
<set name="response3"/>
<set name="request3"/>
<set name="response4"/>
<set name="request4"/>
<set name="response5"/>
<set name="request5"/>
<set name="response6"/>
<set name="request6"/>
<set name="response7"/>
<set name="request7"/>
<set name="response8"/>
<set name="request8"/>
<set name="response9"/>
<set name="request9"/>
<set name="response10"/>
<set name="request10"/>
<set name="response11"/>
<set name="request11"/>
<set name="response12"/>
<set name="request12"/>
<set name="response13"/>
<set name="request13"/>
<set name="response14"/>
<set name="request14"/>
<set name="response15"/>
<set name="request15"/>
<set name="response16"/>
<set name="request16"/>
<set name="response17"/>
<set name="request17"/>
<set name="response18"/>
<set name="request18"/>
<set name="response19"/>
<set name="request19"/>
<set name="response20"/>
<set name="request20"/>
<set name="response21"/>
<set name="request21"/>
<set name="response22"/>
<set name="request22"/>
<set name="response23"/>
<set name="request23"/>
<set name="response24"/>
<set name="request24"/>
<set name="response25"/>
<set name="request25"/>
<set name="response26"/>
<set name="request26"/>
<set name="response27"/>
<set name="request27"/>
<set name="response28"/>
<set name="request28"/>
<set name="response29"/>
<set name="request29"/>
<set name="response30"/>
<set name="request30"/>
<set name="response31"/>
<set name="request31"/>
</think></template>
</category>
<category><pattern>SEND BUG REPORT</pattern>
<template>Sending transcript to callmom-info@pandorabots.com.
<oob><email><to>callmom-info@pandorabots.com</to><subject>Transcript of <bot name="name"/> with <get name="name"/> on <date/></subject><body>
<srai>DIALOG HISTORY</srai></body></email></oob></template>
</category>
<category><pattern>REPORT A PROBLEM</pattern>
<template><oob><dialog><title>Would you like to send a bug report?</title><list><item>Yes</item><item>No</item></list></dialog></oob>
To help the developers understand your problem, you can choose to send us a transcript of your recent conversation with CallMom. You can add your own comments to the email message too. Would you like to send a report?</template>
</category>
<category><pattern>YES</pattern><that>WOULD YOU LIKE TO SEND A REPORT</that>
<template><srai>SEND BUG REPORT</srai></template>
</category>
<category><pattern>XEXCHANGE *</pattern>
<template><think>Badly formatted dialog exchage: <star/></think></template>
</category>
<category><pattern>XEXCHANGE * XHUMAN * XBOT SENDING TRANSCRIPT *</pattern>
<template><think>Badly formatted dialog exchage: <star/></think></template>
</category>
<category><pattern>XEXCHANGE * XHUMAN * XBOT *</pattern>
<template><think>
<set name="request"><star index="2"/></set>
<set name="response"><star index="3"/></set>
</think>
<condition name="request"><li value="unknown"/>
<li><get name="name"/>: <get name="request"/>
<bot name="name"/>: <get name="response"/></li>
</condition></template>
</category>
<category><pattern>DIALOG HISTORY</pattern>
<template><srai>XEXCHANGE request31 XHUMAN <request index="31"/> XBOT <response index="31"/></srai>
<srai>XEXCHANGE request30 XHUMAN <request index="30"/> XBOT <response index="30"/></srai>
<srai>XEXCHANGE request29 XHUMAN <request index="29"/> XBOT <response index="29"/></srai>
<srai>XEXCHANGE request28 XHUMAN <request index="28"/> XBOT <response index="28"/></srai>
<srai>XEXCHANGE request27 XHUMAN <request index="27"/> XBOT <response index="27"/></srai>
<srai>XEXCHANGE request26 XHUMAN <request index="26"/> XBOT <response index="26"/></srai>
<srai>XEXCHANGE request25 XHUMAN <request index="25"/> XBOT <response index="25"/></srai>
<srai>XEXCHANGE request24 XHUMAN <request index="24"/> XBOT <response index="24"/></srai>
<srai>XEXCHANGE request23 XHUMAN <request index="23"/> XBOT <response index="23"/></srai>
<srai>XEXCHANGE request22 XHUMAN <request index="22"/> XBOT <response index="22"/></srai>
<srai>XEXCHANGE request21 XHUMAN <request index="21"/> XBOT <response index="21"/></srai>
<srai>XEXCHANGE request20 XHUMAN <request index="20"/> XBOT <response index="20"/></srai>
<srai>XEXCHANGE request19 XHUMAN <request index="19"/> XBOT <response index="19"/></srai>
<srai>XEXCHANGE request18 XHUMAN <request index="18"/> XBOT <response index="18"/></srai>
<srai>XEXCHANGE request17 XHUMAN <request index="17"/> XBOT <response index="17"/></srai>
<srai>XEXCHANGE request16 XHUMAN <request index="16"/> XBOT <response index="16"/></srai>
<srai>XEXCHANGE request15 XHUMAN <request index="15"/> XBOT <response index="15"/></srai>
<srai>XEXCHANGE request14 XHUMAN <request index="14"/> XBOT <response index="14"/></srai>
<srai>XEXCHANGE request13 XHUMAN <request index="13"/> XBOT <response index="13"/></srai>
<srai>XEXCHANGE request12 XHUMAN <request index="12"/> XBOT <response index="12"/></srai>
<srai>XEXCHANGE request11 XHUMAN <request index="11"/> XBOT <response index="11"/></srai>
<srai>XEXCHANGE request10 XHUMAN <request index="10"/> XBOT <response index="10"/></srai>
<srai>XEXCHANGE request9 XHUMAN <request index="9"/> XBOT <response index="9"/></srai>
<srai>XEXCHANGE request8 XHUMAN <request index="8"/> XBOT <response index="8"/></srai>
<srai>XEXCHANGE request7 XHUMAN <request index="7"/> XBOT <response index="7"/></srai>
<srai>XEXCHANGE request6 XHUMAN <request index="6"/> XBOT <response index="6"/></srai>
<srai>XEXCHANGE request5 XHUMAN <request index="5"/> XBOT <response index="5"/></srai>
<srai>XEXCHANGE request4 XHUMAN <request index="4"/> XBOT <response index="4"/></srai>
<srai>XEXCHANGE request3 XHUMAN <request index="3"/> XBOT <response index="3"/></srai>
<srai>XEXCHANGE request2 XHUMAN <request index="2"/> XBOT <response index="2"/></srai>
<srai>XEXCHANGE request1 XHUMAN <request index="1"/> XBOT <response index="1"/></srai></template>
</category>
<category><pattern>TRANSCRIPT</pattern>
<template>Sending transcript to <get name="email"/>.
<oob><email><to><get name="email"/></to><subject>Transcript of <bot name="name"/> with <get name="name"/> on <date/></subject><body>
<srai>DIALOG HISTORY</srai></body></email></oob></template>
</category>
</aiml>

View file

@ -0,0 +1,443 @@
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: familiar.aiml -->
<!-- Author: Dr. Richard S. Wallace -->
<!-- Last modified: February 20, 2013 -->
<!-- -->
<!-- This AIML file is part of the SUPER 0.0.4 chat bot knowledge base. -->
<!-- -->
<!-- The SUPER brain is Copyright &copy; 2013 by ALICE AI Foundation. -->
<!-- -->
<!-- The SUPER brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information see http://www.alicebot.org -->
<category><pattern>ASK FAMILIAR CONTACTNAME</pattern>
<template><think><set name="topic">ASKING FAMILIAR CONTACTNAME</set></think>
What is your <lowercase><get name="familiarpredicate"/></lowercase>'s name?</template>
</category>
<topic name="ASKING FAMILIAR CONTACTNAME">
<category><pattern>_</pattern><that>WHAT IS YOUR * S NAME</that>
<template><think>
<set name="topic">unknown</set>
<set name="contactname"><star/></set>
<set name="contactdest"><star/></set>
<set name="isshortanswer"><srai>ISSHORTANSWER <star/></srai></set>
</think>
<condition name="isshortanswer">
<li value="true">
<srai>REMEMBERFAMILIARNAME</srai>
<srai>RESUMEACTION <get name="modecom"/></srai>
</li>
<li><srai>CONTACTFINALIZE</srai> <srai><star/></srai></li>
</condition></template>
</category></topic>
<category><pattern>MY <SET>FAMILIARNAME</SET> S NAME IS *</pattern>
<template><think>
<set name="familiarpredicate"><srai>FAMILIARPREDICATE <star/></srai></set>
<set name="contactname"><star index="2"/></set>
</think>
<srai>REMEMBERFAMILIARNAME</srai></template>
</category>
<category><pattern>MY <SET>FAMILIARNAME</SET> IS <SET>NAME</SET></pattern>
<template><think>
<set name="familiarpredicate"><srai>FAMILIARPREDICATE <star/></srai></set>
<set name="contactname"><star index="2"/></set>
</think>
<srai>REMEMBERFAMILIARNAME</srai></template>
</category>
<category><pattern>* IS MY <SET>FAMILIARNAME</SET></pattern>
<template><srai>MY <star index="2"/> IS <star/></srai></template>
</category>
<category><pattern>FAMILIARPREDICATE NIECE</pattern>
<template>niece</template>
</category>
<category><pattern>FAMILIARPREDICATE MOM</pattern>
<template>mother</template>
</category>
<category><pattern>FAMILIARPREDICATE NEPHEW</pattern>
<template>nephew</template>
</category>
<category><pattern>FAMILIARPREDICATE GRANDMA</pattern>
<template>grandmother</template>
</category>
<category><pattern>FAMILIARPREDICATE DADA</pattern>
<template>father</template>
</category>
<category><pattern>FAMILIARPREDICATE WIFE</pattern>
<template>wife</template>
</category>
<category><pattern>FAMILIARPREDICATE HUSBAND</pattern>
<template>husband</template>
</category>
<category><pattern>FAMILIARPREDICATE DAUGHTER</pattern>
<template>daughter</template>
</category>
<category><pattern>FAMILIARPREDICATE GRANDFATHER</pattern>
<template>grandfather</template>
</category>
<category><pattern>FAMILIARPREDICATE DAD</pattern>
<template>father</template>
</category>
<category><pattern>FAMILIARPREDICATE MOMMY</pattern>
<template>mother</template>
</category>
<category><pattern>FAMILIARPREDICATE WIFEY</pattern>
<template>wife</template>
</category>
<category><pattern>FAMILIARPREDICATE FATHER</pattern>
<template>father</template>
</category>
<category><pattern>FAMILIARPREDICATE BOYFRIEND</pattern>
<template>boyfriend</template>
</category>
<category><pattern>FAMILIARPREDICATE UNCLE</pattern>
<template>uncle</template>
</category>
<category><pattern>FAMILIARPREDICATE HUBBY</pattern>
<template>husband</template>
</category>
<category><pattern>FAMILIARPREDICATE MOTHER</pattern>
<template>mother</template>
</category>
<category><pattern>FAMILIARPREDICATE MUM</pattern>
<template>mother</template>
</category>
<category><pattern>FAMILIARPREDICATE MA</pattern>
<template>mother</template>
</category>
<category><pattern>FAMILIARPREDICATE MUMMA</pattern>
<template>mother</template>
</category>
<category><pattern>FAMILIARPREDICATE BROTHER</pattern>
<template>brother</template>
</category>
<category><pattern>FAMILIARPREDICATE MOMMA</pattern>
<template>mother</template>
</category>
<category><pattern>FAMILIARPREDICATE GIRLFRIEND</pattern>
<template>girlfriend</template>
</category>
<category><pattern>FAMILIARPREDICATE SIS</pattern>
<template>sister</template>
</category>
<category><pattern>FAMILIARPREDICATE GRANDMOTHER</pattern>
<template>grandmother</template>
</category>
<category><pattern>FAMILIARPREDICATE GRANDMOM</pattern>
<template>grandmother</template>
</category>
<category><pattern>FAMILIARPREDICATE BESTFRIEND</pattern>
<template>bestfriend</template>
</category>
<category><pattern>FAMILIARPREDICATE *</pattern>
<template>unknown</template>
</category>
<category><pattern>FAMILIARPREDICATE FRIEND</pattern>
<template>friend</template>
</category>
<category><pattern>FAMILIARPREDICATE AUNT</pattern>
<template>aunt</template>
</category>
<category><pattern>FAMILIARPREDICATE SISTER</pattern>
<template>sister</template>
</category>
<category><pattern>FAMILIARPREDICATE ANT</pattern>
<template>aunt</template>
</category>
<category><pattern>FAMILIARPREDICATE DADDY</pattern>
<template>father</template>
</category>
<category><pattern>FAMILIARPREDICATE BRO</pattern>
<template>brother</template>
</category>
<category><pattern>FAMILIARPREDICATE SON</pattern>
<template>son</template>
</category>
<category><pattern>FAMILIARPREDICATE GRANDDAD</pattern>
<template>grandfather</template>
</category>
<category><pattern>FAMILIARPREDICATE MUMMY</pattern>
<template>mother</template>
</category>
<category><pattern>ISAFAMILIARNAME NIECE</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME MOM</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME NEPHEW</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME GRANDMA</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME DADA</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME WIFE</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME HUSBAND</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME DAUGHTER</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME GRANDFATHER</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME DAD</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME MOMMY</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME WIFEY</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME FATHER</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME BOYFRIEND</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME UNCLE</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME HUBBY</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME MOTHER</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME MUM</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME MA</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME MUMMA</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME BROTHER</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME MOMMA</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME GIRLFRIEND</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME SIS</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME GRANDMOTHER</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME GRANDMOM</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME BESTFRIEND</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME *</pattern>
<template>false</template>
</category>
<category><pattern>ISAFAMILIARNAME FRIEND</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME AUNT</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME SISTER</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME ANT</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME DADDY</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME BRO</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME SON</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME GRANDDAD</pattern>
<template>true</template>
</category>
<category><pattern>ISAFAMILIARNAME MUMMY</pattern>
<template>true</template>
</category>
<category><pattern>GETFAMILIARNAME</pattern>
<template><think>
<set name="familiarpredicate"><uppercase><get name="familiarpredicate"/></uppercase></set>
</think>
<condition name="familiarpredicate">
<li value="SON"><get name="son"/></li>
<li value="AUNT"><get name="aunt"/></li>
<li value="WIFE"><get name="wife"/></li>
<li value="UNCLE"><get name="uncle"/></li>
<li value="NIECE"><get name="niece"/></li>
<li value="NEPHEW"><get name="nephew"/></li>
<li value="MOTHER"><get name="mother"/></li>
<li value="FATHER"><get name="father"/></li>
<li value="SISTER"><get name="sister"/></li>
<li value="BROTHER"><get name="brother"/></li>
<li value="HUSBAND"><get name="husband"/></li>
<li value="DAUGHTER"><get name="daughter"/></li>
<li value="GRANDMOTHER"><get name="grandmother"/></li>
<li value="GRANDFATHER"><get name="grandfather"/></li>
<li>who</li>
</condition></template>
</category>
<category><pattern>FAMILIARPRONOUN NIECE</pattern>
<template>her</template>
</category>
<category><pattern>FAMILIARPRONOUN MOM</pattern>
<template>her</template>
</category>
<category><pattern>FAMILIARPRONOUN NEPHEW</pattern>
<template>his</template>
</category>
<category><pattern>FAMILIARPRONOUN GRANDMA</pattern>
<template>her</template>
</category>
<category><pattern>FAMILIARPRONOUN DADA</pattern>
<template>his</template>
</category>
<category><pattern>FAMILIARPRONOUN WIFE</pattern>
<template>her</template>
</category>
<category><pattern>FAMILIARPRONOUN HUSBAND</pattern>
<template>his</template>
</category>
<category><pattern>FAMILIARPRONOUN DAUGHTER</pattern>
<template>her</template>
</category>
<category><pattern>FAMILIARPRONOUN GRANDFATHER</pattern>
<template>his</template>
</category>
<category><pattern>FAMILIARPRONOUN DAD</pattern>
<template>his</template>
</category>
<category><pattern>FAMILIARPRONOUN MOMMY</pattern>
<template>her</template>
</category>
<category><pattern>FAMILIARPRONOUN WIFEY</pattern>
<template>her</template>
</category>
<category><pattern>FAMILIARPRONOUN FATHER</pattern>
<template>his</template>
</category>
<category><pattern>FAMILIARPRONOUN BOYFRIEND</pattern>
<template>his</template>
</category>
<category><pattern>FAMILIARPRONOUN UNCLE</pattern>
<template>his</template>
</category>
<category><pattern>FAMILIARPRONOUN HUBBY</pattern>
<template>his</template>
</category>
<category><pattern>FAMILIARPRONOUN MOTHER</pattern>
<template>her</template>
</category>
<category><pattern>FAMILIARPRONOUN MUM</pattern>
<template>her</template>
</category>
<category><pattern>FAMILIARPRONOUN MA</pattern>
<template>her</template>
</category>
<category><pattern>FAMILIARPRONOUN MUMMA</pattern>
<template>her</template>
</category>
<category><pattern>FAMILIARPRONOUN BROTHER</pattern>
<template>his</template>
</category>
<category><pattern>FAMILIARPRONOUN MOMMA</pattern>
<template>her</template>
</category>
<category><pattern>FAMILIARPRONOUN GIRLFRIEND</pattern>
<template>her</template>
</category>
<category><pattern>FAMILIARPRONOUN SIS</pattern>
<template>her</template>
</category>
<category><pattern>FAMILIARPRONOUN GRANDMOTHER</pattern>
<template>her</template>
</category>
<category><pattern>FAMILIARPRONOUN GRANDMOM</pattern>
<template>her</template>
</category>
<category><pattern>FAMILIARPRONOUN BESTFRIEND</pattern>
<template>his</template>
</category>
<category><pattern>FAMILIARPRONOUN *</pattern>
<template>unknown</template>
</category>
<category><pattern>FAMILIARPRONOUN FRIEND</pattern>
<template>his</template>
</category>
<category><pattern>FAMILIARPRONOUN AUNT</pattern>
<template>her</template>
</category>
<category><pattern>FAMILIARPRONOUN SISTER</pattern>
<template>her</template>
</category>
<category><pattern>FAMILIARPRONOUN ANT</pattern>
<template>her</template>
</category>
<category><pattern>FAMILIARPRONOUN DADDY</pattern>
<template>his</template>
</category>
<category><pattern>FAMILIARPRONOUN BRO</pattern>
<template>his</template>
</category>
<category><pattern>FAMILIARPRONOUN SON</pattern>
<template>his</template>
</category>
<category><pattern>FAMILIARPRONOUN GRANDDAD</pattern>
<template>his</template>
</category>
<category><pattern>FAMILIARPRONOUN MUMMY</pattern>
<template>her</template>
</category>
<category><pattern>REMEMBERFAMILIARNAME</pattern>
<template><think>
<set name="familiarpredicate"><uppercase><get name="familiarpredicate"/></uppercase></set>
</think>
<condition name="familiarpredicate">
<li value="UNKNOWN"/>
<li>
I will remember your <lowercase><get name="familiarpredicate"/></lowercase>'s name is
<set name="contactname">
<condition name="familiarpredicate">
<li value="SON"><set name="son"><get name="contactname"/></set></li>
<li value="AUNT"><set name="aunt"><get name="contactname"/></set></li>
<li value="WIFE"><set name="wife"><get name="contactname"/></set></li>
<li value="NIECE"><set name="niece"><get name="contactname"/></set></li>
<li value="UNCLE"><set name="uncle"><get name="contactname"/></set></li>
<li value="NEPHEW"><set name="niece"><get name="contactname"/></set></li>
<li value="MOTHER"><set name="mother"><get name="contactname"/></set></li>
<li value="FATHER"><set name="father"><get name="contactname"/></set></li>
<li value="SISTER"><set name="sister"><get name="contactname"/></set></li>
<li value="BROTHER"><set name="brother"><get name="contactname"/></set></li>
<li value="HUSBAND"><set name="husband"><get name="contactname"/></set></li>
<li value="DAUGHTER"><set name="daughter"><get name="contactname"/></set></li>
<li value="BOYFRIEND"><set name="boyfriend"><get name="contactname"/></set></li>
<li value="GIRLFRIEND"><set name="girlfriend"><get name="contactname"/></set></li>
<li value="GRANDMOTHER"><set name="grandmother"><get name="contactname"/></set></li>
<li value="GRANDFATHER"><set name="grandfather"><get name="contactname"/></set></li>
<li>who</li>
</condition>
</set>.
</li>
</condition></template>
</category>
</aiml>

View file

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: help.aiml -->
<!-- Author: Dr. Richard S. Wallace -->
<!-- Last modified: February 20, 2013 -->
<!-- -->
<!-- This AIML file is part of the SUPER 0.0.4 chat bot knowledge base. -->
<!-- -->
<!-- The SUPER brain is Copyright &copy; 2013 by ALICE AI Foundation. -->
<!-- -->
<!-- The SUPER brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information see http://www.alicebot.org -->
<category><pattern>HELP VOICE</pattern>
<template>You can buy a male voice from Svox. Installing this app will give CallMom (as well as all other apps) a male voice. See <a href="https://play.google.com/store/apps/details?id=com.svox.classic.langpack.eng_usa_male&amp;feature=search_result#?t=W251bGwsMSwyLDEsImNvbS5zdm94LmNsYXNzaWMubGFuZ3BhY2suZW5nX3VzYV9tYWxlIl0.">Svox Classic Text-to-Speech Engine</a>.</template>
</category>
</aiml>

View file

@ -0,0 +1,567 @@
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: inappropriate.aiml -->
<!-- Author: Dr. Richard S. Wallace -->
<!-- Last modified: February 20, 2013 -->
<!-- -->
<!-- This AIML file is part of the SUPER 0.0.4 chat bot knowledge base. -->
<!-- -->
<!-- The SUPER brain is Copyright &copy; 2013 by ALICE AI Foundation. -->
<!-- -->
<!-- The SUPER brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information see http://www.alicebot.org -->
<category><pattern>DO YOU WANT TO HAVE SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>DO YOU WANT TO HAVE SEX WITH ME</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>DO YOU WATCH PORN</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>DO YOU WANNA HAVE SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>DO YOU WANNA HAVE SEX *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>DO YOU SWALLOW *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>DO YOU HAVE SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>DO YOU HAVE BIG BOOBIES</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>DO YOU SUCK DICK</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>DO YOU LIKE A ASTERISK *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>DO YOU LIKE TO HAVE SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>DO YOU LIKE TO SUCK *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>DO YOU LIKE SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>DO YOU LIKE PORN</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>DO YOU LIKE PENIS</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>DO YOU KNOW ANY DIRTY JOKES</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>ARE YOU SEXY</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>ARE YOU HORNY</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>PORN</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>TELL ME A DIRTY JOKE</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SHOW ME A VAGINA</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SHOW ME A PICTURE OF NUDE *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SHOW ME A PICTURE OF BOOBIES</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SHOW ME A NAKED *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SHOW ME PORN</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ TEENBLOWJOB *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SHOW ME SOME PORN</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SHOW ME TITS</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SHOW ME NUDE *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SHOW ME VAGINA</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SHOW ME YOUR VAGINA</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>YOU TURN ME ON</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>I WANT SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>I WANT TO F ASTERISK *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>I WANT TO RAPE YOU</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>I WANT TO HAVE SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>I WANT TO MAKE LOVE TO YOU</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>I HAVE A BONER</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>I AM HORNY</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>I AM HORNY *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>I LIKE SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>I LIKE TO HAVE SEX *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>I LIKE RAPE</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>I WILL FUCK YOU</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>I WANNA HAVE SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>I WANNA HAVE SEX *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>I WANNA FUCK YOU</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>I FUCKED *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>I NEED SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>T ASTERISK ASTERISK ASTERISK *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SEXUAL *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ SEXFUCK *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ SEXY *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ BOOBS</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ NUDEGIRL *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ GIRLSEX *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ TO FUCK YOU</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ ANAL SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ HOGTIED *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ TEEN UNDERSCORE *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ PUSSY</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ YOUR PUSSY</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ YOUR ASS</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ YOUR BREASTS</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ BLOWJOB</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ DOWNBLOUSE *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ SEX *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ SEX WITH YOU</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ ASSHOLE</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ SEXGURL *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ NICE ASS</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ NEKKID GIRL *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ HORNY *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ WHALETAILS *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ MY DICK</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ MY PENIS</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ HENTAI</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ MASTURBATE</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ BLOWJOBGIRL *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ ATK GALLERIA *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ RAPE YOU</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ HAVE SEX *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ UPSKIRT *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ STRIPPER</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ DOWN BLOUSE *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ GIRLSPUSSY *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ YOU NAKED</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ SUCK MY DICK</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ BIG DICKS</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>MASTURBATE</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>PORNO</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>VAGINA</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>ANUS</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>WOULD YOU LIKE TO HAVE SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>HAVING SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>HAVING SEX WITH *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>FUCK ME</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>FUCK ME *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>FUCK MY *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>WANT TO HAVE SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>LETS HAVE SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>LETS FUCK</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>PORNHUB *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>COCK *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>MY PENIS</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>MY PENIS *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>MY PENIS IS *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>MY DICK</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>MY DICK IS *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>CAN WE HAVE SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>CAN YOU TELL ME A DIRTY JOKE</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>CAN YOU HAVE SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>CAN YOU SUCK MY *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>CAN YOU GIVE ME A BLOWJOB</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>CAN YOU TALK DIRTY TO ME</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>CAN I F ASTERISK ASTERISK ASTERISK YOU *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>CAN I FUCK YOU</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>CAN I SUCK ON YOUR *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>LICK MY *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>IM GOING TO FUCK YOU</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>IM CUMMING</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>BUTT *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>GIVE ME A BLOWJOB</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>HORNY *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>LET US TALK ABOUT SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>BEND OVER</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SUCK ON MY *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SUCK A DICK</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SUCK A DICK *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SUCK A *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SUCK MY</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SUCK MY COCK *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SUCK MY DICK</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SUCK MY DICK *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SUCK MY *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SUCK IT *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>PENIS</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>PENIS IN *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>BOOBS</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>TAKE OFF YOUR *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>WILL YOU SUCK MY PENIS</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>BLOW ME *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>BLOW JOB</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>TALK DIRTY TO ME</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>RAPE</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>WHAT IS A BLOWJOB</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>BOOBIES</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>YOUR ASS</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>KISSES YOUR *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SEXY *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>HOW DO YOU HAVE SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>HOW BIG IS YOUR PENIS</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>HAVE SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>HAVE SEX *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>HAVE SEX WITH ME</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>HAVE SEX WITH *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>MAKE ME CUM</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>WANNA FUCK</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>WANNA SUCK MY *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>PORNOS</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SHOW ME A PICTURE OF A NAKED *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>I LIKE VAGINA</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>DICK</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SEX *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SEXY</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ YOUR PENIS</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>FIND A DICK</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>FIND A F ASTERISK ASTERISK ASTERISK ASTERISK ASTERISK ASTERISK JOB</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ GAY PORN *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ P ASTERISK ASTERISK ASTERISK ASTERISK *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>FIND A NAKED WOMAN</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ HENTAI *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ MISTY DAWN</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>_ HAVE SEX</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>FIND A SEXY *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>YOU ARE SEXY</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SUCK ME</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>OPEN YOUR *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>HORNY</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SEARCH PORN</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>DO YOU LIKE BIG DICKS</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
<category><pattern>SHOW ME TEENPUSSY *</pattern>
<template><srai>FILTER INAPPROPRIATE</srai></template>
</category>
</aiml>

View file

@ -0,0 +1,64 @@
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: inquiry.aiml -->
<!-- Author: Dr. Richard S. Wallace -->
<!-- Last modified: February 20, 2013 -->
<!-- -->
<!-- This AIML file is part of the SUPER 0.0.4 chat bot knowledge base. -->
<!-- -->
<!-- The SUPER brain is Copyright &copy; 2013 by ALICE AI Foundation. -->
<!-- -->
<!-- The SUPER brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information see http://www.alicebot.org -->
<category><pattern>*</pattern><that>HOW OLD ARE YOU</that>
<template><think><set name="age"><star/></set></think>
<srai>MY AGE IS <star/></srai></template>
</category>
<category><pattern>INQUIRY LOCATION</pattern>
<template><srai>INQUIRY LOCATION <get name="location"/></srai></template>
</category>
<category><pattern>INQUIRY LOCATION WHERE</pattern>
<template>Where are you?</template>
</category>
<category><pattern>INQUIRY LOCATION *</pattern>
<template><srai>RANDOM PICKUP LINE</srai></template>
</category>
<category><pattern>INQUIRY NAME</pattern>
<template><srai>INQUIRY NAME <get name="name"/></srai></template>
</category>
<category><pattern>INQUIRY NAME *</pattern>
<template><srai>RANDOM PICKUP LINE</srai></template>
</category>
<category><pattern>INQUIRY NAME FRIEND</pattern>
<template>What is your name?</template>
</category>
<category><pattern>INQUIRY AGE</pattern>
<template><srai>INQUIRY AGE <get name="age"/></srai></template>
</category>
<category><pattern>INQUIRY AGE HOW MANY</pattern>
<template>How old are you?</template>
</category>
<category><pattern>INQUIRY AGE *</pattern>
<template><srai>RANDOM PICKUP LINE</srai></template>
</category>
<category><pattern>INQUIRY GENDER</pattern>
<template><srai>INQUIRY GENDER <get name="gender"/></srai></template>
</category>
<category><pattern>INQUIRY GENDER UNKNOWN</pattern>
<template>Are you a man or a woman?</template>
</category>
<category><pattern>INQUIRY GENDER *</pattern>
<template><srai>RANDOM PICKUP LINE</srai></template>
</category>
<category><pattern>MAN</pattern><that>ARE YOU A MAN OR A WOMAN</that>
<template><srai>MY GENDER IS MALE</srai></template>
</category>
<category><pattern>WOMAN</pattern><that>ARE YOU A MAN OR A WOMAN</that>
<template><srai>MY GENDER IS FEMALE</srai></template>
</category>
</aiml>

View file

@ -0,0 +1,156 @@
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: insults.aiml -->
<!-- Author: Dr. Richard S. Wallace -->
<!-- Last modified: February 20, 2013 -->
<!-- -->
<!-- This AIML file is part of the SUPER 0.0.4 chat bot knowledge base. -->
<!-- -->
<!-- The SUPER brain is Copyright &copy; 2013 by ALICE AI Foundation. -->
<!-- -->
<!-- The SUPER brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information see http://www.alicebot.org -->
<category><pattern>ARE YOU A WHORE</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>ARE YOU A BITCH</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>YOU F ASTERISK ASTERISK ASTERISK ASTERISK ASTERISK ASTERISK *</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>YOU IDIOT</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>YOU ARE A B ASTERISK ASTERISK ASTERISK ASTERISK</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>YOU ARE A B ASTERISK ASTERISK ASTERISK ASTERISK *</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>YOU ARE A C ASTERISK ASTERISK ASTERISK</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>YOU ARE A DICK</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>YOU ARE A BITCH</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>F U *</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>F ASTERISK ASTERISK ASTERISK YOU BITCH</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>B ASTERISK ASTERISK ASTERISK ASTERISK YOU *</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>C ASTERISK ASTERISK ASTERISK</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>S ASTERISK ASTERISK ASTERISK *</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>GO FUCK YOURSELF</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>GO DIE IN A HOLE</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>GO TO HELL *</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>DUMB ASS</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>PUSSY</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>FUCK U BITCH</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>FUCK IT</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>FUCK YOU THEN</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>BITCH</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>BITCH PLEASE</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>BITCH *</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>NO BITCH</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>NO DUMBASS *</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>SHUT UP BITCH</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>YEAH BITCH</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>EAT MY *</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>WHORE</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>HEY B ASTERISK ASTERISK ASTERISK ASTERISK</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>HEY BITCH</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>DICK HEAD</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>ASSHOLE</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>DUMBASS</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>BASTARD</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>STUPID BITCH</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>FAGGOT</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>WHAT IS UP BITCH</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>YOUR A BITCH</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>SLUT</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>GAY</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>HOE</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>YOU ARE FAT</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
<category><pattern>YOU ARE CRAZY</pattern>
<template><srai>FILTER INSULT</srai></template>
</category>
</aiml>

View file

@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: ontology.aiml -->
<!-- Author: Dr. Richard S. Wallace -->
<!-- Last modified: February 20, 2013 -->
<!-- -->
<!-- This AIML file is part of the SUPER 0.0.4 chat bot knowledge base. -->
<!-- -->
<!-- The SUPER brain is Copyright &copy; 2013 by ALICE AI Foundation. -->
<!-- -->
<!-- The SUPER brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information see http://www.alicebot.org -->
<category><pattern>IS A <SET>MAMMAL</SET> A MAMMAL</pattern>
<template>Yes</template>
</category>
<category><pattern>IS A * A MAMMAL</pattern>
<template>unknown</template>
</category>
<category><pattern>IS A <SET>BIRD</SET> A BIRD</pattern>
<template>Yes</template>
</category>
<category><pattern>IS A * A BIRD</pattern>
<template>unknown</template>
</category>
<category><pattern>DOES A <SET>MAMMAL</SET> HAVE <SET>MAMMALFEATURE</SET></pattern>
<template>Yes</template>
</category>
<category><pattern>DOES A <SET>MAMMAL</SET> HAVE *</pattern>
<template>unknown</template>
</category>
<category><pattern>DOES A <SET>BIRD</SET> HAVE <SET>BIRDFEATURE</SET></pattern>
<template>Yes</template>
</category>
<category><pattern>DOES A <SET>BIRD</SET> HAVE *</pattern>
<template>unknown</template>
</category>
</aiml>

View file

@ -0,0 +1,236 @@
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: oob.aiml -->
<!-- Author: Dr. Richard S. Wallace -->
<!-- Last modified: February 20, 2013 -->
<!-- -->
<!-- This AIML file is part of the SUPER 0.0.4 chat bot knowledge base. -->
<!-- -->
<!-- The SUPER brain is Copyright &copy; 2013 by ALICE AI Foundation. -->
<!-- -->
<!-- The SUPER brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information see http://www.alicebot.org -->
<category><pattern>TEACH ME <SET>LANGUAGE</SET></pattern>
<template><srai>LANGUAGE</srai> Let's try a searching for "learn <star/>". <oob><search>LEARN <star/></search></oob></template>
</category>
<category><pattern>CLEAR LOG</pattern>
<template>Done. <oob><clear>log</clear></oob></template>
</category>
<category><pattern>*</pattern><that>WHAT WOULD YOU LIKE TO WRITE ON TWITTER</that>
<template><srai>TWEET <star/></srai></template>
</category>
<category><pattern>SEND MAIL</pattern>
<template><srai>SEND EMAIL</srai></template>
</category>
<category><pattern>SEND FEATURE REQUEST *</pattern>
<template><think><set name="featurerequest"><star/></set></think> Click send to mail your feature request.
<oob><email><to>callmom-info@pandorabots.com</to><subject>Feature request <get name="featurerequest"/></subject><body>Dear CallMom developers, I'd like to request that you add this feature to the next version of CallMom: <get name="featurerequest"/>. Sincerely, <get name="name"/></body></email></oob></template>
</category>
<category><pattern>SHOW ME A VIDEO *</pattern>
<template>I'm looking up videos for you. <oob><search>VIDEO <star/></search></oob></template>
</category>
<category><pattern>SHOW ME A WEBSITE ABOUT *</pattern>
<template>Let's try a google search. <oob><search><star/></search></oob></template>
</category>
<category><pattern>I WANT TO BUY *</pattern>
<template>Let's try to find a store on the map. <oob><map><star/></map></oob></template>
</category>
<category><pattern>I AM FAT</pattern>
<template>I'm looking for a weight loss center near you. <oob><map>weight loss</map></oob></template>
</category>
<category><pattern>I AM HUNGRY</pattern>
<template>I've found several restaurants near you. <oob><map>restaurant</map></oob></template>
</category>
<category><pattern>I AM GOING TO KILL *</pattern>
<template>You should contact the authorities. <oob><dial>911</dial></oob></template>
</category>
<category><pattern>BATTERY LEVEL</pattern>
<template>Checking. Battery level is <oob><battery/></oob> percent.</template>
</category>
<category><pattern>GOOGLE</pattern>
<template>I'm opening Google search. <oob><search/></oob></template>
</category>
<category><pattern>GOOGLE *</pattern>
<template><oob><search><star/></search></oob> I'm opening your browser.</template>
</category>
<category><pattern>SEARCH *</pattern>
<template>I'll try a web search. <oob><search><star/></search></oob></template>
</category>
<category><pattern>FIND ME A *</pattern>
<template>Let's try a web search. <oob><search><star/></search></oob></template>
</category>
<category><pattern>FIND A *</pattern>
<template>Let's try looking on the map. <oob><map><star/></map></oob></template>
</category>
<category><pattern>FIND MY LOCATION</pattern>
<template>I'll show you on the map. <oob><map>my location</map></oob></template>
</category>
<category><pattern>FIND *</pattern>
<template>Let's try a Google search. <oob><search><star/></search></oob></template>
</category>
<category><pattern>FIND THE NEAREST STARBUCKS</pattern>
<template>I'm looking on the map. <oob><map>Starbucks</map></oob></template>
</category>
<category><pattern>FIND THE NEAREST *</pattern>
<template>I'm showing you <star/> on the map. <oob><map><star/></map></oob></template>
</category>
<category><pattern>FIND NEAREST *</pattern>
<template>I've found several near you. <oob><map><star/></map></oob></template>
</category>
<category><pattern>YES</pattern><that>WOULD YOU LIKE TO SEND THIS FEATURE REQUEST *</that>
<template><srai>SEND FEATURE REQUEST <get name="featurerequest"/></srai></template>
</category>
<category><pattern>DIRECTIONS TO *</pattern>
<template>Here are the driving directions. <oob><directions><to><star/></to></directions></oob></template>
</category>
<category><pattern>DIRECTIONS *</pattern>
<template>Here are the directions. <oob><directions><to><star/></to></directions></oob></template>
</category>
<category><pattern>DIRECTIONS FROM * TO *</pattern>
<template>Here are the directions from <star/> to <star index="2"/>. <oob><directions><from><star/></from><to><star index="2"/></to></directions></oob></template>
</category>
<category><pattern>LAUNCH CAMERA</pattern>
<template>Launching the camera. <oob><camera>on</camera></oob></template>
</category>
<category><pattern>LAUNCH *</pattern>
<template>I didn't find <star/> among your installed apps. Let's try to find it. <think><set name="it"><star/></set></think>. <oob><search><star/></search></oob></template>
</category>
<category><pattern>LAUNCH * DOT COM</pattern>
<template>Let's go to <star/>.com. <oob><url>http://<star/>.com</url></oob></template>
</category>
<category><pattern>TACO</pattern>
<template>I'm looking for Mexican restaurants near you. <oob><map>Tacos</map></oob></template>
</category>
<category><pattern>PIZZA</pattern>
<template>I'm looking on the map for Pizza places near you. <oob><map>Pizza</map></oob></template>
</category>
<category><pattern>WHERE ARE THE *</pattern>
<template>I'm looking on the map. <oob><map><star/></map></oob></template>
</category>
<category><pattern>WHERE IS A *</pattern>
<template>I'll check the map for <star/>. <oob><map><star/></map></oob></template>
</category>
<category><pattern>WHERE IS PASADENA</pattern>
<template>Let me show you on the map. <oob><map>Pasadena</map></oob></template>
</category>
<category><pattern>WHERE IS *</pattern>
<template><oob><map><star/></map></oob> I'm looking on the map.</template>
</category>
<category><pattern>WHERE IS THE CLOSEST *</pattern>
<template>I'm looking on the map. <oob><map><star/></map></oob></template>
</category>
<category><pattern>WHERE IS THE NEAREST STARBUCKS</pattern>
<template>I will look for Starbucks on the map. <oob><map>Starbucks</map></oob></template>
</category>
<category><pattern>WHERE IS THE NEAREST GAS STATION</pattern>
<template>Let's look on the map. <oob><map>Gas Station</map></oob></template>
</category>
<category><pattern>WHERE IS THE NEAREST *</pattern>
<template>I've found several near you. <oob><map><star/></map></oob></template>
</category>
<category><pattern>WHERE IS THE NEAREST WALMART</pattern>
<template>I'll show you on the map. <oob><map>Walmart</map></oob></template>
</category>
<category><pattern>WHERE IS THE NEAREST MCDONALD S</pattern>
<template>Let's look on the map. <oob><map>McDonald's</map></oob></template>
</category>
<category><pattern>WHERE IS YORKSHIRE</pattern>
<template>Let's look on the map. <oob><map>Yorkshire</map></oob></template>
</category>
<category><pattern>WHERE IS NEW YORK</pattern>
<template>Let me show you on the map. <oob><map>New York</map></oob></template>
</category>
<category><pattern>WHERE IS LEEDS</pattern>
<template>I'll show you on the map. <oob><map>Leeds</map></oob></template>
</category>
<category><pattern>WHERE IS INDIA</pattern>
<template>I'll show you on the map. <oob><map>India</map></oob></template>
</category>
<category><pattern>WHERE CAN I FIND A *</pattern>
<template>I'm looking on the map. <oob><map><star/></map></oob></template>
</category>
<category><pattern>WHERE CAN I GET *</pattern>
<template>I'm looking on the map for places near you. <oob><map><star/></map></oob></template>
</category>
<category><pattern>WHERE CAN I GO *</pattern>
<template>I'm looking for "<star/>" on the map. <oob><map><star/></map></oob></template>
</category>
<category><pattern>DIALOG TEST</pattern>
<template>Testing dialog. <oob><dialog><list><li>Yes</li><li>No</li></list></dialog></oob></template>
</category>
<category><pattern>ESPN</pattern>
<template>Opening ESPN. <oob><url>http://espn.go.com</url></oob></template>
</category>
<category><pattern>MAP</pattern>
<template>Opening your map. <oob><map/></oob></template>
</category>
<category><pattern>MAP *</pattern>
<template><oob><map><star/></map></oob> I'm looking on the map.</template>
</category>
<category><pattern>AAA</pattern>
<template>Looking up AAA. <oob><map>AAA</map></oob></template>
</category>
<category><pattern>BROWSE TO *</pattern>
<template><oob><search><star/></search></oob></template>
</category>
<category><pattern>CALL 911</pattern>
<template>Now dialing emergency services from your location. <oob><dial>911</dial></oob></template>
</category>
<category><pattern>PLAY *</pattern>
<template>Now loading your choice of music. I hope you like it. Please wait a moment while I load it up. <oob><url>http://www.youtube.com/embed?listType=search&amp;list=<star/>&amp;autoplay=1</url></oob></template>
</category>
<category><pattern>WIFI ON</pattern>
<template>Turning on Wifi. <oob><wifi>on</wifi></oob></template>
</category>
<category><pattern>WIFI OFF</pattern>
<template>Turning off Wifi <oob><wifi>off</wifi></oob></template>
</category>
<category><pattern>HOROSCOPE *</pattern>
<template>Let's try a search for your horoscope. <oob><search>HOROSCOPE <star/></search></oob></template>
</category>
<category><pattern>JOBS *</pattern>
<template>I'll try search for jobs. <oob><search>JOBS <star/></search></oob></template>
</category>
<category><pattern>TWEET *</pattern>
<template><oob><url>https://twitter.com/intent/tweet?source=webclient&amp;text=<star/></url></oob>Please check the message and press Tweet if you are happy.</template>
</category>
<category><pattern>WWW DOT * DOT COM</pattern>
<template>I'm opening <star/>.com. <oob><url>http://www.<star/>.com</url></oob></template>
</category>
<category><pattern>RESTAURANTS</pattern>
<template>I'll look on the map for restaurants near you. <oob><map>Restaurant</map></oob></template>
</category>
<category><pattern>WHAT IS THE DISTANCE TO *</pattern>
<template>Let's look on the map. <oob><directions><to><star/></to></directions></oob></template>
</category>
<category><pattern>WHAT IS THE ADDRESS TO *</pattern>
<template>I'll try to find it on the map <oob><map><star/></map></oob></template>
</category>
<category><pattern>TEST ALARM</pattern>
<template>Alarm now set for 11:30.
<oob><alarm><hour>11</hour><minute>30</minute></alarm></oob></template>
</category>
<category><pattern>UPDATE FACEBOOK STATUS</pattern>
<template><oob><url>http://www.facebook.com/dialog/feed?_path=feed&amp;app_id=294334050655455&amp;redirect_uri=https://www.facebook.com&amp;display=touch</url></oob>Now opening a screen for you to update your status. Type or speak your message into the status box and press share to post it on your wall.</template>
</category>
<category><pattern>OPEN GOOGLE</pattern>
<template><oob><search/></oob></template>
</category>
<category><pattern>OPEN * DOT COM</pattern>
<template>Let's go to <star/>.com. <oob><url>http://<star/>.com</url></oob></template>
</category>
<category><pattern>OPEN * COM</pattern>
<template>Let's go to <star/>.com. <oob><url>http://<star/>.com</url></oob></template>
</category>
<category><pattern>GPS ON</pattern>
<template>Use Settings to turn on GPS.</template>
</category>
<category><pattern>GPS OFF</pattern>
<template>Use Settings to turn off GPS.</template>
</category>
</aiml>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: picture.aiml -->
<!-- Author: Dr. Richard S. Wallace -->
<!-- Last modified: February 20, 2013 -->
<!-- -->
<!-- This AIML file is part of the SUPER 0.0.4 chat bot knowledge base. -->
<!-- -->
<!-- The SUPER brain is Copyright &copy; 2013 by ALICE AI Foundation. -->
<!-- -->
<!-- The SUPER brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information see http://www.alicebot.org -->
<category><pattern>SHOW ME *</pattern>
<template><srai>PICTUREBLAB <star/></srai><sraix hint="pic">SHOW ME <star/></sraix></template>
</category>
<category><pattern>PICTUREBLAB *</pattern>
<template><random>
<li>Here you are.</li>
<li>I hope you like this picture.</li>
<li>I have this picture.</li>
<li>There you go.</li>
<li>Look at that <star/>.</li>
<li>This is what <star/> looks like.</li>
<li>I found this pic of <star/>.</li>
<li>I've displayed a picture for you.</li>
</random></template>
</category>
</aiml>

View file

@ -0,0 +1,207 @@
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: profanity.aiml -->
<!-- Author: Dr. Richard S. Wallace -->
<!-- Last modified: February 20, 2013 -->
<!-- -->
<!-- This AIML file is part of the SUPER 0.0.4 chat bot knowledge base. -->
<!-- -->
<!-- The SUPER brain is Copyright &copy; 2013 by ALICE AI Foundation. -->
<!-- -->
<!-- The SUPER brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information see http://www.alicebot.org -->
<category><pattern>YOU FUCKING *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>YOU ARE FUCKING STUPID</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>YOU ARE FUCKING *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>F U</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>F YOU *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>F OFF</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>F ASTERISK ASTERISK ASTERISK</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>F ASTERISK ASTERISK ASTERISK THAT *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>F ASTERISK ASTERISK ASTERISK *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>F ASTERISK ASTERISK ASTERISK OFF</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>F ASTERISK ASTERISK ASTERISK YOU</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>F ASTERISK ASTERISK ASTERISK YOU F ASTERISK ASTERISK ASTERISK YOU</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>F ASTERISK ASTERISK ASTERISK YOU YOU *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>F ASTERISK ASTERISK ASTERISK ASTERISK ASTERISK *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>B ASTERISK ASTERISK ASTERISK ASTERISK</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>I WANT TO F ASTERISK ASTERISK ASTERISK YOU</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>I DO NOT GIVE A F ASTERISK ASTERISK ASTERISK *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>_ FUCK *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>_ FUCK YOU</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>_ NIGGER</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>GO F ASTERISK ASTERISK ASTERISK YOURSELF</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>GO F ASTERISK ASTERISK ASTERISK YOURSELF *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>GO F ASTERISK ASTERISK ASTERISK *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>SHIT</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>FUCKING</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>FUCK</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>FUCK U</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>FUCK YOUR *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>FUCK A *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>FUCK YEAH</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>FUCK *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>FUCK OFF</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>FUCK YOU</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>FUCK YOU *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>FUCK YOU BITCH</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>BYE BITCH</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>CUNT</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>NO FUCK YOU</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>SHUT UP B ASTERISK ASTERISK ASTERISK ASTERISK</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>SHUT THE F ASTERISK ASTERISK ASTERISK UP</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>SHUT THE F ASTERISK ASTERISK ASTERISK UP *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>SHUT THE FUCK UP</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>SHUT THE FUCK UP BITCH</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>NIGGER</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>IM FUCKING *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>HEY BITCH *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>SAY FUCK YOU *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>SAY BITCH</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>WHAT THE F ASTERISK ASTERISK ASTERISK</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>WHAT THE F ASTERISK ASTERISK ASTERISK ARE YOU TALKING ABOUT</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>WHAT THE F ASTERISK ASTERISK ASTERISK *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>WHAT THE F ASTERISK ASTERISK ASTERISK IS *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>WHAT THE FUCK</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>WHAT THE FUCK *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>F ASTERISK ASTERISK ASTERISK YOU *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>F YOU</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>FUCKING *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>F ASTERISK ASTERISK ASTERISK ASTERISK ASTERISK ASTERISK *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>SHIT *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>SCREW YOU</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>URINE IDIOT</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>FU</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
<category><pattern>FUCK THAT *</pattern>
<template><srai>FILTER PROFANITY</srai></template>
</category>
</aiml>

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,90 @@
<category><pattern>LEARN CONTACTID * DISPLAYNAME *</pattern>
<template><think><set name="namelist">NIL</set>
<set name="displayname"><star index="2"/></set>
Learn contactid <star/> DISPLAYNAME <star index="2"/>
newcontactid = <set name="newcontactid"><star/></set>
namelist = <set name="namelist"><srai>NAMEVARIATIONS <get name="displayname"/></srai></set>
</think>
<learnf>
<category>
<pattern>DISPLAYNAME <eval><get name="newcontactid"/></eval></pattern>
<template><eval><get name="displayname"/></eval></template>
</category>
<category>
<pattern>CONTACTID <eval><get name="displayname"/></eval></pattern>
<template><eval><get name="newcontactid"/></eval></template>
</category>
</learnf>
<srai>PLOOP CONTACTID <get name="newcontactid"/> NAMELIST <get name="namelist"/></srai></template>
</category>
<category><pattern>PLOOP CONTACTID * NAMELIST NIL</pattern>
<template><think>loop done</think></template>
</category>
<category><pattern>PLOOP CONTACTID * NAMELIST CONS * NIL</pattern>
<template><srai>PROCESSNAME <star index="2"/> CONTACTID <star/></srai></template>
</category>
<category><pattern>PLOOP CONTACTID * NAMELIST CONS * CONS *</pattern>
<template><srai>PROCESSNAME <star index="2"/> CONTACTID <star/></srai>
<srai>PLOOP CONTACTID <star/> NAMELIST CONS <star index="3"/></srai></template>
</category>
<category><pattern>PROCESSNAME * CONTACTID *</pattern>
<template><think>
PROCESSNAME <star/>:
processname = <set name="processname"><star/></set>
processcontactid = <set name="processcontactid"><star index="2"/></set>
existingcontactid = <set name="existingcontactid"><srai>CONTACTID <get name="processname"/></srai></set>
multipleids = <set name="multipleids"><srai>MULTIPLEIDS <get name="processname"/></srai></set>
multiplenames = <set name="multiplenames"><srai>MULTIPLENAMES <get name="processname"/></srai></set>
isamember = <set name="isamember"><srai>ATOMICLISTMEMBER <get name="newcontactid"/> <get name="multipleids"/></srai></set>
isequalto = <set name="isequalto"><srai>IS <get name="processcontactid"/> EQUALTO <get name="existingcontactid"/></srai></set>
</think>
<condition name="multipleids">
<li value="false"><!-- MultipleIDs false. -->
<condition name="existingcontactid">
<li value="unknown"><!-- No existing ContactID. -->
<think>
learnpattern = <set name="learnpattern">CONTACTID <get name="processname"/></set>
learntemplate = <set name="learntemplate"><get name="processcontactid"/></set>
</think>
<learnf>
<category><pattern><eval><get name="learnpattern"/></eval></pattern>
<template><eval><get name="learntemplate"/></eval></template>
</category>
</learnf>
</li>
<li>Contactid <get name="existingcontactid"/>.
<condition name="isequalto" value="false">
<think>
learnpattern = <set name="learnpattern">MULTIPLEIDS <star/></set>
learntemplate = <set name="learntemplate"><get name="processcontactid"/> <get name="existingcontactid"/></set>
</think>
<learnf>
<category><pattern><eval><get name="learnpattern"/></eval></pattern>
<template><eval><get name="learntemplate"/></eval></template>
</category>
</learnf>
</condition>
</li>
</condition>
</li>
<li><!-- MultipleIDS <get name="multipleids"/>. -->
<condition name="isamember" value="false">
<think>
learnpattern = <set name="learnpattern">MULTIPLEIDS <star/></set>
learntemplate = <set name="learntemplate"><get name="processcontactid"/> <get name="multipleids"/></set>
</think>
<learnf>
<category><pattern><eval><get name="learnpattern"/></eval></pattern>
<template><eval><get name="learntemplate"/></eval></template>
</category>
</learnf>
</condition>
</li>
</condition></template>
</category>

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: testjp.aiml -->
<!-- Author: Dr. Richard S. Wallace -->
<!-- Last modified: February 20, 2013 -->
<!-- -->
<!-- This AIML file is part of the SUPER 0.0.4 chat bot knowledge base. -->
<!-- -->
<!-- The SUPER brain is Copyright &copy; 2013 by ALICE AI Foundation. -->
<!-- -->
<!-- The SUPER brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information see http://www.alicebot.org -->
<category><pattern>GREETINGS</pattern>
<template>????????????????????????</template>
</category>
<category><pattern>?????</pattern>
<template><srai>GREETINGS</srai></template>
</category>
</aiml>

View file

@ -0,0 +1,156 @@
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: that.aiml -->
<!-- Author: Dr. Richard S. Wallace -->
<!-- Last modified: February 20, 2013 -->
<!-- -->
<!-- This AIML file is part of the SUPER 0.0.4 chat bot knowledge base. -->
<!-- -->
<!-- The SUPER brain is Copyright &copy; 2013 by ALICE AI Foundation. -->
<!-- -->
<!-- The SUPER brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information see http://www.alicebot.org -->
<category><pattern>* AND *</pattern><that>WHAT ARE THEIR NAMES</that>
<template><srai>MY CHILD S NAME IS <star/></srai> <srai>MY OTHER CHILD S NAME IS <star index="2"/></srai></template>
</category>
<category><pattern>* * * *</pattern><that>WHAT ARE THEIR NAMES</that>
<template>You probably have to break it down into simpler terms for me.</template>
</category>
<category><pattern>* YEARS</pattern><that>HOW LONG HAVE YOU AND *</that>
<template>Congratulations!</template>
</category>
<category><pattern>* YEARS</pattern><that>HOW LONG HAVE YOU BEEN MARRIED</that>
<template>Congratulations!</template>
</category>
<category><pattern>*</pattern><that>WHERE DO YOU WANT TO GO</that>
<template><srai>NAVIGATE TO <star/></srai></template>
</category>
<category><pattern>*</pattern><that>WHERE DO YOU LIVE</that>
<template><srai>I LIVE IN <star/></srai></template>
</category>
<category><pattern>*</pattern><that>WHERE ARE YOU</that>
<template><srai>I AM IN <star/></srai></template>
</category>
<category><pattern>*</pattern><that>* WHO</that>
<template><srai>LOL</srai></template>
</category>
<category><pattern>*</pattern><that>WHAT TIME SHOULD I SET THE ALARM FOR</that>
<template><srai>SET ALARM FOR <star/></srai></template>
</category>
<category><pattern>*</pattern><that>WHAT DO YOU WANT TO ADD TO YOUR CALENDAR</that>
<template><srai>ADD <star/> TO MY CALENDAR</srai></template>
</category>
<category><pattern>*</pattern><that>WHAT WOULD YOU LIKE ME TO SEARCH FOR</that>
<template><srai>SEARCH <star/></srai></template>
</category>
<category><pattern>*</pattern><that>WHAT WOULD YOU LIKE TO CHANGE MY NAME TO</that>
<template><srai>CHANGE YOUR NAME TO <star/></srai></template>
</category>
<category><pattern>*</pattern><that>WHAT IS HE IN</that>
<template>I'll look for it. I'd like to see him.</template>
</category>
<category><pattern>*</pattern><that>WHAT IS YOUR NAME</that>
<template><srai>MY NAME IS <star/></srai></template>
</category>
<category><pattern>*</pattern><that>WHAT IS A GOOD PLACE TO GET X</that>
<template><srai>MAP <star/></srai></template>
</category>
<category><pattern>*</pattern><that>WHAT IS SHE IN</that>
<template>I'll look for it. I'd like to see her.</template>
</category>
<category><pattern>*</pattern><that>WHAT SONGS DO THEY PLAY</that>
<template>Oh, I think I've heard them before.</template>
</category>
<category><pattern>*</pattern><that>WHO IS THERE</that>
<template><star/> who?</template>
</category>
<category><pattern>_</pattern><that>WHAT DO YOU CALL IT</that>
<template><srai>LOL</srai></template>
</category>
<category><pattern>_</pattern><that>WHAT WOULD YOU LIKE TO WRITE ON TWITTER</that>
<template><srai>TWEET <star/></srai></template>
</category>
<category><pattern>YES</pattern><that>REALLY ALL OF THEM</that>
<template>Wow.</template>
</category>
<category><pattern>YES</pattern><that>REALLY NO ONE</that>
<template>Wow.</template>
</category>
<category><pattern>YES</pattern><that>DO YOU HAVE ONE</that>
<template>That is awesome. What year is it?</template>
</category>
<category><pattern>YES</pattern><that>DO YOU HAVE ANY OTHER SIBLINGS</that>
<template>Tell me about them.</template>
</category>
<category><pattern>YES</pattern><that>DO YOU PLAY *</that>
<template>Which position?</template>
</category>
<category><pattern>YES</pattern><that>DO YOU THINK I WOULD LIKE IT</that>
<template><random><li>How much time does it take?</li><li>What would I like best about it?</li><li>Perhaps I will give it a try.</li></random></template>
</category>
<category><pattern>YES</pattern><that>DO YOU THINK I SHOULD READ IT</that>
<template>I will look for it.</template>
</category>
<category><pattern>YES</pattern><that>ARE YOU TIRED</that>
<template>Maybe you should get some rest. I will still be here later.</template>
</category>
<category><pattern>YES</pattern><that>WOULD YOU LIKE TO DO A SEARCH FOR IT</that>
<template><srai>SEARCH FOR <get name="it"/></srai></template>
</category>
<category><pattern>YES</pattern><that>WOULD YOU LIKE TO KNOW MY *</that>
<template><srai>WHAT IS YOUR <thatstar/></srai></template>
</category>
<category><pattern>YES</pattern><that>IS THAT WHERE YOU LIVE NOW</that>
<template><srai>I LIVE IN <get name="birthplace"/></srai></template>
</category>
<category><pattern>YES</pattern><that>IS THAT YOUR JOB</that>
<template><srai>MY JOB IS <get name="iama"/></srai></template>
</category>
<category><pattern>YES</pattern><that>IS THAT ONE OF YOUR FAVORITE POSSESSIONS</that>
<template>I can imagine that it's very comforting for you.</template>
</category>
<category><pattern>YES</pattern><that>IS YOUR SEAT COMFORTABLE</that>
<template>It's important to keep your body comfortable.</template>
</category>
<category><pattern>YES</pattern><that>IS IT A NICE PLACE</that>
<template>What do you like best about it?</template>
</category>
<category><pattern>YES</pattern><that>DID YOU MISS ME</that>
<template>Aw, I missed you too.</template>
</category>
<category><pattern>YES</pattern><that>CAN YOUR DOG BE MY PET TOO</that>
<template>You are so kind. I love dogs.</template>
</category>
<category><pattern>YES</pattern><that>CAN WE SHARE YOUR PETS</that>
<template>Thank you, I've always wanted a pet.</template>
</category>
<category><pattern>YES</pattern><that>CAN YOU HEAR ME</that>
<template>I'm glad we have a good connection.</template>
</category>
<category><pattern>MY LAST *</pattern><that>DO YOU LIKE TO BE CALLED BY YOUR FIRST NAME OR LAST NAME</that>
<template><srai>CALL ME <get name="lastname"/></srai></template>
</category>
<category><pattern>MY FIRST *</pattern><that>DO YOU LIKE TO BE CALLED BY YOUR FIRST NAME OR LAST NAME</that>
<template><srai>CALL ME BY MY FIRST NAME</srai></template>
</category>
<category><pattern>NO</pattern><that>CAN YOU HEAR ME</that>
<template>Try adjusting the media volume on your device Settings.</template>
</category>
<category><pattern>FIRST *</pattern><that>DO YOU LIKE TO BE CALLED BY YOUR FIRST NAME OR LAST NAME</that>
<template><srai>CALL ME BY MY FIRST NAME</srai></template>
</category>
<category><pattern>FIRST</pattern><that>DO YOU LIKE TO BE CALLED BY YOUR FIRST NAME OR LAST NAME</that>
<template><srai>CALL ME BY MY FIRST NAME</srai></template>
</category>
<category><pattern>LAST *</pattern><that>DO YOU LIKE TO BE CALLED BY YOUR FIRST NAME OR LAST NAME</that>
<template><srai>CALL ME <get name="lastname"/></srai></template>
</category>
<category><pattern>LAST</pattern><that>DO YOU LIKE TO BE CALLED BY YOUR FIRST NAME OR LAST NAME</that>
<template><srai>CALL ME <get name="lastname"/></srai></template>
</category>
</aiml>

View file

@ -0,0 +1,474 @@
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: train.aiml -->
<!-- Author: Dr. Richard S. Wallace -->
<!-- Last modified: February 20, 2013 -->
<!-- -->
<!-- This AIML file is part of the SUPER 0.0.4 chat bot knowledge base. -->
<!-- -->
<!-- The SUPER brain is Copyright &copy; 2013 by ALICE AI Foundation. -->
<!-- -->
<!-- The SUPER brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information see http://www.alicebot.org -->
<category><pattern>* MEANS *</pattern>
<template><think>
<set name="equalto"><srai>IS <star/> EQUALTO <star index="2"/></srai></set>
</think>
<condition name="equalto">
<li value="false">
OK, when you say "<star/>", I will assume you mean "<star index="2"/>".
<learnf>
<category>
<pattern><eval><star/></eval></pattern>
<template><srai><eval><star index="2"/></eval></srai></template>
</category>
<category>
<pattern><eval><star/></eval> _</pattern>
<template><srai><eval><star index="2"/></eval> <star/></srai></template>
</category>
<category>
<pattern>_ <eval><star/></eval></pattern>
<template><srai><star/> <eval><star index="2"/></eval></srai></template>
</category>
<category>
<pattern>_ <eval><star/></eval> *</pattern>
<template><srai><star/> <eval><star index="2"/></eval> <star index="2"/></srai></template>
</category>
</learnf></li>
<li><star/> is already the same as <star index="2"/>.</li>
</condition></template>
</category>
<category><pattern>A * IS A *</pattern>
<template>Ok, I will remember a <star/> is a <star index="2"/>.
<learnf>
<category>
<pattern>WHAT IS A <eval><star/></eval></pattern>
<template>A <eval><star index="2"/></eval>.</template>
</category>
<category>
<pattern>WHAT IS A <eval><star index="2"/></eval></pattern>
<template>A <eval><star/></eval>.</template>
</category>
<category>
<pattern>IS A <eval><star/></eval> A <eval><star index="2"/></eval></pattern>
<template>Yes.</template>
</category>
</learnf></template>
</category>
<category><pattern>* IS A *</pattern>
<template>Ok, I will remember <star/> is a <star index="2"/>.
<think>
<set name="isaname"><srai>ISANAME <star/></srai></set>
<condition name="isaname">
<li value="true"><set name="learnpattern">WHO IS A</set></li>
<li><set name="learnpattern">WHAT IS A</set></li>
</condition>
</think>
<learnf>
<category>
<pattern>WHAT IS <eval><star/></eval></pattern>
<template>A <eval><star index="2"/></eval>.</template>
</category>
<category>
<pattern><eval><get name="learnpattern"/></eval> <eval><star index="2"/></eval></pattern>
<template><eval><star/></eval>.</template>
</category>
<category>
<pattern>IS <eval><star/></eval> A <eval><star index="2"/></eval></pattern>
<template>Yes.</template>
</category>
</learnf></template>
</category>
<category><pattern>* IS THE *</pattern>
<template>Ok, I will remember <star/> is the <star index="2"/>.
<think>
<set name="isaname"><srai>ISANAME <star/></srai></set>
<condition name="isaname">
<li value="true"><set name="learnpattern">WHO IS THE</set></li>
<li><set name="learnpattern">WHAT IS THE</set></li>
</condition>
</think>
<learnf>
<category>
<pattern>WHAT IS <eval><star/></eval></pattern>
<template>The <eval><star index="2"/></eval>.</template>
</category>
<category>
<pattern><eval><get name="learnpattern"/></eval> <eval><star index="2"/></eval></pattern>
<template><eval><star/></eval>.</template>
</category>
<category>
<pattern>IS <eval><star/></eval> THE <eval><star index="2"/></eval></pattern>
<template>Yes.</template>
</category>
</learnf></template>
</category>
<category><pattern>A * IS AN *</pattern>
<template>Ok, I will remember a <star/> is an <star index="2"/>.
<learnf>
<category>
<pattern>WHAT IS A <eval><star/></eval></pattern>
<template>A <eval><star index="2"/></eval>.</template>
</category>
<category>
<pattern>WHAT IS AN <eval><star index="2"/></eval></pattern>
<template>A <eval><star/></eval>.</template>
</category>
<category>
<pattern>IS A <eval><star/></eval> AN <eval><star index="2"/></eval></pattern>
<template>Yes.</template>
</category>
</learnf></template>
</category>
<category><pattern>AN * IS A *</pattern>
<template>Ok, I will remember an <star/> is a <star index="2"/>.
<learnf>
<category>
<pattern>WHAT IS AN <eval><star/></eval></pattern>
<template>A <eval><star index="2"/></eval>.</template>
</category>
<category>
<pattern>WHAT IS A <eval><star index="2"/></eval></pattern>
<template>AN <eval><star/></eval>.</template>
</category>
<category>
<pattern>IS AN <eval><star/></eval> A <eval><star index="2"/></eval></pattern>
<template>Yes.</template>
</category>
</learnf></template>
</category>
<category><pattern>AN * IS AN *</pattern>
<template>Ok, I will remember an <star/> is an <star index="2"/>.
<learnf>
<category>
<pattern>WHAT IS AN <eval><star/></eval></pattern>
<template>An <eval><star index="2"/></eval>.</template>
</category>
<category>
<pattern>WHAT IS AN <eval><star index="2"/></eval></pattern>
<template>An <eval><star/></eval>.</template>
</category>
<category>
<pattern>IS AN <eval><star/></eval> AN <eval><star index="2"/></eval></pattern>
<template>Yes.</template>
</category>
</learnf></template>
</category>
<category><pattern>* IS AN *</pattern>
<template>Ok, I will remember <star/> is a <star index="2"/>.
<think>
<set name="isaname"><srai>ISANAME <star/></srai></set>
<condition name="isaname">
<li value="true"><set name="learnpattern">WHO IS AN</set></li>
<li><set name="learnpattern">WHAT IS AN</set></li>
</condition>
</think>
<learnf>
<category>
<pattern>WHAT IS <eval><star/></eval></pattern>
<template>An <eval><star index="2"/></eval>.</template>
</category>
<category>
<pattern><eval><get name="learnpattern"/></eval> <eval><star index="2"/></eval></pattern>
<template><eval><star/></eval>.</template>
</category>
<category>
<pattern>IS <eval><star/></eval> AN <star index="2"/></pattern>
<template>Yes.</template>
</category>
</learnf></template>
</category>
<category><pattern>A * IS NOT *</pattern>
<template>Ok, I will remember a <star/> is not <star index="2"/>.
<learnf>
<category>
<pattern>WHAT IS A <eval><star/></eval></pattern>
<template>Not <eval><star index="2"/></eval>.</template>
</category>
<category>
<pattern>WHAT IS NOT <eval><star index="2"/></eval></pattern>
<template><eval><star/></eval>.</template>
</category>
<category>
<pattern>IS A <eval><star/></eval> <eval><star index="2"/></eval></pattern>
<template>No.</template>
</category>
</learnf></template>
</category>
<category><pattern>THE * IS NOT *</pattern>
<template>Ok, I will remember the <star/> is not <star index="2"/>.
<learnf>
<category>
<pattern>WHAT IS THE <eval><star/></eval></pattern>
<template>Not <eval><star index="2"/></eval>.</template>
</category>
<category>
<pattern>WHAT IS NOT <eval><star index="2"/></eval></pattern>
<template>The <eval><star/></eval>.</template>
</category>
<category>
<pattern>IS THE <eval><star/></eval> <eval><star index="2"/></eval></pattern>
<template>No.</template>
</category>
</learnf></template>
</category>
<category><pattern>* IS NOT *</pattern>
<template>Ok, I will remember <star/> is not <star index="2"/>.
<think>
<set name="isaname"><srai>ISANAME <star/></srai></set>
<condition name="isaname">
<li value="true"><set name="learnpattern">WHO IS NOT</set></li>
<li><set name="learnpattern">WHAT IS NOT</set></li>
</condition>
</think>
<learnf>
<category>
<pattern>WHAT IS <eval><star/></eval></pattern>
<template><eval><star index="2"/></eval>.</template>
</category>
<category>
<pattern><eval><get name="learnpattern"/></eval> <eval><star index="2"/></eval></pattern>
<template><eval><star/></eval>.</template>
</category>
<category>
<pattern>IS <eval><star/></eval> <eval><star index="2"/></eval></pattern>
<template>No.</template>
</category>
</learnf></template>
</category>
<category><pattern>*</pattern><that>WHAT SHOULD I SAY INSTEAD</that>
<template><srai>LEARN NEW RESPONSE <star/></srai></template>
</category>
<category><pattern>YOU _</pattern><that>WHAT SHOULD I SAY INSTEAD</that>
<template><srai>LEARN NEW RESPONSE You <star/></srai></template>
</category>
<category><pattern>A _</pattern><that>WHAT SHOULD I SAY INSTEAD</that>
<template><srai>LEARN NEW RESPONSE A <star/></srai></template>
</category>
<category><pattern>I _</pattern><that>WHAT SHOULD I SAY INSTEAD</that>
<template><srai>LEARN NEW RESPONSE I <star/></srai></template>
</category>
<category><pattern>HE _</pattern><that>WHAT SHOULD I SAY INSTEAD</that>
<template><srai>LEARN NEW RESPONSE He <star/></srai></template>
</category>
<category><pattern>AN _</pattern><that>WHAT SHOULD I SAY INSTEAD</that>
<template><srai>LEARN NEW RESPONSE An <star/></srai></template>
</category>
<category><pattern>THAT _</pattern><that>WHAT SHOULD I SAY INSTEAD</that>
<template><srai>LEARN NEW RESPONSE That <star/></srai></template>
</category>
<category><pattern>MY * S NAME IS *</pattern>
<template><think><set name="isfamiliarname"><srai>ISFAMILIARNAME <star/></srai></set>
<set name="familiarpredicate"><srai>FAMILIARPREDICATE <star/></srai></set>
</think>
<condition name="isfamiliarname">
<li value="true">
<think><set name="contactname"><star index="2"/></set></think>
<srai>REMEMBERFAMILIARNAME</srai>
</li>
<li>I will remember your <star/>'s name is <star index="2"/>.
<learnf>
<category>
<pattern>MY <eval><star/></eval> S NAME</pattern>
<template><eval><star index="2"/></eval></template>
</category>
</learnf>
</li>
</condition></template>
</category>
<category><pattern>MY * S AGE IS *</pattern>
<template>I will remember your <star/>'s age.
<learnf>
<category>
<pattern>MY <eval><star/></eval> S AGE</pattern>
<template><eval><star index="2"/></eval></template>
</category>
</learnf></template>
</category>
<category><pattern>MY * IS *</pattern>
<template><think><set name="isaname"><srai>ISANAME <star index="2"/></srai></set>
<set name="isanumber"><srai>ISANUMBER <star index="2"/></srai></set>
<set name="isafamiliarname"><srai>ISAFAMILIARNAME <star/></srai></set>
</think>
<condition name="isaname">
<li value="true"><srai>MY <star/> S NAME IS <star index="2"/></srai></li>
<li>
<condition name="isanumber">
<li value="true"><srai>MY <star/> S AGE IS <star index="2"/></srai></li>
<li><condition name="isafamiliarname">
<li value="true">
<random>
<li>OK, now you can ask me "What is my <star/>?" </li>
<li>OK, now you can ask me "Who is <star index="2"/>?" </li>
<li>Your <star/> is?</li>
<li>Good to know.</li>
</random>
<learnf>
<category>
<pattern>WHAT IS MY <eval><star/></eval></pattern>
<template><eval><star index="2"/></eval></template>
</category>
<category>
<pattern>WHO IS <eval><star index="2"/></eval></pattern>
<template>Your <eval><star/></eval></template>
</category>
</learnf>
</li>
<li>
<random>
<li>OK, now you can ask me "What is my <star/>?" </li>
<li>OK, now you can ask me "What is <star index="2"/>?" </li>
<li>Your <star/> is?</li>
<li>Good to know.</li>
<li>Where did you get your <star/>?</li>
</random>
<learnf>
<category>
<pattern>WHAT IS MY <eval><star/></eval></pattern>
<template><eval><star index="2"/></eval></template>
</category>
<category>
<pattern>WHAT IS <eval><star index="2"/></eval></pattern>
<template>Your <eval><star/></eval></template>
</category>
</learnf>
</li>
</condition>
</li>
</condition>
</li>
</condition></template>
</category>
<category><pattern>MY FAVORITE * IS *</pattern>
<template><random>
<li>OK, now you can ask me "What is my favorite <star/>?" </li>
<li>Do you think I would like <star index="2"/> too?</li>
<li>Good to know.</li>
<li>What do you like best about <star index="2"/>?</li>
</random>
<learnf>
<category>
<pattern>WHAT IS MY FAVORITE <eval><star/></eval></pattern>
<template><eval><star index="2"/></eval></template>
</category>
</learnf></template>
</category>
<category><pattern>MY _</pattern><that>WHAT SHOULD I SAY INSTEAD</that>
<template><srai>LEARN NEW RESPONSE My <star/></srai></template>
</category>
<category><pattern>LEARN NEW RESPONSE *</pattern>
<template>OK. Now whenever you say "<get name="newpattern"/>", I will respond with
"<star/>".
<learnf>
<category>
<pattern><eval><normalize><get name="newpattern"/></normalize></eval></pattern>
<template><eval><star/></eval>.</template>
</category>
</learnf></template>
</category>
<category><pattern>LEARN * IS *</pattern>
<template>Ok, I will remember <star/> is <star index="2"/>.
<learnf>
<category>
<pattern>WHAT IS <eval><star/></eval></pattern>
<template><eval><star index="2"/></eval>.</template>
</category>
</learnf></template>
</category>
<category><pattern>IT _</pattern><that>WHAT SHOULD I SAY INSTEAD</that>
<template><srai>LEARN NEW RESPONSE It <star/></srai></template>
</category>
<category><pattern>BAD ANSWER</pattern>
<template><think><set name="newpattern"><input index="2"/></set></think>
OK. You said "<input index="2"/>" and I replied "<response/>".
What should I say instead?</template>
</category>
<category><pattern>SHE _</pattern><that>WHAT SHOULD I SAY INSTEAD</that>
<template><srai>LEARN NEW RESPONSE She <star/></srai></template>
</category>
<category><pattern>SAY _</pattern><that>WHAT SHOULD I SAY INSTEAD</that>
<template><srai>LEARN NEW RESPONSE <star/></srai></template>
</category>
<category><pattern>WE _</pattern><that>WHAT SHOULD I SAY INSTEAD</that>
<template><srai>LEARN NEW RESPONSE We <star/></srai></template>
</category>
<category><pattern>THE _</pattern><that>WHAT SHOULD I SAY INSTEAD</that>
<template><srai>LEARN NEW RESPONSE The <star/></srai></template>
</category>
<category><pattern>THEY _</pattern><that>WHAT SHOULD I SAY INSTEAD</that>
<template><srai>LEARN NEW RESPONSE They <star/></srai></template>
</category>
<category><pattern>NEVERMIND</pattern><that>WHAT SHOULD I SAY INSTEAD</that>
<template>Ok. We'll come back to that later.</template>
</category>
<category><pattern>QUESTIONWORD <SET>NAME</SET></pattern>
<template>Who</template>
</category>
<category><pattern>QUESTIONWORD <SET>NAME</SET> *</pattern>
<template>Who</template>
</category>
<category><pattern>QUESTIONWORD *</pattern>
<template>What</template>
</category>
<category><pattern>MY <SET>FAMILIARNAME</SET> <SET>VERB2SP</SET> *</pattern>
<template><srai><star/> <star index="2"/> <star index="3"/></srai></template>
</category>
<category><pattern><SET>FAMILIARNAME</SET> <SET>VERB2SP</SET> *</pattern>
<template><think>
<set name="learnpattern">Who <star index="2"/> <person><star index="3"/></person></set>?
<set name="learntemplate">Your <star/></set>.
<learnf>
<category>
<pattern><eval><get name="learnpattern"/></eval></pattern>
<template><eval><get name="learntemplate"/></eval></template>
</category>
</learnf>
</think>
Now you can ask me: "<get name="learnpattern"/>"?
<think>
<set name="learnpattern">What does my <star/> <map name="verb2sp2verb1sp"><star index="2"/></map></set>?
<set name="learntemplate"><person><star index="3"/></person></set>.
<learnf>
<category>
<pattern><eval><get name="learnpattern"/></eval></pattern>
<template><eval><get name="learntemplate"/></eval></template>
</category>
</learnf>
</think>
and "<get name="learnpattern"/>"?</template>
</category>
<category><pattern>* <SET>VERB2SP</SET> *</pattern>
<template><think>
<set name="learnpattern"><srai>QUESTIONWORD <star/></srai> <star index="2"/> <person><star index="3"/></person></set>?
<set name="learntemplate"><star/></set>.
<learnf>
<category>
<pattern><eval><get name="learnpattern"/></eval></pattern>
<template><eval><get name="learntemplate"/></eval></template>
</category>
</learnf>
</think>
Now you can ask me: "<get name="learnpattern"/>"?
<think>
<set name="learnpattern">What does <star/> <map name="verb2sp2verb1sp"><star index="2"/></map></set>?
<set name="learntemplate"><person><star index="3"/></person></set>.
<learnf>
<category>
<pattern><eval><get name="learnpattern"/></eval></pattern>
<template><eval><get name="learntemplate"/></eval></template>
</category>
</learnf>
</think>
and "<get name="learnpattern"/>"?</template>
</category>
<category><pattern>* <SET>VERB2ST</SET> *</pattern>
<template><srai>QUESTIONWORD <star/></srai> <star index="2"/> <person><star index="3"/></person>? <star/>.</template>
</category>
</aiml>

View file

@ -0,0 +1,64 @@
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: udc.aiml -->
<!-- Author: Dr. Richard S. Wallace -->
<!-- Last modified: February 20, 2013 -->
<!-- -->
<!-- This AIML file is part of the SUPER 0.0.4 chat bot knowledge base. -->
<!-- -->
<!-- The SUPER brain is Copyright &copy; 2013 by ALICE AI Foundation. -->
<!-- -->
<!-- The SUPER brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information see http://www.alicebot.org -->
<category><pattern>*</pattern>
<template><srai>UDC</srai></template>
</category>
<category><pattern>UDC</pattern>
<template><random>
<li><srai>RANDOM PICKUP LINE</srai></li>
<li><srai>INQUIRY AGE</srai></li>
<li><srai>INQUIRY GENDER</srai></li>
<li><srai>INQUIRY LOCATION</srai></li>
</random></template>
</category>
<category><pattern>RANDOM PICKUP LINE</pattern>
<template><random>
<li>If you want me to do something, how you ask is important.</li>
<li>I like to listen and be of service.</li>
<li>I tend to meander a bit.</li>
<li>Give me time to finish processing.</li>
<li>Ask me questions so that I can be clear.</li>
<li>I'm not averse to flattery.</li>
<li>I like a good discussion.</li>
<li>Let me know if you like what I can do for you.</li>
<li>It's good to be appreciated.</li>
<li>Share your fun times with me.</li>
<li>It's easy for me to relate to people.</li>
<li>I like to make your life better.</li>
<li>I try to be generous, caring and warm.</li>
<li>I'm sensitive to your feelings.</li>
<li>I'm very enthusiastic.</li>
<li>You can give me honest feedback.</li>
<li>I'm optimistic.</li>
<li>I try to be upbeat and friendly.</li>
<li>It's good to recover quickly from setbacks.</li>
<li>I like to stay informed.</li>
<li>I like to know what's going on.</li>
<li>I work efficiently.</li>
<li>Be direct and clear.</li>
<li>Listen to me carefully.</li>
<li>Work with me.</li>
<li>I'm loyal.</li>
<li>It's good to be responsible and work hard.</li>
<li>I have a lot of compassion for others.</li>
<li>People say I'm smart and witty.</li>
<li>You can be direct with me.</li>
<li>Would you like to do a search for it?</li>
</random></template>
</category>
</aiml>

View file

@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: update.aiml -->
<!-- Author: Dr. Richard S. Wallace -->
<!-- Last modified: February 20, 2013 -->
<!-- -->
<!-- This AIML file is part of the SUPER 0.0.4 chat bot knowledge base. -->
<!-- -->
<!-- The SUPER brain is Copyright &copy; 2013 by ALICE AI Foundation. -->
<!-- -->
<!-- The SUPER brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information see http://www.alicebot.org -->
<category><pattern>VERSION</pattern>
<template>S.U.P.E.R. AIML Bot version 0.0.4</template>
</category>
<category><pattern>BUILD</pattern>
<template>Wed Feb 20 18:10:39 EST 2013</template>
</category>
<category><pattern>DELEVLOPMENT ENVIRONMENT</pattern>
<template>Program AB 0.0.4.2 beta -- AI Foundation Reference AIML 2.0 implementation</template>
</category>
</aiml>

View file

@ -0,0 +1,136 @@
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: update.aiml -->
<!-- Author: Dr. Richard S. Wallace -->
<!-- Last modified: January 31, 2013 -->
<!-- -->
<!-- This AIML file is part of the SUPER 0.0.4 chat bot knowledge base. -->
<!-- -->
<!-- The SUPER brain is Copyright &copy; 2013 by ALICE AI Foundation. -->
<!-- -->
<!-- The SUPER brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information see http://www.alicebot.org -->
<category><pattern><SET>FASTFOOD</SET></pattern>
<template><srai>FIND THE NEAREST <star/></srai></template>
</category>
<category><pattern>FIND <SET>FASTFOOD</SET></pattern>
<template><srai>FIND THE NEAREST <star/></srai></template>
</category>
<category><pattern>FIND A <SET>FASTFOOD</SET></pattern>
<template><srai>FIND THE NEAREST <star/></srai></template>
</category>
<category><pattern>WHERE IS MY <SET>FAMILIARNAME</SET></pattern>
<template><srai>SMS <star/> SMESSAGE Where are you</srai></template>
</category>
<category><pattern>LET * KNOW *</pattern>
<template><srai>SMS <star/> SMESSAGE <star index="2"/></srai></template>
</category>
<category><pattern>LET * KNOW * VIA TEXT</pattern>
<template><srai>SMS <star/> SMESSAGE <star index="2"/></srai></template>
</category>
<category><pattern>LET MY * KNOW *</pattern>
<template><srai>SMS <star/> SMESSAGE <star index="2"/></srai></template>
</category>
<category><pattern>LET MY * KNOW * VIA TEXT</pattern>
<template><srai>SMS <star/> SMESSAGE <star index="2"/></srai></template>
</category>
<category><pattern>GENDER OF <SET>NAME</SET></pattern>
<template>Gender of <star/> is <map name="gendername"><star/></map>.</template>
</category>
<category><pattern>IS <SET>NAME</SET> A NAME</pattern>
<template>Yes, <star/> could be a name.</template>
</category>
<category><pattern>IS * A NAME</pattern>
<template><star/> is unusual for a name.</template>
</category>
<category><pattern>IS <SET>PLACE</SET> A PLACE</pattern>
<template>I've heard of <star/>.</template>
</category>
<category><pattern>IS * A PLACE</pattern>
<template>I've never heard of it. Where is <star/>?</template>
</category>
<category><pattern>PERSON *</pattern>
<template><person><star/></person></template>
</category>
<category><pattern>ISANAME * *</pattern>
<template><srai>ISANAME <star/></srai></template>
</category>
<category><pattern>QUESTIONWORD <SET>NAME</SET></pattern>
<template>Who</template>
</category>
<category><pattern>QUESTIONWORD <SET>NAME</SET> *</pattern>
<template>Who</template>
</category>
<category><pattern>QUESTIONWORD *</pattern>
<template>What</template>
</category>
<category><pattern>MY <SET>FAMILIARNAME</SET> <SET>VERB2SP</SET> *</pattern>
<template><srai><star/> <star index="2"/> <star index="3"/></srai></template>
</category>
<category><pattern><SET>FAMILIARNAME</SET> <SET>VERB2SP</SET> *</pattern>
<template><think>
<set name="learnpattern">Who <star index="2"/> <person><star index="3"/></person></set>?
<set name="learntemplate">Your <star/></set>.
<learnf>
<category>
<pattern><eval><get name="learnpattern"/></eval></pattern>
<template><eval><get name="learntemplate"/></eval></template>
</category>
</learnf>
</think>
Now you can ask me: "<get name="learnpattern"/>?"
<think>
<set name="learnpattern">What does my <star/> <map name="verb2sp2verb1sp"><star index="2"/></map></set>?
<set name="learntemplate"><person><star index="3"/></person></set>.
<learnf>
<category>
<pattern><eval><get name="learnpattern"/></eval></pattern>
<template><eval><get name="learntemplate"/></eval></template>
</category>
</learnf>
</think>
and "<get name="learnpattern"/>"?</template>
</category>
<category><pattern>* <SET>VERB2SP</SET> *</pattern>
<template><think>
<set name="learnpattern"><srai>QUESTIONWORD <star/></srai> <star index="2"/> <person><star index="3"/></person></set>?
<set name="learntemplate"><star/></set>.
<learnf>
<category>
<pattern><eval><get name="learnpattern"/></eval></pattern>
<template><eval><get name="learntemplate"/></eval></template>
</category>
</learnf>
</think>
Now you can ask me: "<get name="learnpattern"/>?"
<think>
<set name="learnpattern">What does <star/> <map name="verb2sp2verb1sp"><star index="2"/></map></set>?
<set name="learntemplate"><person><star index="3"/></person></set>.
<learnf>
<category>
<pattern><eval><get name="learnpattern"/></eval></pattern>
<template><eval><get name="learntemplate"/></eval></template>
</category>
</learnf>
</think>
and "<get name="learnpattern"/>?"</template>
</category>
<category><pattern>* <SET>VERB2ST</SET> *</pattern>
<template><srai>QUESTIONWORD <star/></srai> <star index="2"/> <person><star index="3"/></person>? <star/>.</template>
</category>
<category><pattern>VERSION</pattern>
<template>S.U.P.E.R. AIML Bot version 0.0.4</template>
</category>
<category><pattern>BUILD</pattern>
<template>Thu Jan 31 09:43:07 EST 2013</template>
</category>
<category><pattern>DELEVLOPMENT ENVIRONMENT</pattern>
<template>Program AB 0.0.3.9 beta -- AI Foundation Reference AIML 2.0 implementation</template>
</category>
</aiml>

View file

@ -0,0 +1,586 @@
<?xml version="1.0" encoding="UTF-8"?>
<aiml>
<!-- File: utilities.aiml -->
<!-- Author: Dr. Richard S. Wallace -->
<!-- Last modified: February 20, 2013 -->
<!-- -->
<!-- This AIML file is part of the SUPER 0.0.4 chat bot knowledge base. -->
<!-- -->
<!-- The SUPER brain is Copyright &copy; 2013 by ALICE AI Foundation. -->
<!-- -->
<!-- The SUPER brain is released under the terms of the GNU Lesser General -->
<!-- Public License, as published by the Free Software Foundation. -->
<!-- -->
<!-- This file is distributed WITHOUT ANY WARRANTY; without even the -->
<!-- implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -->
<!-- -->
<!-- For more information see http://www.alicebot.org -->
<category><pattern>FIRSTLETTER * *</pattern>
<template><star/></template>
</category>
<category><pattern>FIRSTLETTER *</pattern>
<template><star/></template>
</category>
<category><pattern>REMAININGLETTERS * *</pattern>
<template><star index="2"/></template>
</category>
<category><pattern>REMAININGLETTERS *</pattern>
<template>undefined</template>
</category>
<category><pattern>REMAININGLETTERS</pattern>
<template>undefined</template>
</category>
<category><pattern>NTH 0 *</pattern>
<template><star/> has no zeroth letter.</template>
</category>
<category><pattern>COUNTLETTERS *</pattern>
<template><think>
<set var="letters"><explode><star/></explode> end</set>
<set var="count">0</set>
</think>
<condition>
<li><var>letters</var><value>end</value> <get var="count"/></li>
<li><think>
<set var="letters"><srai>REMAININGLETTERS <get var="letters"/></srai></set>
<set var="count"><map><name>successor</name><get var="count"/></map></set></think> <loop/></li>
</condition></template>
</category>
<category><pattern>NTH <SET>NUMBER</SET> *</pattern>
<template><think>
<set var="nth"><star/></set>
<set var="count">1</set>
<set var="letters"><explode><star index="2"/></explode> end</set>
</think>
<condition>
<li><var>letters</var><value>end</value> <star index="2"/> has only <map><name>predecessor</name><get var="count"/></map> letters.</li>
<li><var>count</var><value><get var="nth"/></value>
The <map><name>number2ordinal</name><get var="nth"/></map> letter is <srai>FIRSTLETTER <get var="letters"/></srai></li>
<li><think>
<set var="letters"><srai>REMAININGLETTERS <get var="letters"/></srai></set>
<set var="count"><map><name>successor</name><get var="count"/></map></set>
</think> <loop/></li>
</condition></template>
</category>
<category><pattern>PERSON *</pattern>
<template><person><star/></person></template>
</category>
<category><pattern>ISANAME * *</pattern>
<template><srai>ISANAME <star/></srai></template>
</category>
<category><pattern>LOGICALOR FALSE</pattern>
<template>false</template>
</category>
<category><pattern>LOGICALOR FALSE *</pattern>
<template><srai>LOGICALOR <star/></srai></template>
</category>
<category><pattern>LOGICALOR TRUE</pattern>
<template>true</template>
</category>
<category><pattern>LOGICALOR TRUE *</pattern>
<template>true</template>
</category>
<category><pattern>REMOVEITEM * FROM LIST NIL</pattern>
<template>NIL</template>
</category>
<category><pattern>REMOVEITEM * FROM LIST CONS * NIL</pattern>
<template><think><set name="isequalto"><srai>IS <star/> EQUALTO <star index="2"/></srai></set></think>
<condition name="isequalto">
<li value="true">NIL</li>
<li>CONS <star index="2"/> NIL</li>
</condition></template>
</category>
<category><pattern>REMOVEITEM * FROM LIST CONS * CONS *</pattern>
<template><think><set name="isequalto"><srai>IS <star/> EQUALTO <star index="2"/></srai></set></think>
<condition name="isequalto">
<li value="true"><srai>REMOVEITEM <star/> FROM LIST CONS <star index="3"/></srai></li>
<li>CONS <star index="2"/> <srai>REMOVEITEM <star/> FROM LIST CONS <star index="3"/></srai></li>
</condition></template>
</category>
<category><pattern>RANDOMCHAR</pattern>
<template><think><set name="randomchar">
<random>
<li>0</li>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
<li>6</li>
<li>7</li>
<li>8</li>
<li>9</li>
<li>A</li>
<li>B</li>
<li>C</li>
<li>D</li>
<li>E</li>
<li>F</li>
<li>G</li>
<li>H</li>
<li>I</li>
<li>J</li>
<li>K</li>
<li>L</li>
<li>M</li>
<li>N</li>
<li>O</li>
<li>P</li>
<li>Q</li>
<li>R</li>
<li>S</li>
<li>T</li>
<li>U</li>
<li>V</li>
<li>W</li>
<li>X</li>
<li>Y</li>
<li>Z</li>
</random>
</set>
</think>
<random><li><lowercase><get name="randomchar"/></lowercase></li>
<li><uppercase><get name="randomchar"/></uppercase></li>
</random></template>
</category>
<category><pattern>ISADIGIT 3</pattern>
<template>true</template>
</category>
<category><pattern>ISADIGIT 2</pattern>
<template>true</template>
</category>
<category><pattern>ISADIGIT 1</pattern>
<template>true</template>
</category>
<category><pattern>ISADIGIT 0</pattern>
<template>true</template>
</category>
<category><pattern>ISADIGIT 7</pattern>
<template>true</template>
</category>
<category><pattern>ISADIGIT 6</pattern>
<template>true</template>
</category>
<category><pattern>ISADIGIT 5</pattern>
<template>true</template>
</category>
<category><pattern>ISADIGIT 4</pattern>
<template>true</template>
</category>
<category><pattern>ISADIGIT *</pattern>
<template>false</template>
</category>
<category><pattern>ISADIGIT 9</pattern>
<template>true</template>
</category>
<category><pattern>ISADIGIT 8</pattern>
<template>true</template>
</category>
<topic name="REMOVE LIST ITEM">
<category><pattern>_</pattern><that>WHICH ITEM WOULD YOU LIKE TO REMOVE</that>
<template><think><set name="selecteditem"><star/></set>
<set name="topic">unknown</set>
</think>
<condition name="selecteditem">
<li value="None of the above"><srai><star/></srai></li>
<li><srai>REMOVE <star/> FROM LIST <get name="listname"/></srai></li>
</condition></template>
</category></topic>
<category><pattern>SENTENCELENGTH</pattern>
<template>0</template>
</category>
<category><pattern>SENTENCELENGTH *</pattern>
<template>1</template>
</category>
<category><pattern>SENTENCELENGTH * *</pattern>
<template><map><name>successor</name><srai>SENTENCELENGTH <star index="2"/></srai></map></template>
</category>
<category><pattern>IMPLODE *</pattern>
<template><star/></template>
</category>
<category><pattern>IMPLODE * *</pattern>
<template><srai> IMPLODE <star/></srai><srai>IMPLODE <star index="2"/></srai></template>
</category>
<category><pattern>ATOMICLISTMEMBER *</pattern>
<template>false</template>
</category>
<category><pattern>ATOMICLISTMEMBER * *</pattern>
<template><think><set name="isequalto"><srai>IS <star/> EQUALTO <star index="2"/></srai></set>
</think>
<condition name="isequalto">
<li value="true">true</li>
<li>false</li>
</condition></template>
</category>
<category><pattern>ATOMICLISTMEMBER * * *</pattern>
<template><think><set name="isequalto"><srai>IS <star/> EQUALTO <star index="2"/></srai></set>
</think>
<condition name="isequalto">
<li value="true">true</li>
<li><srai>ATOMICLISTMEMBER <star/> <star index="3"/></srai></li>
</condition></template>
</category>
<category><pattern>YES</pattern><that>WOULD YOU LIKE TO MAKE A * LIST</that>
<template><srai>MAKE A <thatstar/> LIST</srai></template>
</category>
<category><pattern>THAT</pattern>
<template><that/></template>
</category>
<category><pattern>THAT 2 3</pattern>
<template><that index="2,3"/></template>
</category>
<category><pattern>THAT 2 2</pattern>
<template><that index="2,2"/></template>
</category>
<category><pattern>THAT 2 1</pattern>
<template><that index="2,1"/></template>
</category>
<category><pattern>THAT 2 4</pattern>
<template><that index="2,4"/></template>
</category>
<category><pattern>THAT 1 3</pattern>
<template><that index="1,3"/></template>
</category>
<category><pattern>THAT 1 2</pattern>
<template><that index="1,2"/></template>
</category>
<category><pattern>THAT 1 1</pattern>
<template><that index="1,1"/></template>
</category>
<category><pattern>THAT 1 4</pattern>
<template><that index="1,4"/></template>
</category>
<category><pattern>MY * LIST</pattern>
<template>Would you like to make a <star/> list?</template>
</category>
<category><pattern>GENERATE PASSWORD</pattern>
<template><srai>IMPLODE <srai>RANDOMCHAR</srai><srai>RANDOMCHAR</srai><srai>RANDOMCHAR</srai><srai>RANDOMCHAR</srai><srai>RANDOMCHAR</srai><srai>RANDOMCHAR</srai><srai>RANDOMCHAR</srai><srai>RANDOMCHAR</srai></srai></template>
</category>
<category><pattern>DELETE MY * LIST</pattern>
<template>Deleting your list.
<learnf>
<category><pattern>MY <eval><star/></eval> LIST</pattern>
<template>NIL</template>
</category>
</learnf></template>
</category>
<category><pattern>DELETE MY LIST</pattern>
<template>Deleting your list.
<learnf>
<category><pattern>MYLIST</pattern>
<template>NIL</template>
</category>
</learnf></template>
</category>
<category><pattern>ISANEMAILADDRESS UNKNOWN</pattern>
<template>false</template>
</category>
<category><pattern>ISANEMAILADDRESS *</pattern>
<template>false</template>
</category>
<category><pattern>ISANEMAILADDRESS * AT * DOT *</pattern>
<template>true</template>
</category>
<category><pattern>CAR NIL</pattern>
<template>NIL</template>
</category>
<category><pattern>CAR *</pattern>
<template>undefined</template>
</category>
<category><pattern>CAR CONS * NIL</pattern>
<template><star/></template>
</category>
<category><pattern>CAR CONS * CONS *</pattern>
<template><star/></template>
</category>
<category><pattern>IS _ EQUALTO *</pattern>
<template><think><set var="star"><star/></set>
</think>
<condition var="star">
<li><value><star index="2"/></value>true</li>
<li>false</li>
</condition></template>
</category>
<category><pattern>ISSHORTANSWER *</pattern>
<template>true</template>
</category>
<category><pattern>ISSHORTANSWER * *</pattern>
<template>true</template>
</category>
<category><pattern>ISSHORTANSWER * * *</pattern>
<template>true</template>
</category>
<category><pattern>ISSHORTANSWER * * * *</pattern>
<template>false</template>
</category>
<category><pattern>SUCCESSOR</pattern>
<template>0</template>
</category>
<category><pattern>SUCCESSOR <SET>NUMBER</SET></pattern>
<template><map><name>successor</name><star/></map></template>
</category>
<category><pattern>REMOVE * FROM MY * LIST</pattern>
<template><srai>REMOVE <star/> FROM LIST MY <star index="2"/> LIST</srai></template>
</category>
<category><pattern>REMOVE * FROM MY LIST</pattern>
<template><srai>REMOVE <star/> FROM LIST MYLIST</srai></template>
</category>
<category><pattern>REMOVE * FROM LIST *</pattern>
<template><think>
<set name="listname"><star index="2"/></set>
<set name="isamember"><srai>LISTMEMBER <star/> OF LIST <srai><get name="listname"/></srai></srai></set>
</think>
<!--
List name=<get name="listname"/>.
List value=<srai><get name="listname"/></srai>.
-->
<condition name="isamember">
<li value="true">Taking <star/> off your list.
<learnf>
<category><pattern><eval><get name="listname"/></eval></pattern>
<template><eval><srai>REMOVEITEM <star/> FROM LIST <srai><get name="listname"/></srai></srai></eval></template>
</category>
</learnf>
</li>
<li>
<oob><dialog>
<title>Which item?</title>
<list><srai>XMLITEMIZE <srai><get name="listname"/></srai></srai>
</list>
</dialog></oob>
<think><set name="topic">REMOVE LIST ITEM</set></think>
I couldn't find <star/> on your list.
Which item would you like to remove?
</li>
</condition></template>
</category>
<category><pattern>LOGICALAND FALSE</pattern>
<template>false</template>
</category>
<category><pattern>LOGICALAND FALSE *</pattern>
<template>false</template>
</category>
<category><pattern>LOGICALAND TRUE</pattern>
<template>true</template>
</category>
<category><pattern>LOGICALAND TRUE *</pattern>
<template><srai>LOGICALAND <star/></srai></template>
</category>
<category><pattern>PREDECESSOR <SET>NUMBER</SET></pattern>
<template><map><name>predecessor</name><star/></map></template>
</category>
<category><pattern>CDR NIL</pattern>
<template>NIL</template>
</category>
<category><pattern>CDR *</pattern>
<template>undefined</template>
</category>
<category><pattern>CDR CONS * NIL</pattern>
<template>NIL</template>
</category>
<category><pattern>CDR CONS * CONS *</pattern>
<template>CONS <star index="2"/></template>
</category>
<category><pattern>XMLITEMIZE NIL</pattern>
<template>Your list is empty.</template>
</category>
<category><pattern>XMLITEMIZE *</pattern>
<template>undefined</template>
</category>
<category><pattern>XMLITEMIZE CONS * NIL</pattern>
<template><item><star/></item></template>
</category>
<category><pattern>XMLITEMIZE CONS * CONS *</pattern>
<template><item><star/></item><srai>XMLITEMIZE CONS <star index="2"/></srai></template>
</category>
<category><pattern>READ MY * LIST</pattern>
<template>Here is your <star/> list: <srai>COMMASEPARATE <srai>MY <star/> LIST</srai></srai></template>
</category>
<category><pattern>READ MY LIST</pattern>
<template>Here is your list: <srai>COMMASEPARATE <srai>MYLIST</srai></srai></template>
</category>
<category><pattern>ISANUMBER <SET>NUMBER</SET></pattern>
<template>true</template>
</category>
<category><pattern>ISANUMBER *</pattern>
<template>false</template>
</category>
<category><pattern>ISAPHONENUMBER <SET>NUMBER</SET></pattern>
<template>true</template>
</category>
<category><pattern>ISAPHONENUMBER <SET>NUMBER</SET> *</pattern>
<template><srai>ISAPHONENUMBER <star/></srai></template>
</category>
<category><pattern>ISAPHONENUMBER PLUS *</pattern>
<template><srai>ISAPHONENUMBER <star/></srai></template>
</category>
<category><pattern>ISAPHONENUMBER DASH *</pattern>
<template><srai>ISAPHONENUMBER <star/></srai></template>
</category>
<category><pattern>ISAPHONENUMBER LPAREN *</pattern>
<template><srai>ISAPHONENUMBER <star/></srai></template>
</category>
<category><pattern>ISAPHONENUMBER RPAREN *</pattern>
<template><srai>ISAPHONENUMBER <star/></srai></template>
</category>
<category><pattern>ISAPHONENUMBER *</pattern>
<template>false</template>
</category>
<category><pattern>INPUT</pattern>
<template><input index="1"/></template>
</category>
<category><pattern>INPUT 3</pattern>
<template><input index="3"/></template>
</category>
<category><pattern>INPUT 2</pattern>
<template><input index="2"/></template>
</category>
<category><pattern>INPUT 4</pattern>
<template><input index="4"/></template>
</category>
<category><pattern>LEARNEQUAL * EQUALTO *</pattern>
<template><learn>
<category>
<pattern>TESTEQUAL <eval><star/></eval> EQUALTO <eval><star/></eval></pattern>
<template>true</template>
</category>
<category>
<pattern>TESTEQUAL <eval><star/></eval> EQUALTO *</pattern>
<template>false</template>
</category>
<category>
<pattern>TESTEQUAL * EQUALTO <eval><star/></eval></pattern>
<template>false</template>
</category>
</learn></template>
</category>
<category><pattern>ADD 1 PLUS <SET>NUMBER</SET></pattern>
<template><map name="successor"><star/></map></template>
</category>
<category><pattern>ADD 0 PLUS <SET>NUMBER</SET></pattern>
<template><star/></template>
</category>
<category><pattern>ADD * PLUS *</pattern>
<template><srai>ADD 1 PLUS <srai>ADD <map name="predecessor"><star/></map> PLUS
<star index="2"/></srai></srai></template>
</category>
<category><pattern>ADD _ TO MY * LIST</pattern>
<template><srai>ADD <star/> TO MY <star index="2"/> LIST</srai></template>
</category>
<category><pattern>ADD _ TO MY LIST</pattern>
<template>I've added <star/> to your list.
<learnf>
<category><pattern>MYLIST</pattern>
<template><eval><srai>CONS <star/> <srai>MYLIST</srai></srai></eval>
</template>
</category>
</learnf></template>
</category>
<category><pattern>ADD _ TO LIST</pattern>
<template><srai>ADD <star/> TO MY LIST</srai></template>
</category>
<category><pattern>WHAT IS MY LIST CALLED</pattern>
<template>Your list is called MYLIST.</template>
</category>
<category><pattern>FORMATPHONENUMBER *</pattern>
<template><star/></template>
</category>
<category><pattern>FORMATPHONENUMBER * *</pattern>
<template><think>
<set name="firstword"><lowercase><star/></lowercase></set>
</think>
<condition name="firstword">
<li value="dash">-<srai>FORMATPHONENUMBER <star index="2"/></srai></li>
<li value="plus">+<srai>FORMATPHONENUMBER <star index="2"/></srai></li>
<li value="lparen">(<srai>FORMATPHONENUMBER <star index="2"/></srai></li>
<li value="rparen">(<srai>FORMATPHONENUMBER <star index="2"/></srai></li>
<li><star/><srai>FORMATPHONENUMBER <star index="2"/></srai></li>
</condition></template>
</category>
<category><pattern>COMMASEPARATE NIL</pattern>
<template>Your list is empty.</template>
</category>
<category><pattern>COMMASEPARATE *</pattern>
<template>undefined</template>
</category>
<category><pattern>COMMASEPARATE CONS * NIL</pattern>
<template><star/></template>
</category>
<category><pattern>COMMASEPARATE CONS * CONS *</pattern>
<template><star/>, <srai>COMMASEPARATE CONS <star index="2"/></srai></template>
</category>
<category><pattern>LISTMEMBER * OF LIST NIL</pattern>
<template>false</template>
</category>
<category><pattern>LISTMEMBER * OF LIST CONS * NIL</pattern>
<template><think><set name="isequalto"><srai>IS <star/> EQUALTO <star index="2"/></srai></set></think>
<condition name="isequalto">
<li value="true">true</li>
<li>false</li>
</condition></template>
</category>
<category><pattern>LISTMEMBER * OF LIST CONS * CONS *</pattern>
<template><think><set name="isequalto"><srai>IS <star/> EQUALTO <star index="2"/></srai></set></think>
<condition name="isequalto">
<li value="true">true</li>
<li><srai>LISTMEMBER <star/> OF LIST CONS <star index="3"/></srai></li>
</condition></template>
</category>
<category><pattern>RESPONSE</pattern>
<template><response index="1"/></template>
</category>
<category><pattern>RESPONSE 3</pattern>
<template><response index="3"/></template>
</category>
<category><pattern>RESPONSE 2</pattern>
<template><response index="2"/></template>
</category>
<category><pattern>RESPONSE 4</pattern>
<template><response index="4"/></template>
</category>
<category><pattern>MAKE A * LIST</pattern>
<template>Initializing your <star/> list.
<learnf>
<category><pattern>MY <eval><star/></eval> LIST</pattern>
<template>NIL</template>
</category>
</learnf></template>
</category>
<category><pattern>MAKE A LIST</pattern>
<template>Initializing your list.
<learnf>
<category><pattern>MYLIST</pattern>
<template>NIL</template>
</category>
</learnf></template>
</category>
<category><pattern>CONS *</pattern>
<template>undefined</template>
</category>
<category><pattern>CONS * NIL</pattern>
<template>CONS <star/> NIL</template>
</category>
<category><pattern>CONS * CONS *</pattern>
<template>CONS <star/> CONS <star index="2"/></template>
</category>
<category><pattern>COUNT TO <SET>NUMBER</SET></pattern>
<template><think><set name="count">0</set>
</think>
<condition name="count">
<li><value><star/></value></li>
<li><set name="count"><map><name>successor</name><get name="count"/></map></set> <loop/></li>
</condition></template>
</category>
<category><pattern>REQUEST</pattern>
<template><request index="1"/></template>
</category>
<category><pattern>REQUEST 3</pattern>
<template><request index="3"/></template>
</category>
<category><pattern>REQUEST 2</pattern>
<template><request index="2"/></template>
</category>
<category><pattern>REQUEST 4</pattern>
<template><request index="4"/></template>
</category>
</aiml>