Image Processing Reference
In-Depth Information
reasoner has been extended defining ad hoc tags for computational humor and emotional
purposes.
The chabot implements different features, by means of specific reasoning areas, shown in
figure 1. The areas called Humor Recognition Area and Humor Evocation Area , deal with the
recognition and generation of humor during the conversation with the user. A set of AIML
files, representing the chatbot KB are processed during the conversation. Humor recognition
and generation features are triggered when the presence of specific AIML tags is detected. The
humorous tags are then processed by a Computational Humor Engine , which in turn queries
other knowledge repositories, to analyze or generate humor during the conversation. In
particular the AIML Computational Humor Engine exploits both WordNet MultiWordNet (2010)
and the a pronouncing dictionary of the Carnegie Mellon University (CMU) CMU (2010) in
order to recognize humorous features in the conversation, and a semantic space in oder to
retrieve humorous sentences related to the user utterances. The area called Emotional Area
deals with the association of chabot emotional reaction to the user sentences. In particular it
allows for a binding of a conversation humor level with a set of ad hoc created emotional tags,
which are processed by the AIML Emotional Engine in order to send the necessary information
to the Talking Head. In particular in the proposed model we have considered only three
possible humor levels, and three correspondent emotional expressions.
3.1 AIML KB
The AIML knowledge base of our humorous conversational agent is composed of four kinds
of AIML categories:
1. the standard set of ALICE categories, which are suited to manage a general conversation
with the user;
2. a set of categories suited to generate humorous sentences by means of jokes. The
generation of humor is obtained writing specific funny sentences in the template of the
category.
3. a set of categories suited to retrieve humorous or funny sentences through the comparison
between the user input and the sentences mapped in a semantic space belonging to the
evocative area. The chatbot answers with the sentence which is semantically closer to the
user input.
4. a set of categories suited to to recognize an humorous intent in the user sentences. This
feature is obtained connecting the chatbot knowledge base to other resources, like the
WordNet lexical dictionary MultiWordNet (2010) and the CMU pronouncing dictionary
CMU (2010).
5. a set of categories suited to generate emotional expressions in the talking head.
3.2 Humour recognition area
The humour recognition consists in the identification, inside the user sentences, of particular
humorous texts features. According to Mihalcea and Strapparava Mihalcea et al. (2006) we
focus on three main humorous features: alliteration, antinomy and adult slang. Special tags
inserted in the AIML categories allows the chatbot to execute modules aimed to detect the
humorous features.
3.2.1 Alliteration recognition module
The phonetic effect induced by the alliteration, the rhetoric figure consisting in the repetition
of a letter, a syllable or a phonetic sound in consecutive words, captures the attention of
Search WWH ::




Custom Search