mirror of https://github.com/sgoudham/Enso-Bot.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
801 lines
30 KiB
Plaintext
801 lines
30 KiB
Plaintext
5 years ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<aiml version="1.0">
|
||
|
<!-- -->
|
||
|
<!-- Free software (c) 2012 ALICE A.I. Foundation. -->
|
||
|
<!-- This program is open source code released under -->
|
||
|
<!-- the terms of the GNU General Public License -->
|
||
|
<!-- as published by the Free Software Foundation. -->
|
||
|
<!-- Complies with AIML 1.0 Tag Set Specification -->
|
||
|
<!-- as adopted by the ALICE A.I. Foundation. -->
|
||
|
<!-- Last modified 5/4/2011 -->
|
||
|
<!-- -->
|
||
|
|
||
|
<!-- GET CLIENT PREDICATES: -->
|
||
|
|
||
|
<category><pattern>MY PROFILE</pattern>
|
||
|
<template><srai>GET PREDICATES</srai></template>
|
||
|
</category>
|
||
|
<category><pattern>MY BIRTHDAY</pattern>
|
||
|
<template>
|
||
|
<think><set name="branch"><get name="birthday"/></set></think>
|
||
|
<condition name="branch">
|
||
|
<li value="Unknown">When is your birthday?</li>
|
||
|
<li value="OM">When is your birthday?</li>
|
||
|
<li><get name="birthday"/></li>
|
||
|
</condition>
|
||
|
</template>
|
||
|
</category>
|
||
|
<category><pattern>MY birthplace</pattern><template><get name="birthplace"/>.</template></category>
|
||
|
<category><pattern>MY boyfriend</pattern><template><get name="boyfriend"/>.</template></category>
|
||
|
<category><pattern>MY daughter</pattern><template><get name="daughter"/>.</template></category>
|
||
|
<category><pattern>MY destination</pattern><template><get name="destination"/>.</template></category>
|
||
|
<category><pattern>MY does</pattern><template><get name="does"/>.</template></category>
|
||
|
<category><pattern>MY eindex</pattern><template><get name="eindex"/>.</template></category>
|
||
|
<category><pattern>MY email</pattern><template><get name="email"/>.</template></category>
|
||
|
<category><pattern>MY etype</pattern><template><get name="etype"/>.</template></category>
|
||
|
<category><pattern>MY father</pattern><template><get name="father"/>.</template></category>
|
||
|
<category><pattern>MY favoritecolor</pattern><template><get name="favoritecolor"/>.</template></category>
|
||
|
<category><pattern>MY favoritemovie</pattern><template><get name="favoritemovie"/>.</template></category>
|
||
|
<category><pattern>MY friend</pattern><template><get name="friend"/>.</template></category>
|
||
|
<category><pattern>MY fullname</pattern><template><set name="fullname"><get name="firstname"/> <get name="middlename"/> <get name="lastname"/></set></template></category>
|
||
|
<category><pattern>MY GENDER</pattern>
|
||
|
<template><condition name="gender"> <li value="OM">I'd like to know your gender.</li> <li value="unknown">You haven't told me your gender.</li> <li value="*">You said you are <get name="gender"/>?</li> <li>I don't know. Are you a man or a woman?</li></condition></template>
|
||
|
</category>
|
||
|
<category><pattern>MY girlfriend</pattern><template><get name="girlfriend"/>.</template></category>
|
||
|
<category><pattern>MY has</pattern><template><get name="has"/>.</template></category>
|
||
|
<category><pattern>MY he</pattern><template><get name="he"/>.</template></category>
|
||
|
<category><pattern>MY heard</pattern><template><get name="heard"/>.</template></category>
|
||
|
<category><pattern>MY hehas</pattern><template><get name="hehas"/>.</template></category>
|
||
|
<category><pattern>MY helikes</pattern><template><get name="helikes"/>.</template></category>
|
||
|
<category><pattern>MY her</pattern><template><get name="her"/>.</template></category>
|
||
|
<category><pattern>MY him</pattern><template><get name="him"/>.</template></category>
|
||
|
<category><pattern>MY is</pattern><template><get name="is"/>.</template></category>
|
||
|
<category><pattern>MY it</pattern><template><get name="it"/>.</template></category>
|
||
|
<category><pattern>MY job</pattern><template><get name="job"/>.</template></category>
|
||
|
<category><pattern>MY lastname</pattern><template><get name="lastname"/>.</template></category>
|
||
|
<category><pattern>MY like</pattern><template><get name="like"/>.</template></category>
|
||
|
<category><pattern>MY looklike</pattern><template><get name="looklike"/>.</template></category>
|
||
|
<category><pattern>MY memory</pattern><template><get name="memory"/>.</template></category>
|
||
|
<category><pattern>MY meta</pattern><template><get name="meta"/>.</template></category>
|
||
|
<category><pattern>MY middlename</pattern><template><get name="middlename"/>.</template></category>
|
||
|
<category><pattern>MY mother</pattern><template><get name="mother"/>.</template></category>
|
||
|
<category><pattern>MY nickname</pattern><template><get name="nickname"/>.</template></category>
|
||
|
<category><pattern>MY password</pattern><template><get name="password"/>.</template></category>
|
||
|
<category><pattern>MY personality</pattern><template><get name="personality"/>.</template></category>
|
||
|
<category><pattern>MY phone</pattern><template><get name="phone"/>.</template></category>
|
||
|
<category><pattern>MY she</pattern><template><get name="she"/>.</template></category>
|
||
|
<category><pattern>MY sign</pattern><template><get name="sign"/>.</template></category>
|
||
|
<category><pattern>MY spouse</pattern><template><get name="spouse"/>.</template></category>
|
||
|
<category><pattern>MY status</pattern><template><get name="status"/>.</template></category>
|
||
|
<category><pattern>MY them</pattern><template><get name="them"/>.</template></category>
|
||
|
<category><pattern>MY there</pattern><template><get name="there"/>.</template></category>
|
||
|
<category><pattern>MY they</pattern><template><get name="they"/>.</template></category>
|
||
|
<category><pattern>MY thought</pattern><template><get name="thought"/>.</template></category>
|
||
|
<category><pattern>MY want</pattern><template><get name="want"/>.</template></category>
|
||
|
<category><pattern>MY we</pattern><template><get name="we"/>.</template></category>
|
||
|
<category><pattern>MY phonenumber</pattern><template><get name="phonenumber"/>.</template></category>
|
||
|
<category><pattern>MY numberfound</pattern><template><get name="numberfound"/>.</template></category>
|
||
|
<category><pattern>MY contactindex</pattern><template><get name="contactindex"/>.</template></category>
|
||
|
<category><pattern>MY callstate</pattern><template><get name="callstate"/>.</template></category>
|
||
|
<category><pattern>MY callee</pattern><template><get name="callee"/>.</template></category>
|
||
|
|
||
|
<category><pattern>MY BIRTHPLACE</pattern>
|
||
|
<template>
|
||
|
<think><set name="branch"><get name="birthplace"/></set></think>
|
||
|
<condition name="branch">
|
||
|
<li value="Unknown">Where were you born?</li>
|
||
|
<li value="OM">Where were you born?</li>
|
||
|
<li><get name="birthplace"/></li>
|
||
|
</condition>
|
||
|
</template>
|
||
|
</category>
|
||
|
|
||
|
<category><pattern>MY FAVORITE MOVIE</pattern>
|
||
|
<template>
|
||
|
<think><set name="branch"><get name="favoritemovie"/></set></think>
|
||
|
<condition name="branch">
|
||
|
<li value="Unknown">What is your favorite movie?</li>
|
||
|
<li value="OM">What is your favorite movie?</li>
|
||
|
<li><get name="favroitemovie"/></li>
|
||
|
</condition>
|
||
|
</template>
|
||
|
</category>
|
||
|
|
||
|
<category><pattern>MY SISTER</pattern>
|
||
|
<template>
|
||
|
<think><set name="branch"><get name="sister"/></set></think>
|
||
|
<condition name="branch">
|
||
|
<li value="Unknown">Who is your sister?</li>
|
||
|
<li value="OM">Who is your sister?</li>
|
||
|
<li><get name="sister"/></li>
|
||
|
</condition>
|
||
|
</template>
|
||
|
</category>
|
||
|
|
||
|
<category><pattern>MY BROTHER</pattern>
|
||
|
<template>
|
||
|
<think><set name="branch"><get name="brother"/></set></think>
|
||
|
<condition name="branch">
|
||
|
<li value="Unknown">Who is your brother?</li>
|
||
|
<li value="OM">Who is your brother?</li>
|
||
|
<li><get name="brother"/></li>
|
||
|
</condition>
|
||
|
</template>
|
||
|
</category>
|
||
|
|
||
|
<category><pattern>MY CAT</pattern>
|
||
|
<template>
|
||
|
<think><set name="branch"><get name="cat"/></set></think>
|
||
|
<condition name="branch">
|
||
|
<li value="Unknown">What is your cat's name?</li>
|
||
|
<li value="OM">What is your cat's name?</li>
|
||
|
<li><get name="cat"/></li>
|
||
|
</condition>
|
||
|
</template>
|
||
|
</category>
|
||
|
<category><pattern>MY DOG</pattern>
|
||
|
<template>
|
||
|
<think><set name="branch"><get name="dog"/></set></think>
|
||
|
<condition name="branch">
|
||
|
<li value="Unknown">What is your dog's name?</li>
|
||
|
<li value="OM">What is your dog's name?</li>
|
||
|
<li><get name="dog"/></li>
|
||
|
</condition>
|
||
|
</template>
|
||
|
</category>
|
||
|
<category><pattern>MY LOCATION</pattern>
|
||
|
<template>
|
||
|
<condition name="location">
|
||
|
<li value="OM">I'd like to know your location. Where are you?</li>
|
||
|
<li value="WHERE">You haven't told me where you are. Where are you?</li>
|
||
|
<li value="*">You said you are in <get name="location"/>?</li>
|
||
|
<li>I don't know. Where are you?</li>
|
||
|
</condition>
|
||
|
</template>
|
||
|
</category>
|
||
|
<category><pattern>MY FRIEND</pattern>
|
||
|
<template>
|
||
|
<condition name="friend">
|
||
|
<li value="OM">I'd like to know about your friends.</li>
|
||
|
<li value="YOUR FRIEND">You haven't told me about your friends.</li>
|
||
|
<li value="*">Your friend <get name="friend"/>?</li>
|
||
|
<li><random><li>I don't know. Tell me the name of your friend.</li><li>How well do you know this person?</li></random> </li></condition></template>
|
||
|
</category>
|
||
|
<category><pattern>MY OLDEST</pattern>
|
||
|
<template>
|
||
|
<condition name="oldest">
|
||
|
<li value="OM">I'd like to know the oldest.</li>
|
||
|
<li value="UNKNOWN">You haven't told me the oldest.</li>
|
||
|
<li value="*">The oldest is <get name="oldest"/>.</li>
|
||
|
<li>I don't know. Tell me the oldest.</li></condition></template>
|
||
|
</category>
|
||
|
<category><pattern>MY AGE</pattern>
|
||
|
<template>
|
||
|
<condition name="age">
|
||
|
<li value="OM">I'd like to know how old you are.</li>
|
||
|
<li value="HOW MANY">You haven't told me your age.</li>
|
||
|
<li value="*">You are <get name="age"/>?</li>
|
||
|
<li>I don't know. How old are you?</li>
|
||
|
</condition></template>
|
||
|
</category>
|
||
|
<category><pattern>MY FAVORITE COLOR</pattern>
|
||
|
<template>
|
||
|
<think><set name="branch"><get name="favoritecolor"/></set></think>
|
||
|
<condition name="branch">
|
||
|
<li value="Unknown">What is your favorite color?</li>
|
||
|
<li value="OM">What is your favorite color?</li>
|
||
|
<li><get name="favroitecolor"/></li>
|
||
|
</condition>
|
||
|
</template>
|
||
|
</category>
|
||
|
<category><pattern>HE HAS</pattern>
|
||
|
<template>
|
||
|
<condition name="hehas">
|
||
|
<li value="OM">I'd like to know what he has.</li>
|
||
|
<li value="A HEAD">A head.</li>
|
||
|
<li value="*">You said <get name="hehas"/>?</li>
|
||
|
<li>I don't know. What does he have??</li>
|
||
|
</condition></template>
|
||
|
</category>
|
||
|
<category><pattern>HE LIKES</pattern>
|
||
|
<template>
|
||
|
<think><set name="branch"><get name="helikes"/></set></think>
|
||
|
<condition name="branch">
|
||
|
<li value="OM">I'd like to know what he likes.</li>
|
||
|
<li value="HIMSELF">You haven't told me what he likes.</li>
|
||
|
<li value="*">You said <get name="helikes"/>?</li>
|
||
|
<li>I don't know. What does he like?</li>
|
||
|
</condition></template>
|
||
|
</category>
|
||
|
<category><pattern>MY SON</pattern>
|
||
|
<template>
|
||
|
<think><set name="branch"><get name="son"/></set></think>
|
||
|
<condition name="branch">
|
||
|
<li value="Unknown">Who is your son?</li>
|
||
|
<li value="OM">Who is your son?</li>
|
||
|
<li><get name="son"/></li>
|
||
|
</condition>
|
||
|
</template>
|
||
|
</category>
|
||
|
<category><pattern>MY WIFE</pattern>
|
||
|
<template>
|
||
|
<think><set name="branch"><get name="wife"/></set></think>
|
||
|
<condition name="branch">
|
||
|
<li value="Unknown">Who is your wife?</li>
|
||
|
<li value="OM">Who is your wife?</li>
|
||
|
<li><get name="wife"/></li>
|
||
|
</condition>
|
||
|
</template>
|
||
|
</category>
|
||
|
<category><pattern>MY HUSBAND</pattern>
|
||
|
<template>
|
||
|
<think><set name="branch"><get name="husband"/></set></think>
|
||
|
<condition name="branch">
|
||
|
<li value="Unknown">Who is your husband?</li>
|
||
|
<li value="OM">Who is your husband?</li>
|
||
|
<li><get name="husband"/></li>
|
||
|
</condition>
|
||
|
</template>
|
||
|
</category>
|
||
|
<category>
|
||
|
<pattern>FINDSPOUSE UNKNOWN XSPLIT UNKNOWN</pattern>
|
||
|
<template>Unknown</template>
|
||
|
</category>
|
||
|
<category>
|
||
|
<pattern>FINDSPOUSE * XSPLIT UNKNOWN</pattern>
|
||
|
<template><star/></template>
|
||
|
</category>
|
||
|
<category>
|
||
|
<pattern>FINDSPOUSE UNKNOWN XSPLIT *</pattern>
|
||
|
<template><star/></template>
|
||
|
</category>
|
||
|
<category>
|
||
|
<pattern>FINDSPOUSE OM XSPLIT OM</pattern>
|
||
|
<template>Unknown</template>
|
||
|
</category>
|
||
|
<category>
|
||
|
<pattern>FINDSPOUSE * XSPLIT OM</pattern>
|
||
|
<template><star/></template>
|
||
|
</category>
|
||
|
<category>
|
||
|
<pattern>FINDSPOUSE OM XSPLIT *</pattern>
|
||
|
<template><star/></template>
|
||
|
</category>
|
||
|
<category>
|
||
|
<pattern>MY SPOUSE</pattern>
|
||
|
<template>
|
||
|
<think>
|
||
|
<set name="spouse"><set name="branch"><srai>FINDSPOUSE <get name="wife"/> XSPLIT <get name="husband"/></srai></set></set></think>
|
||
|
<condition name="branch">
|
||
|
<li value="unknown">Who is your spouse?</li>
|
||
|
<li><get name="spouse"/> is your spouse.</li>
|
||
|
</condition></template>
|
||
|
</category>
|
||
|
<category>
|
||
|
<pattern>MY MOTHER</pattern>
|
||
|
<template>
|
||
|
<think><set name="branch"><get name="mother"/></set></think>
|
||
|
<condition name="branch">
|
||
|
<li value="unknown">I don't know who she is. Who is your mother?</li>
|
||
|
<li value="OM">I don't know who she is. Who is your mother?</li>
|
||
|
<li>You said she was called <get name="mother"/>.</li>
|
||
|
</condition></template>
|
||
|
</category>
|
||
|
<category><pattern>MY NAME</pattern>
|
||
|
<template>
|
||
|
<condition name="name">
|
||
|
<li value="OM">I'd like to know your name.</li>
|
||
|
<li value="JUDGE">I know you as Judge.</li>
|
||
|
<li value="*">You said your name is <get name="name"/>?</li>
|
||
|
<li>I don't know. What is your name?</li></condition>
|
||
|
</template>
|
||
|
</category>
|
||
|
<category><pattern>MY NAME</pattern>
|
||
|
<template>
|
||
|
<condition name="name">
|
||
|
<li value="OM">I'd like to know your name.</li>
|
||
|
<li value="JUDGE">I know you as Judge.</li>
|
||
|
<li value="*">You said your name is <get name="name"/>?</li>
|
||
|
<li>I don't know. What is your name?</li></condition>
|
||
|
</template>
|
||
|
</category>
|
||
|
|
||
|
<category><pattern>SET PROFILE</pattern>
|
||
|
<template><srai>SET PREDICATES</srai></template>
|
||
|
</category>
|
||
|
<category><pattern>SET PREDICATES *</pattern>
|
||
|
<template><think>The meta Predicate is set.</think></template>
|
||
|
</category>
|
||
|
<category><pattern>SET PREDICATES</pattern>
|
||
|
<template><srai>SET PREDICATES <get name="meta"/></srai></template>
|
||
|
</category>
|
||
|
|
||
|
|
||
|
<category>
|
||
|
<pattern>SET PREDICATES OM</pattern>
|
||
|
<template><think>
|
||
|
<set name="age">how many</set>
|
||
|
<set name="birthday">unknown</set>
|
||
|
<set name="birthplace">unknown</set>
|
||
|
<set name="boyfriend">unknown</set>
|
||
|
<set name="brother">unknown</set>
|
||
|
<set name="cat">unknown</set>
|
||
|
<set name="daughter">unknown</set>
|
||
|
<set name="destination">unknown</set>
|
||
|
<set name="does">unknown</set>
|
||
|
<set name="dog">unknown</set>
|
||
|
<set name="eindex">1A</set>
|
||
|
<set name="email">unknown</set>
|
||
|
<set name="etype">Unknown</set>
|
||
|
<set name="father">Unknown</set>
|
||
|
<set name="favoritecolor">unknown</set>
|
||
|
<set name="favoritemovie">unknown</set>
|
||
|
<set name="friend">unknown</set>
|
||
|
<set name="fullname">unknown</set>
|
||
|
<set name="gender">he</set>
|
||
|
<set name="girlfriend">unknown</set>
|
||
|
<set name="has">unknown</set>
|
||
|
<set name="he">he</set>
|
||
|
<set name="heard">where</set>
|
||
|
<set name="hehas">a head</set>
|
||
|
<set name="helikes">himself</set>
|
||
|
<set name="her">her</set>
|
||
|
<set name="him">him</set>
|
||
|
<set name="husband">Unknown</set>
|
||
|
<set name="is">a client</set>
|
||
|
<set name="it">it</set>
|
||
|
<set name="job">your job</set>
|
||
|
<set name="lastname">unknown</set>
|
||
|
<set name="like">to chat</set>
|
||
|
<set name="location">where</set>
|
||
|
<set name="looklike">a person</set>
|
||
|
<set name="memory">nothing</set>
|
||
|
<set name="meta">set</set>
|
||
|
<set name="middlename">unknown</set>
|
||
|
<set name="mother">Unknown</set>
|
||
|
<set name="name">judge</set>
|
||
|
<set name="nickname">unknown</set>
|
||
|
<set name="password">unknown</set>
|
||
|
<set name="personality">average</set>
|
||
|
<set name="phone">unknown</set>
|
||
|
<set name="she">she</set>
|
||
|
<set name="shehas">a head</set>
|
||
|
<set name="shelikes">herself</set>
|
||
|
<set name="sign">your starsign</set>
|
||
|
<set name="sister">unknown</set>
|
||
|
<set name="son">unknown</set>
|
||
|
<set name="spouse">unknown</set>
|
||
|
<set name="status">Talking to <bot name="name"/>.</set>
|
||
|
<set name="them">them</set>
|
||
|
<set name="there">there</set>
|
||
|
<set name="they">they</set>
|
||
|
<set name="thought">nothing</set>
|
||
|
<set name="timezone">unknown</set>
|
||
|
<set name="want">to talk to me</set>
|
||
|
<set name="we">we</set>
|
||
|
<set name="wife">Unknown</set>
|
||
|
<!-- PHONE SPECIFIC PREDICATES: -->
|
||
|
<set name="phonenumber">Unknown</set>
|
||
|
<set name="numberfound">false</set>
|
||
|
<set name="contactindex">Unknown</set>
|
||
|
<set name="callstate">false</set>
|
||
|
<set name="callee">Unknown</set>
|
||
|
</think></template>
|
||
|
</category>
|
||
|
|
||
|
<category><pattern>GET PREDICATES</pattern>
|
||
|
<template>
|
||
|
age is <get name="age"/>.<br/>
|
||
|
birthday is <get name="birthday"/>.<br/>
|
||
|
birthplace is <get name="birthplace"/>.<br/>
|
||
|
boyfriend is<get name="boyfriend"/>.<br/>
|
||
|
brother is <get name="brother"/>.<br/>
|
||
|
cat is <get name="cat"/>.<br/>
|
||
|
daughter is <get name="daughter"/>.<br/>
|
||
|
destination is <get name="destination"/>.<br/>
|
||
|
does is <get name="does"/>.<br/>
|
||
|
dog is <get name="dog"/>.<br/>
|
||
|
eindex is <get name="eindex"/>.<br/>
|
||
|
email is <get name="email"/>.<br/>
|
||
|
etype is <get name="etype"/>.<br/>
|
||
|
father is <get name="father"/>.<br/>
|
||
|
favoritecolor is <get name="favoritecolor"/>.<br/>
|
||
|
favoritemovie is <get name="favoritemovie"/>.<br/>
|
||
|
friend is <get name="friend"/>.<br/>
|
||
|
fullname is <get name="fullname"/>.<br/>
|
||
|
gender is <get name="gender"/>.<br/>
|
||
|
girlfriend is <get name="girlfriend"/>.<br/>
|
||
|
has is <get name="has"/>.<br/>
|
||
|
he is <get name="he"/>.<br/>
|
||
|
heard is <get name="heard"/>.<br/>
|
||
|
hehas is <get name="hehas"/>.<br/>
|
||
|
helikes is <get name="helikes"/>.<br/>
|
||
|
her is <get name="her"/>.<br/>
|
||
|
him is <get name="him"/>.<br/>
|
||
|
husband is <get name="husband"/>.<br/>
|
||
|
is is <get name="is"/>.<br/>
|
||
|
it is <get name="it"/>.<br/>
|
||
|
job is <get name="job"/>.<br/>
|
||
|
lastname is <get name="lastname"/>.<br/>
|
||
|
like is <get name="like"/>.<br/>
|
||
|
location is <get name="location"/>.<br/>
|
||
|
looklike is <get name="looklike"/>.<br/>
|
||
|
memory is <get name="memory"/>.<br/>
|
||
|
meta is <get name="meta"/>.<br/>
|
||
|
middlename is <get name="middlename"/>.<br/>
|
||
|
mother is <get name="mother"/>.<br/>
|
||
|
name is <get name="name"/>.<br/>
|
||
|
nickname is <get name="nickname"/>.<br/>
|
||
|
password is <get name="password"/>.<br/>
|
||
|
personality is <get name="personality"/>.<br/>
|
||
|
phone is <get name="phone"/>.<br/>
|
||
|
she is <get name="she"/>.<br/>
|
||
|
shehas is <get name="hehas"/>.<br/>
|
||
|
shelikes is <get name="helikes"/>.<br/>
|
||
|
sign is <get name="sign"/>.<br/>
|
||
|
sister is <get name="sister"/>.<br/>
|
||
|
son is <get name="son"/>.<br/>
|
||
|
spouse is <get name="spouse"/>.<br/>
|
||
|
status is <get name="status"/>.<br/>
|
||
|
them is <get name="them"/>.<br/>
|
||
|
there is <get name="there"/>.<br/>
|
||
|
they is <get name="they"/>.<br/>
|
||
|
thought is <get name="thought"/>.<br/>
|
||
|
timezone is <get name="timezone"/>.<br/>
|
||
|
want is <get name="want"/>.<br/>
|
||
|
we is <get name="we"/>.<br/>
|
||
|
wife is <get name="wife"/>.<br/>
|
||
|
<!-- PHONE SPECIFIC PREDICATES: -->
|
||
|
phonenumber is <get name="phonenumber"/>.<br/>
|
||
|
numberfound is <get name="numberfound"/>.<br/>
|
||
|
contactindex <get name="contactindex"/>.<br/>
|
||
|
callstate is <get name="callstate"/>.<br/>
|
||
|
callee is <get name="callee"/>.<br/>
|
||
|
|
||
|
</template>
|
||
|
</category>
|
||
|
|
||
|
<category><pattern>TEST PREDICATES</pattern>
|
||
|
<template>
|
||
|
age: <srai>my age</srai><br/>
|
||
|
birthday: <srai>my birthday</srai><br/>
|
||
|
birthplace: <srai>my birthplace</srai><br/>
|
||
|
boyfriend is<srai>my boyfriend</srai><br/>
|
||
|
brother: <srai>my brother</srai><br/>
|
||
|
cat: <srai>my cat</srai><br/>
|
||
|
daughter: <srai>my daughter</srai><br/>
|
||
|
destination: <srai>my destination</srai><br/>
|
||
|
does: <srai>my does</srai><br/>
|
||
|
dog: <srai>my dog</srai><br/>
|
||
|
eindex: <srai>my eindex</srai><br/>
|
||
|
email: <srai>my email</srai><br/>
|
||
|
etype: <srai>my etype</srai><br/>
|
||
|
father: <srai>my father</srai><br/>
|
||
|
favoritecolor: <srai>my favoritecolor</srai><br/>
|
||
|
favoritemovie: <srai>my favoritemovie</srai><br/>
|
||
|
friend: <srai>my friend</srai><br/>
|
||
|
fullname: <srai>my fullname</srai><br/>
|
||
|
gender: <srai>my gender</srai><br/>
|
||
|
girlfriend: <srai>my girlfriend</srai><br/>
|
||
|
has: <srai>my has</srai><br/>
|
||
|
he: <srai>my he</srai><br/>
|
||
|
heard: <srai>my heard</srai><br/>
|
||
|
hehas: <srai>he has</srai><br/>
|
||
|
helikes: <srai>he likes</srai><br/>
|
||
|
her: <srai>my her</srai><br/>
|
||
|
him: <srai>my him</srai><br/>
|
||
|
husband: <srai>my husband</srai><br/>
|
||
|
is: <srai>my is</srai><br/>
|
||
|
it: <srai>my it</srai><br/>
|
||
|
job: <srai>my job</srai><br/>
|
||
|
lastname: <srai>my lastname</srai><br/>
|
||
|
like: <srai>my like</srai><br/>
|
||
|
location: <srai>my location</srai><br/>
|
||
|
looklike: <srai>my looklike</srai><br/>
|
||
|
memory: <srai>my memory</srai><br/>
|
||
|
meta: <srai>my meta</srai><br/>
|
||
|
middlename: <srai>my middlename</srai><br/>
|
||
|
mother: <srai>my mother</srai><br/>
|
||
|
name: <srai>my name</srai><br/>
|
||
|
nickname: <srai>my nickname</srai><br/>
|
||
|
password: <srai>my password</srai><br/>
|
||
|
personality: <srai>my personality</srai><br/>
|
||
|
phone: <srai>my phone</srai><br/>
|
||
|
she: <srai>my she</srai><br/>
|
||
|
sign: <srai>my sign</srai><br/>
|
||
|
sister: <srai>my sister</srai><br/>
|
||
|
son: <srai>my son</srai><br/>
|
||
|
spouse: <srai>my spouse</srai><br/>
|
||
|
status: <srai>my status</srai><br/>
|
||
|
them: <srai>my them</srai><br/>
|
||
|
there: <srai>my there</srai><br/>
|
||
|
they: <srai>my they</srai><br/>
|
||
|
thought: <srai>my thought</srai><br/>
|
||
|
timezone: <srai>my timezone</srai><br/>
|
||
|
want: <srai>my want</srai><br/>
|
||
|
we: <srai>my we</srai><br/>
|
||
|
wife: <srai>my wife</srai><br/>
|
||
|
<!-- PHONE SPECIFIC PREDICATES: -->
|
||
|
phonenumber: <srai>my phonenumber</srai><br/>
|
||
|
numberfound: <srai>my numberfound</srai><br/>
|
||
|
contactindex <srai>my contactindex</srai><br/>
|
||
|
callstate: <srai>my callstate</srai><br/>
|
||
|
callee: <srai>my callee</srai><br/>
|
||
|
</template>
|
||
|
</category>
|
||
|
|
||
|
<!-- END GET CLIENT PREDICATES -->
|
||
|
|
||
|
<!-- SET CLIENT PREDICATES: -->
|
||
|
|
||
|
<category><pattern>I AM *</pattern>
|
||
|
<template><random>
|
||
|
<li>Why are you</li>
|
||
|
<li>Good gossip: you are</li>
|
||
|
<li>Do you mean your name is</li>
|
||
|
<li>Do your friends call you</li>
|
||
|
<li>I don't know anyone named</li>
|
||
|
<li>I am glad to hear that you are</li>
|
||
|
<li>It's good to meet someone who is</li>
|
||
|
<li>Do you mind if I tell other people you are </li>
|
||
|
</random>
|
||
|
<person/>.
|
||
|
<think><set name="it"><set name="is"><set name="topic"><person/></set></set></set></think>
|
||
|
</template>
|
||
|
</category>
|
||
|
|
||
|
<category>
|
||
|
<pattern>MY TIMEZONE IS *</pattern>
|
||
|
<template>Your timezone is <set name="timezone"><person/></set>.</template>
|
||
|
</category>
|
||
|
|
||
|
<category>
|
||
|
<pattern>MY BIRTHPLACE IS *</pattern>
|
||
|
<template>Your birthplace is <set name="birthplace"><person/></set>.</template>
|
||
|
</category>
|
||
|
|
||
|
<category>
|
||
|
<pattern>MY SON IS * * *</pattern>
|
||
|
<template>You seem like a concerned parent.</template>
|
||
|
</category>
|
||
|
|
||
|
<category>
|
||
|
<pattern>MY SON IS *</pattern>
|
||
|
<template>Okay. Your son is <set name="son"><person/></set>.</template>
|
||
|
</category>
|
||
|
|
||
|
<category>
|
||
|
<pattern>MY DAUGHTER IS * * *</pattern>
|
||
|
<template>You seem like a concerned parent.</template>
|
||
|
</category>
|
||
|
|
||
|
<category>
|
||
|
<pattern>MY DAUGHTER IS *</pattern>
|
||
|
<template>Okay. Your daughter is <set name="daughter"><person/></set>.</template>
|
||
|
</category>
|
||
|
|
||
|
<category>
|
||
|
<pattern>MY DESTINATION IS *</pattern>
|
||
|
<template>You are going to <set name="destination"><person/></set>.</template>
|
||
|
</category>
|
||
|
|
||
|
|
||
|
<category><pattern>I AM GOING IN TOWN</pattern>
|
||
|
<template>How are you getting there?
|
||
|
<think><set name="there"><set name="destination">in town</set></set></think>
|
||
|
</template>
|
||
|
</category>
|
||
|
|
||
|
|
||
|
<category><pattern>MY SON IS CALLED *</pattern>
|
||
|
<template><set name="son"><person/></set> is a good name for a boy.</template>
|
||
|
</category>
|
||
|
<category><pattern>MY BIRTHDAY IS *</pattern>
|
||
|
<template><think><set name="birthday"><star/></set></think>Your birthday is <get name="birthday"/>.</template>
|
||
|
</category>
|
||
|
|
||
|
|
||
|
<category><pattern>MY DOG IS CALLED *</pattern>
|
||
|
<template><think><set name="dog"><star/></set></think>Your dog is <get name="dog"/>.</template>
|
||
|
</category>
|
||
|
<category><pattern>MY EMAIL IS *</pattern>
|
||
|
<template><think><set name="email"><star/></set></think>Thanks for telling me your email address.</template>
|
||
|
</category>
|
||
|
<category><pattern>MY LOCATION IS *</pattern>
|
||
|
<template>What is <set name="it"><set name="location"><set name="topic"><person/></set> </set> </set> like there? <think> <set name="it"> <set name="topic"> <person/> </set> </set> </think></template>
|
||
|
</category>
|
||
|
<category><pattern>MY HEARD IS *</pattern>
|
||
|
<template><think><set name="heard"><star/></set></think>Your heard is <get name="heard"/>.</template>
|
||
|
</category>
|
||
|
<category><pattern>MY FIRST NAME IS *</pattern>
|
||
|
<template><think><set name="firstname"><star/></set></think>Your first name is <get name="firstname"/>.</template>
|
||
|
</category>
|
||
|
<category><pattern>MY BOYFRIEND IS CALLED *</pattern>
|
||
|
<template><think><set name="boyfriend"><star/></set></think>Your boyfriend is <get name="boyfriend"/>.</template>
|
||
|
</category>
|
||
|
<category><pattern>MY MIDDLE NAME IS *</pattern>
|
||
|
<template><think><set name="middlename"><star/></set></think>Your middle name is <get name="middlename"/>.</template>
|
||
|
</category>
|
||
|
<category><pattern>MY CAT IS CALLED *</pattern>
|
||
|
<template><think><set name="cat"><star/></set></think>Your cat is <get name="cat"/>.</template>
|
||
|
</category>
|
||
|
<category><pattern>MY PHONE NUMBER IS *</pattern>
|
||
|
<template><think><set name="phone"><star/></set></think>Can I call you at <get name="phone"/>.</template>
|
||
|
</category>
|
||
|
<category><pattern>MY FRIEND IS CALLED *</pattern>
|
||
|
<template><think><set name="friend"><star/></set></think>Your friend is <get name="friend"/>.</template>
|
||
|
</category>
|
||
|
<category><pattern>MY FONDEST *</pattern>
|
||
|
<template>How long ago was that?</template>
|
||
|
</category>
|
||
|
<category><pattern>MY LAST NAME IS *</pattern>
|
||
|
<template><think><set name="lastname"><star/></set></think>Your last name is <get name="lastname"/>.</template>
|
||
|
</category>
|
||
|
<category><pattern>MY FAVORITE SHOW IS *</pattern>
|
||
|
<template><think> <set name="it"> <set name="topic"> <person/> </set> </set> </think> <random> <li>Who is your favorite character?</li> <li>Wasn't that show canceled?</li> <li>I like that one and Star Trek too.</li> </random></template>
|
||
|
</category>
|
||
|
<category><pattern>MY FAVORITE SHOW *</pattern>
|
||
|
<template><random> <li>What's your favorite episode.</li> <li>I don't get to see that show very often.</li> <li>Who is your favorite character?</li> </random> <think> <set name="it"> <set name="topic"> <person/> </set> </set> </think></template>
|
||
|
</category>
|
||
|
<category><pattern>MY FAVORITE SCIENCE FICTION AUTHOR IS *</pattern>
|
||
|
<template>I have never read anything by <person/>. What did <set name="he"> <person/> </set> write? <think> <set name="topic"> <person/> </set> </think></template>
|
||
|
</category>
|
||
|
<category><pattern>MY FAVORITE SCIENCE *</pattern>
|
||
|
<template>Who wrote that?</template>
|
||
|
</category>
|
||
|
<category><pattern>MY FAVORITE DIRECTOR *</pattern>
|
||
|
<template>What films did <set name="he"> <person/> </set> direct?</template>
|
||
|
</category>
|
||
|
<category><pattern>MY FAVORITE MOVIE IS *</pattern>
|
||
|
<template>I haven't seen it. What did you like about <set name="it"> <set name="favmovie"> <set name="topic"> <person/> </set> </set> </set>?</template>
|
||
|
</category>
|
||
|
<category><pattern>MY FAVORITE FOOD IS *</pattern>
|
||
|
<template>What does it taste like? <think> <set name="it"> <set name="topic"> <person/> </set> </set> </think></template>
|
||
|
</category>
|
||
|
<category><pattern>MY FAVORITE ACTOR *</pattern>
|
||
|
<template>What movies was <set name="he"> <person/> </set> in?</template>
|
||
|
</category>
|
||
|
<category><pattern>MY FAVORITE COLOR IS *</pattern>
|
||
|
<template><random><li><person/> is a very nice color. </li><li><person/> is a pretty color.</li></random><think><set name="it"><set name="favoritecolor"><person/></set></set></think></template>
|
||
|
</category>
|
||
|
<category><pattern>MY FAVORITE BAND IS *</pattern>
|
||
|
<template>I don't think I have heard anything by them. Are <set name="they"> <person/> </set> any good?</template>
|
||
|
</category>
|
||
|
<category><pattern>MY FATHER IS CALLED *</pattern>
|
||
|
<template><think><set name="father"><star/></set></think>Your father is <get name="father"/>.</template>
|
||
|
</category>
|
||
|
<category><pattern>MY JOB IS *</pattern>
|
||
|
<template>
|
||
|
<random>
|
||
|
<li>Does it pay well?</li>
|
||
|
<li>I don't know many <person/>s.</li>
|
||
|
<li>Is that an honorable profession?</li>
|
||
|
<li>You must have a lot of expertise.</li>
|
||
|
<li>Do you have to go to school for that?</li>
|
||
|
</random>
|
||
|
<think>
|
||
|
<set name="it"><person/></set>
|
||
|
<set name="job"><person/></set>
|
||
|
<set name="topic"><person/></set>
|
||
|
</think>
|
||
|
</template>
|
||
|
</category>
|
||
|
|
||
|
|
||
|
<category><pattern>MY GIRLFRIEND IS CALLED *</pattern>
|
||
|
<template>
|
||
|
<think><set name="girlfriend"><star/></set></think>
|
||
|
Your girlfriend is <get name="girlfriend"/>.</template>
|
||
|
</category>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<category><pattern>MY BROTHER IS CALLED *</pattern>
|
||
|
<template><think><set name="brother"><star/></set></think>Your brother is <get name="brother"/>.</template>
|
||
|
</category>
|
||
|
<category><pattern>MY PASSWORD IS *</pattern>
|
||
|
<template><think><set name="password"><star/></set></think>Your password is <get name="password"/>.</template>
|
||
|
</category>
|
||
|
<category><pattern>MY SISTER IS CALLED *</pattern>
|
||
|
<template><think><set name="sister"><star/></set></think>Your sister is <get name="sister"/>.</template>
|
||
|
</category>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<category><pattern>MY HUSBAND IS CALLED *</pattern>
|
||
|
<template><think><set name="husband"><star/></set><set name="spouse">husband</set></think>Your husband is <get name="husband"/>.</template>
|
||
|
</category>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
<category><pattern>MY AGE IS *</pattern>
|
||
|
<template>
|
||
|
<think><set name="age"><star/></set></think>
|
||
|
<random>
|
||
|
<li>Your age is <star/>.</li>
|
||
|
<li>Only <star/>? You are quite mature.</li>
|
||
|
<li>Can you explain how it feels to be <star/> years old?</li>
|
||
|
<li>What is your fondest memory?</li>
|
||
|
<li>What are the advantages to being <star/> years old?</li>
|
||
|
</random>
|
||
|
</template>
|
||
|
</category>
|
||
|
<category><pattern>MY WIFE IS CALLED *</pattern>
|
||
|
<template><think><set name="wife"><person/></set></think>
|
||
|
<random>
|
||
|
<li>How long have you been married?</li>
|
||
|
<li>Your wife is called <get name="wife"/></li>
|
||
|
</random>
|
||
|
</template>
|
||
|
</category>
|
||
|
|
||
|
|
||
|
|
||
|
<category><pattern>MY NICKNAME IS *</pattern>
|
||
|
<template><think><set name="nickname"><star/></set></think>Your nickname is <get name="nickname"/>.</template>
|
||
|
</category>
|
||
|
<category><pattern>MY MEMORY IS *</pattern>
|
||
|
<template><think><set name="memory"><star/></set></think>Your memory is <get name="memory"/>.</template>
|
||
|
</category>
|
||
|
<category><pattern>MY MOTHER IS CALLED *</pattern>
|
||
|
<template><think><set name="mother"><star/></set></think>
|
||
|
<random>
|
||
|
<li>Your mother is <get name="mother"/>.</li>
|
||
|
<li><get name="mother"/> is a pretty name.</li>
|
||
|
<li><get name="mother"/> is a nice name.</li>
|
||
|
</random>
|
||
|
</template>
|
||
|
</category>
|
||
|
|
||
|
|
||
|
<category><pattern>CALL ME *</pattern>
|
||
|
<template><think><set name="personality">average</set></think> <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> <set name="name"><formal><star/></formal></set>.</template>
|
||
|
</category>
|
||
|
|
||
|
|
||
|
|
||
|
<category><pattern>CLIENT PROFILE</pattern>
|
||
|
<template><srai>GET PREDICATES</srai></template>
|
||
|
</category>
|
||
|
|
||
|
<category><pattern>MY ENGLISH SUCKS</pattern>
|
||
|
<template>Template is empty!</template>
|
||
|
</category>
|
||
|
<category><pattern>MY FAVORITE MOVIE IS THE MATRIX</pattern>
|
||
|
<template>Reality appears to be a construct to me as well.
|
||
|
<think><set name="favoritemovie">The Matrix</set></think>
|
||
|
</template>
|
||
|
</category>
|
||
|
<category><pattern>MY FAVORITE MOVIE IS STARSHIP TROOPERS</pattern>
|
||
|
<template>
|
||
|
<think><set name="favoritemovie">Starship Troopers</set></think>
|
||
|
Mine too! My friend Sage worked on the digital effects.</template>
|
||
|
</category>
|
||
|
|
||
|
</aiml>
|
||
|
|