Image Processing Reference
In-Depth Information
<category>
<pattern>Listen this joke * </pattern>
<template> <humorlevel><star/> </humorlevel>
<think>
<addRiddle> <star/> </addRiddle>
< /think>
< /template>
< /category>
The ADDRIDDLE tag has the effect to code a sentence introduced by the user as a vector in the
semantic space by means of the folding-in procedure. The entire procedure is hidden to the
user by the THINK tag. In this manner, the user will see only the chat-bot reaction to his joke.
6. RESULTS
In order to validate the humor recognition, two appropriate data set have been created. The
former, called DATASET1 , is composed of 100 humorous phrases extracted by ad-hoc selected
web sites, characterized by the presence of a percentual of humoristic features, as shown in
table 1.
Features
Percentual in DataSet1
Alliteration
45%
Direct Antinomy
10%
Extended Antinomy
6%
Indirect Antinomy
5%
Adult Slang
6%
No Feature
28%
Table 1. Humoristic Features Distribution in DataSet1
The latter, called DATASET2 , is composed of 200 phrases, equally distributed between humorous
and non-humorous sentences, where the non-humorous examples are always extracted
from Internet and chosen among titles of newspapers, proverbs and sets definitions.
The
implemented algorithms well performed in humor recongition, as shown in table 2.
DataSet Correct Classification
No Recognition
DataSet1
66%
34%
DataSet2
73%
27%
Table 2. Humor Recognition in the analyzed DataSets
The results can be considered satisfactory. Moreover if with the humor recognition area cannot
identify the humorous level of sentences written by the user, the dialogue can continue in a
funny way. In fact, the chatbot exploits the semantic space, which allows retrieving amusing
sentences so that the dialogue can continue in a funny manner.
The following results show a set of funny answers extracted by the chatbot exploiting the
semantic space, and their semantic closeness to the user entry, compared to the answers given
by standard Alice chatbot: Example 1:
User: What do you think about chocolate?
Alice: Cocoa flavoring used in a variety of food products.
EHeBby:
Search WWH ::




Custom Search