Emotion Detection From Text
Emotion Detection From Text
net/publication/225045375
CITATIONS READS
35 2,334
2 authors, including:
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Shiv Naresh Shivhare on 24 February 2016.
KEYWORDS
Textual Emotion Detection; Emotion Word Ontology; Human-Computer Interaction
1. INTRODUCTION
Detecting emotional state of a person by analyzing a text document written by him/her
appear challenging but also essential many times due to the fact that most of the times
textual expressions are not only direct using emotion words but also result from the
interpretation of the meaning of concepts and interaction of concepts which are
described in the text document. Recognizing the emotion of the text plays a key role in
the human-computer interaction [1]. Emotions may be expressed by a person‟s speech,
face expression and written text known as speech, facial and text based emotion
respectively. Sufficient amount of work has been done regarding to speech and facial
emotion recognition but text based emotion recognition system still needs attraction of
researchers [14]. In computational linguistics, the detection of human emotions in text is
becoming increasingly important from an applicative point of view.
Emotion is expressed as joy, sadness, anger, surprise, hate, fear and so on. Since there is
not any standard emotion word hierarchy, focus is on the related research about emotion
in cognitive psychology domain. In 2001, W. Gerrod Parrot[2], wrote a book named
“Emotions In Social Psychology”, in which he explained the emotion system and
formally classified the human emotions through an emotion hierarchy in six classes at
primary level which are Love, Joy, Anger, Sadness, Fear and Surprise. Certain other
words also fall in secondary and tertiary levels. Directions to improve the capabilities of
current methods of text-based emotion detection are proposed in this paper.
2. RELATED WORK
The concept of affective computing in 1997 by Since Picard [3] proposed that the role of
emotions in human computer interaction. This domain attracted many researchers from
computer science, biotechnology, psychology, and cognitive science and so on. Following the
trend, the research in the field of emotion detection from textual data emerged to determine
human emotions from another point of view. Problem of emotion recognition from text can be
formulated as follows: Let E be the set of all emotions, A be the set of all authors, and let T be
the set of all possible representations of emotion-expressing texts. Let r be a function to reflect
emotion e of author a from text t, i.e., r: A x T E, then the function r would be the answer to
the problem [4].
The main problem of emotion recognition systems lies in fact that, although the definitions of E
and T may be straightforward, the definitions of individual element, even subsets in both sets of
E and T would be rather confusing. On one side, for the set T, new elements may add in as the
languages are constantly emerging. Whereas on the other side, currently there are no standard
classifications of “all human emotions” due to the complex nature of human minds, and any
emotion classifications can only be seen as “labels” annotated afterwards for different purposes.
Methods used for text based emotion recognition system [4], [5] are:
Text
. Tokenization
Analysis of Intensity
Negation Check
Emotion
Keyword spotting technique for emotion recognition consists of five steps shown in fig.1 where
a text document is taken as input and output is generated as an emotion class. At the very first
step text data is converted into tokens, from these tokens emotion words are identified and
detected. Initially this technique will take some text as input and in next step we perform
tokenization to the input text. Words related to emotions will be identified in the next step
afterwards analysis of the intensity of emotion words will be performed. Sentence is checked
whether negation is involved in it or not then finally an emotion class will be found as the
required output.
2.5. Limitations
From above discussion there are few limitations [7]:
3. PROPOSED ARCHITECTURE
Methods described in section II are modified and integrated to extend their capabilities and to
improve the performance for which a simple and easy to understand model is designed shown in
fig.2.
Emotion Word
Ontology
The Framework is divided into two main components: Emotion Ontology, Emotion Detector.
3.2.2. Algorithm
Following algorithm is proposed to calculate the score for each emotion word with the help of
parameters from previous steps. This score will be directly proportional to the frequency of the
term and inversely proportional to its depth in the ontology. Hence a formula devised for the mth
terminology. For every primary level emotion class, a respective score will be calculated.
Finally Emotion class having highest score will win the race and declared as Emotion state of
the corresponding text document. Algorithm is as follows
Calculate (x):
Where Nodes [Ontology] denotes classes in the ontology, Parent [j] denotes parent classes in the
ontology, Child [j] denotes child classes in the ontology, Freq [m] denotes frequency of
occurrence of mth class in text, Depth denotes depth of class into ontology, Score [parent]
denotes score of parent in ontology.
By proposed algorithm we can find out the score of primary emotion classes. Emotion class
with highest score will be decided as the final emotion class for the blog.
4. CONCLUSION
Emotion Detection can be seen as an important field of research in human-computer interaction.
A sufficient amount of work has been done by researchers to detect emotion from facial and
audio information whereas recognizing emotions from textual data is still a fresh and hot
research area.
In this paper, methods which are currently being used to detect emotion from text are
reviewed along with their limitations and new system architecture is proposed, which would
perform efficiently.
REFERENCES
[1] R. Cowie, E. Douglas-Cowie, N. Tsapatsoulis, G. Votsis, S. Kollias, “Emotion recognition in
human-computer interaction,” in IEEE Signal Processing Magazine, vol. 18(1), Jan. 2001, pp. 32-80,
doi: 10.1109/79.911197
[2] Parrott, W.G, “Emotions in Social Psychology,” in Psychology Press, Philadelphia 2001
[3] C. Maaoui, A. Pruski, and F. Abdat, “Emotion recognition for human machine communication”,
Proc. IEEE/RSJ International Conference on Intelligent Robots and Systems (IROS 08), IEEE
Computer Society, Sep. 2008, pp. 1210-1215, doi: 10.1109/IROS.2008.4650870
[4] Chun-Chieh Liu, Ting-Hao Yang, Chang-Tai Hsieh, Von-Wun Soo, ”Towards Text-based Emotion
Detection: A Survey and Possible Improvements ”,in International Conference on Information
Management and Engineering,2009.
[5] N. Fragopanagos, J.G. Taylor, “Emotion recognition in human–computer interaction”, Department of
Mathematics, King‟s College, Strand, London WC2 R2LS, UK Neural Networks 18 (2005) 389–405
march 2005.
[6] C. Elliott, “The affective reasoner: a process model of emotions in a multiagent system,” in Doctoral
thesis, Northwestern University, Evanston, IL, May 1992.
[7] C.-H. Wu, Z.-J. Chuang, and Y.-C. Lin, “Emotion Recognition from Text Using Semantic Labels and
Separable Mixture Models,” ACM Transactions on Asian Language Information Processing
(TALIP), vol. 5, issue 2, Jun. 2006, pp. 165-183, doi:10.1145/1165255.1165259.
[8] Z. Teng, F. Ren, and S. Kuroiwa, “Recognition of Emotion with SVMs,” in Lecture Notes of
Artificial Intelligence 4114, D.-S. Huang, K. Li, and G. W. Irwin, Eds. Springer, Berlin Heidelberg,
2006, pp. 701-710, doi: 10.1007/11816171_87.
[9] C. Yang, K. H.-Y. Lin and H.-H. Chen, “Emotion classification using web blog corpora,” Proc.
IEEE/WIC/ACM International Conference on Web Intelligence. IEEE Computer Society, Nov. 2007,
pp. 275-278, doi: 10.1109/WI.2007.50.
[10] C. M. Lee, S. S. Narayanan, and R. Pieraccini, "Combining Acoustic and Language Information for
Emotion Recognition," Proc. 7th International Conference on Spoken Language Processing
(ICSLP02), 2002, pp.873-876.
[11] C.-H. Wu, Z.-J. Chuang and Y.-C. Lin, “Emotion Recognition from Text Using Semantic Labels and
Separable Mixture Models,” ACM Transactions on Asian Language Information Processing
(TALIP), vol. 5, issue 2, Jun. 2006, pp. 165-183, doi:10.1145/1165255.1165259.
[12] C. Elliott, “The affective reasoner: a process model of emotions in a multiagent system,” in Doctoral
thesis, Northwestern University, Evanston, IL, May 1992
[13] Protégé tool, www.protege.stanford.edu/,
[14] Nicu Sebea, Ira Cohenb, Theo Geversa, and Thomas S. Huangc “Multimodal Approaches for
Emotion Recognition: A Survey”, USA
[15] http://sail.usc.edu/~kazemzad/emotion_in_text_cgi/DAL_app/index.php?overall=bad&submit_evalu
ation=Submit+Query”.
[16] http://www.wikipedia.org/