Image Processing Reference
In-Depth Information
</template>
< /category>
If the user question is:
User: What do you think about marriage?
The chat-bot will answer randomically in one of the following ways:
EHeBby: Marriage is an expensive way of getting your laundry done
for free.
EHeBby: Benjamin Franklin said "'Keep your eyes wide open before
marriage, half shut afterwards"'.
EHeBby: Love may be blind but marriage is a real eye-opener.
While the standard Alice chat-bot answers:
Alice: The state of being married; relation between husband and wife;
married life.
The following dialogue shows a comparison between the answers given with the traditional
pattern matching by the chat-bot Alice and the answers given by the evocative chat-bot using
the <relatedSentence> tag.
User: You are ignorant.
Alice: We can learn new things.
EHeBby: Everybody is ignorant, only on different subjects
User: what is the difference between woman and men?
Alice: I think you already know the answer. I will search for it.
EHeBby: Men always want to be a woman's first love. Women have a more
subtle instinct; what they like to be is a man's last romance.
User: See you tomorrow.
Alice: Goodbye.
EHeBby: Tomorrow is a mistery...
User: Do you enjoy working?
Alice: I enjoy working 24 hours every day.
EHeBby: I only work to enjoy when I am not working
User: My computer has the windows operating system.
Alice: Where did he get it?
EHeBby: What do Windows and a handgun have in common? Both are
harmless while not loaded.
User:Are you a pessimist or an optimist?
Alice: Am I a pessimist or an optimist? Yes.
EHeBby: A pessimist is one who makes difficulties of his
opportunities and an optimist is one who makes
opportunities of his difficulties. (Harry Truman)
5.4 AIML categories for targeting
The humorous chatbot is able to update its own sub-symbolic knowledge through a targeting
process, which maps new acquired riddles in the semantic space. Targeting is obtained by
means of the ad-hoc created AIML tag ADDRIDDLE , as shown in the following chunk of AIML
code:
Search WWH ::




Custom Search