Image Processing Reference
In-Depth Information
Fig. 5. TH reaction to a non-humorous sentence
Fig. 6. TH reaction to a rude joke
5.3 AIML categories for the evocation of humorous sentences
The semantic space of the humorous chatbot evocative area has been created by using 3835
funny sentences downloaded from internet one-liners repositories onliners (2011) as well
as the standard categories stored in the AIML knowledge base. Their retrieval is obtained
through the definition and the use of specifically created AIML tags. As an example, the
RELATEDSENTENCE tag in the category template triggers the comparison between the user inputs
with the sentences mapped in the semantic space belonging to the evocative area by choosing
the sentence semantically closer to the user question. The RANDOMRELATEDSENTENCE is defined
in order to make possible for the chatbot to answer with one of the sentences which is
semantically related to the user input.
Below we report the following example of category:
<category>
<pattern>What do you think about * </pattern>
<template>
<randomRelatedSentence> <star/></randomRelatedSentence>
Search WWH ::




Custom Search