<?xml version="1.0"?><!DOCTYPE article SYSTEM "/project/take/software/searchbench_offline_processing/paperxml_generator/aclextractor/src/python/../resource/dtd/paperxml.dtd"><article><header><firstpageheader><page local="1" global="334"/><title>UA-ZBSA: A Headline Emotion Classification through Web Information</title><pubinfo>Proceedings of the 4th International Workshop on Semantic Evaluations (SemEval-2007),pages 334-337, Prague, June 2007. ©2007 Association for Computational Linguistics</pubinfo><author surname="Kozareva" givenname="Zornitsa"><org  name="University of Alicante" country="Spain" city="Alicante"/></author><author surname="Navarro" givenname="Borja"><org  name="University of Alicante" country="Spain" city="Alicante"/></author><author surname="Vazquez" givenname="Sonia"><org  name="University of Alicante" country="Spain" city="Alicante"/></author><author surname="Montoyo" givenname="Andres"><org  name="University of Alicante" country="Spain" city="Alicante"/></author></firstpageheader><frontmatter><p><b>UA-ZBSA: A Headline Emotion Classification through Web Information</b></p><p><b>Zornitsa Kozareva, Borja Navarro, Sonia Vazquez, Andres Montoyo</b></p><p>DLSI, University of Alicante Carretera de San Vicente S/N Alicante, Spain 03080</p><p>zkozareva,borja,svazquez,montoyo@dlsi.ua.es</p></frontmatter><abstract>This paper presents a headline emotion clas­sification approach based on frequency and co-occurrence information collected from the World Wide Web. The content words of a headline (nouns, verbs, adverbs and adjec­tives) are extracted in order to form different bag of word pairs with the joy, disgust, fear, anger, sadness and surprise emotions. For each pair, we compute the Mutual Informa­tion Score which is obtained from the web occurrences of an emotion and the content words. Our approach is based on the hypoth­esis that group of words which co-occur to­gether across many documents with a given emotion are highly probable to express the same emotion. </abstract></header><body><section number="1" title="Introduction"><p>The subjective analysis of a text is becoming impor­tant for many Natural Language Processing (NLP) applications such as Question Answering, Informa­tion Extraction, Text Categorization among others (Shanahan et al., 2006). The resolution of this prob­lem can lead to a complete, realistic and coher­ent analysis of the natural language, therefore ma­jor attention is drawn to the opinion, sentiment and emotion analysis, and to the identification of be­liefs, thoughts, feelings and judgments (Quirk et al., 1985), (Wilson and Wiebe, 2005).</p><p>The aim of the Affective Text task is to clas­sify a set of news headlines into six types of emo­tions: "anger", "disgust", "fear", "joy", "sadness" and "surprise". In order to be able to conduct such multi-category analysis, we believe that first we need a comprehensive theory of what a human emotion is, and then we need to understand how the emotion is expressed and transmitted within the nat­ural language. These aspects rise the need of syn­tactic, semantic, textual and pragmatic analysis of a text (Polanyi and Zaenen, 2006). However, some of the major drawbacks in this field are related to the manual or automatic acquisition ofsubjective ex­pressions, as well as to the lack of resources in terms of coverage.</p><p>For this reason, our current emotion classification approach is based on frequency and co-occurrence bag of word counts collected from the World Wide Web. Our hypothesis is that words which tend to co-occur across many documents with a given emotion are highly probable to express this emotion.</p><p>The rest of the paper is organized as follows. In Section 2 we review some of the related work, in Section 3 we describe our web-based emotion classi­fication approach for which we show a walk-through example in Section 4. A discussion of the obtained results can be found in Section 5 and finally we con­clude in Section 6.</p></section><section number="2" title="Related work"><p>Our approach for emotion classification is based on the idea of (Hatzivassiloglou and McKeown, 1997) and is similar to those of (Turney, 2002) and (Tur-ney and Littman, 2003). According to Hatzivas-siloglou and McKeown (1997), adjectives with the same polarity tended to appear together. For exam­ple the negative adjectives "corrupt and brutal" cooccur very often.<page local="2" global="335"/></p><p>The idea of tracing polarity through adjective co­occurrence is adopted by Turney (2002) for the bi­nary (positive and negative) classification of text re­views. They take two adjectives, for instance "ex­cellent" and "poor" in a way that the first adjective expresses positive meaning, meanwhile the second one expresses negative. Then, they extract all ad­jectives from the review text and combine them with "excellent" and "poor". The co-occurrences of these words are searched on the web, and then the Mutual Information score for the two groups of adjectives is measured. When the adjective of the review ap­pear more often with "excellent", then the review is classified as positive, and when the adjectives appear more often with "poor", then the review is classified as negative.</p><p>Following Hatzivassiloglou and McKeown (1997) and Turney (2002), we decided to observe how often the words from the headline co-occur with each one of the six emotions. This study helped us deduce information according to which "birthday" appears more often with "joy", while "war" appears more often with "fear".</p><p>Some of the differences between our approach and those of Turney (2002) are mentioned below:</p><p>• objectives: Turney (2002) aims at binary text classification, while our objective is six class classification of one-liner headlines. Moreover, we have to provide a score between 0 and 100 indicating the presence of an emotion, and not simply to identify what the emotion in the text is. Apart from the difficulty introduced by the multi-category classification, we have to deal with a small number of content words while Turney works with large list of adjectives.</p><p>• word class: Turney (2002) measures polarity using only adjectives, however in our approach we consider the noun, the verb, the adverb and the adjective content words. The motivation of our study comes from (Polanyi and Zaenen, 2006), according to which each content word can express sentiment and emotion. In addition to this issue we saw that most of the headlines contain only nouns and verbs, because they ex­press objectivity.</p><p>• search engines: Turney (2002) uses the Al­tavista web browser, while we consider and combine the frequency information acquired from three web search engines.</p><p>• word proximity: For the web searches, Tur-ney (2002) uses the NEAR operator and con­siders only those documents that contain the adjectives within a specific proximity. In our approach, as far as the majority of the query words appear in the documents, the frequency count is considered.</p><p>• queries: The queries of Turney (2002) are made up of a pair of adjectives, and in our approach the query contains the content words of the headline and an emotion.</p><p>There are other emotion classification approaches that use the web as a source of information. For instance, (Taboada et al., 2006) extracted from the web co-occurrences of adverbs, adjectives, nouns and verbs. Gamon and Aue (2005) were looking for adjectives that did not co-occur at sentence level. (Baroni and Vegnaduzzo, 2004) and (Grefenstette et al., 2004) gathered subjective adjectives from the web calculating the Mutual Information score.</p><p>Other important works on sentiment analysis are 2005; Wilson and Wiebe, 2005), who used linguistic information such as syntax and negations to deter­mine polarity. Kim and Hovy (2006) integrated verb information from FrameNet and incorporated it into semantic role labeling.</p><doubt alpha="59.2" length="49" tooSmall="False" monospace="0.0">those of (Wilson et al., 2005) and (Wiebe et al.,</doubt></section><section number="3" title="Web co-occurrences"><p>In order to determine the emotions of a headline, we measure the Pointwise Mu­tual   Information   (MI)   of   <i>ei </i>and   <i>cw</i><b><i>j</i></b><b><i> </i></b>as <i>mi</i><b><i>{d</i></b><b><i>,cwjj = </i></b>iog2<b>h</b>^g^d<b><i>,</i></b>), where <b><i>eie</i></b> <i>{anger, disgust, fear, joy, sadness, surprise} </i>and <i>cw</i><b><i>j </i></b>are the content words of the headline <i>j</i>. For each headline, we have six MI scores which indicate the presence of the emotion. MI is used in our experiments because it provides information about the independence of an emotion and a bag of words.</p><p>To collect the frequency and co-occurrence counts of the headline words, we need large and massive data repositories.<page local="3" global="336"/> To surmount the data sparsity problem, we used as corpus the World Wide Web which is constantly growing and daily updated.</p><p>Our statistical information is collected from three web search engines: MyWay<footnote anchor="1"/>, AlltheWeb<footnote anchor="2"/> and Ya-hoo<footnote anchor="3"/>. It is interesting to note that the emotion dis­tribution provided by each one of the search engines for the same headline has different scores. For this reason, we decided to compute an intermediate MI score as <i>aMI = ^"=1/     "</i>.</p><p>In the trail data, besides the MI score of an emo­tion and all headline content words, we have calcu­lated the MI for an emotion and each one of the con­tent words. This allowed us to determine the most sentiment oriented word in the headline and then we use this predominant emotion to weight the associ­ation sentiment score for the whole text. Unfortu­nately, we could not provide results for the test data set, due to the high number ofemotion-content word pairs and the increment in processing time and re­turned responses of the search engines.</p></section><section number="4" title="Example for Emotion Classification"><p>As a walk through example, we use the <i>Mortar as­sault leaves at least 18 dead </i>headline which is taken from the trial data. The first step in our emotion clas­sification approach consists in the determination of the part-of-speech tags for the one-liner. The non­content words are stripped away, and the rest of the words are taken for web queries. To calculate the MI score of a headline, we query the three search en­gines combining "mortar, assault, leave, dead" with the anger, joy, disgust, fear, sadness and surprise emotions. The obtained results are normalized in a range from 0 to 100 and are shown in Table 1.</p><footnote label="1"> www.myway.com</footnote><footnote label="2">www.alltheweb.com</footnote><footnote label="3">www.yahoo.com</footnote><p>As can be seen from the table, the three search engines provide different sentiment distribution for the same headline, therefore in our final experiment we decided to calculate intermediate MI. Comparing our results to those of the gold standard, we can say that our approach detects significantly well the fear, sadness and angry emotions.</p></section><section number="5" title="Results and Discussion"><p>Table 2 shows the obtained results for the affective test data. The low performance of our approach is explainable by the minimal knowledge we have used. An interesting conclusion deduced from the trail and test emotion data is that the system detects better the negative feelings such as anger, disgust, fear and sadness, in comparison to the positive emo­tions such as joy and surprise. This makes us believe that according to the web most of the word-emotion combinations we queried are related to the expres­sion of negative emotions.</p><p>In the test run, we could not apply the emotion­word weighting, however we believe that it has a significant impact over the final performance. Presently, we were looking for the distribution of all content words and the emotions, but in the future we would like to transform all words into adjectives and then conduct web queries.</p><p>Furthermore, we would like to combine the re­sults from the web emotion classification with the polarity information given by SentiWordNet<footnote anchor="4"/>. A-priory we want to disambiguate the headline content words and to determine the polarities of the words and their corresponding senses. For instance, the ad­jective "new" has eleven senses, where new#a#3 and new#a#5 express negativism, new#a#4 and new#a#9 positivism and the rest of the senses are objective.</p><footnote label="4">http://sentiwordnet.isti.cnr.it/</footnote><table caption="Table 2: Performance of the web-based emotion classification for the whole test data set" class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>UA-ZBSA</b></p></td><td class="cell"><p><b>Fine-grained Pearson</b></p></td><td class="cell"><p><b>Coarse-grained</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Acc.</b></p></td><td class="cell"><p><b>P.</b></p></td><td class="cell"><p><b>R.</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Anger</b></p></td><td class="cell"><p>23.20</p></td><td class="cell"><p>86.40</p></td><td class="cell"><p>12.74</p></td><td class="cell"><p>21.66</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Disgust</b></p></td><td class="cell"><p>16.21</p></td><td class="cell"><p>97.30</p></td><td class="cell"><p>0.00</p></td><td class="cell"><p>0.00</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Fear</b></p></td><td class="cell"><p>23.15</p></td><td class="cell"><p>75.30</p></td><td class="cell"><p>16.23</p></td><td class="cell"><p>26.27</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Joy</b></p></td><td class="cell"><p>2.35</p></td><td class="cell"><p>81.80</p></td><td class="cell"><p>40.00</p></td><td class="cell"><p>2.22</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Sadness</b></p></td><td class="cell"><p>12.28</p></td><td class="cell"><p>88.90</p></td><td class="cell"><p>25.00</p></td><td class="cell"><p>0.91</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Surprise</b></p></td><td class="cell"><p>7.75</p></td><td class="cell"><p>84.60</p></td><td class="cell"><p>13.70</p></td><td class="cell"><p>16.56</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><table caption="Table 1: Performance of the web-based emotion classification for a trail data headline" class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>MyWay</b></p></td><td class="cell"><p><b>AllWeb</b></p></td><td class="cell"><p><b>Yahoo</b></p></td><td class="cell"><p><b>Av.</b></p></td><td class="cell"><p><b>G.Sta</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>anger</b></p></td><td class="cell"><p>19</p></td><td class="cell"><p>22</p></td><td class="cell"><p>24</p></td><td class="cell"><p>22</p></td><td class="cell"><p>22</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>disgust</b></p></td><td class="cell"><p>5</p></td><td class="cell"><p>6</p></td><td class="cell"><p>7</p></td><td class="cell"><p>6</p></td><td class="cell"><p>2</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>fear</b></p></td><td class="cell"><p>44</p></td><td class="cell"><p>50</p></td><td class="cell"><p>53</p></td><td class="cell"><p>49</p></td><td class="cell"><p>60</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>15</p></td><td class="cell"><p>19</p></td><td class="cell"><p>20</p></td><td class="cell"><p>18</p></td><td class="cell"><p>0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>sadness</b></p></td><td class="cell"><p>28</p></td><td class="cell"><p>36</p></td><td class="cell"><p>36</p></td><td class="cell"><p>33</p></td><td class="cell"><p>64</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>surprise</b></p></td><td class="cell"><p>4</p></td><td class="cell"><p>5</p></td><td class="cell"><p>6</p></td><td class="cell"><p>5</p></td><td class="cell"><p>0</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="4" global="337"/><p>So far we did not consider the impact of valence shifter (Polanyi and Zaenen, 2006) and we were un­able to detect that a negative adverb or adjective transforms the emotion from positive into negative and vice versa. We are also interested in studying how to conduct queries not as a bag of words but bind by syntactic relations (Wilson et al., 2005).</p></section><section number="6" title="Conclusion"><p>Emotion classification is a challenging and difficult task in Natural Language Processing. For our first attempt to detect the amount of angry, fear, sadness, surprise, disgust and joy emotions, we have pre­sented a simple web co-occurrence approach. We have combined the frequency count information of three search engines and we have measured the Mu­tual Information score between a bag of content words and emotion.</p><p>According to the yielded results, the presented ap­proach can determine whether one sentiment is pre­dominant or not, and most of the correct sentiment assignments correspond to the negative emotions. However, we need to improve the approach in many aspects and to incorporate more knowledge-rich re­sources, as well as to tune the 0-100 emotion scale.</p></section><section title="Acknowledgements"><p>This research has been funded by QALLME number FP6IST-033860 and TEX-MESS number TIN2006-15265-C06-01.</p></section><references><p>Marco Baroni and Stefano Vegnaduzzo. 2004. Identi­fying subjective adjectives through web-based mutual information. In Ernst Buchberger, editor, <i>Proceedings ofKONVENS2004, </i>pages 17-24.</p><p>Michael Gamon and Anthony Aue. 2005. Automatic identification of sentiment vocabulary: exploiting low association with known sentiment terms. In <i>Proceed­ings of the Workshop on Feature Engineering for Ma­chine Learning in Natural Language Processing (ACL 2005), </i>pages 57-64.</p><p>Gregory Grefenstette, Yan Qu, James G. Shanahana, and David A. Evans. 2004. Coupling niche browsers and affect analysis for an opinion mining application. In <i>Proceeding ofRIAO-04.</i><i></i></p><p>Vasileios Hatzivassiloglou and Kathleen R. McKeown. 1997. Predicting the semantic orientation of adjec­tives. In <i>Proceedings ofthe eighth conference on Eu­ropean chapter ofthe Association for Computational Linguistics (EACL).</i></p><p>Soo-Min Kim and Eduard Hovy. 2006. Extracting opin­ions, opinion holders, and topics expressed in online news media text. In <i>Proceedings ofthe Workshop on Sentiment and Subjectivity in Text, </i>pages 1-8.</p><p>Livia Polanyi and Annie Zaenen. 2006. Contextual va­lence shifter. In James G. Shanahan, Yan Qu, and Janyce Wiebe, editors, <i>Computing Attitude and Affect in Text: Theory and Applications, </i>chapter 1, pages 1­10. Springer.</p><p>R. Quirk, S. Greenbaum, G. Leech, and J. Svartvik. 1985.</p><p><i>A Comprehensive Grammar ofthe English Language. </i>Longman.</p><p>James G. Shanahan, Yan Qu, and Janyce Wiebe. 2006. <i>Computing Attitude and Affect in Text: Theory and Ap­plications. </i>Springer.</p><p>Maite Taboada, Caroline Anthony, and Kimberly Voll. 2006. Methods for creating semantic orientation databases. In <i>Proceeding of LREC-06, the 5th Interna­tional Conference on Language Resources and Evalu­ation, </i>pages 427-432.</p><p>Peter D. Turney and Michael L. Littman. 2003. Measur­ing praise and criticism: Inference of semantic orien­tation from association. <i>ACMTransactions on Infor­mation Systems, </i>21(4):315-346.</p><p>Peter D. Turney. 2002. Thumbs up or thumbs down? semantic orientation applied to unsupervised classifi­cation of reviews. In <i>Proceedings of the 40th Annual Meeting of the Association for Computational Linguis­tics (ACL), </i>pages 417-424.</p><p>Janyce Wiebe, Theresa Wilson, and Claire Cardie. 2005. Annotating expressions of opinions and emotions in language. <i>Language Resources and Evaluation (for­merly Computers and the Humanities), </i>39(2-3):165-210.</p><p>Theresa Wilson and Janyce Wiebe. 2005. Annotating attributions and private states. In Ann Arbor, editor, <i>Proceedings ofthe Workshop on Frontiers in Corpus Annotation II: Pie in the Sky, </i>pages 53-60.</p><p>Theresa Wilson, Janyce Wiebe, and Paul Hoffmann. 2005. Recognizing contextual polarity in phrase-level sentiment analysis. In <i>Proceedings ofthe conference on Human Language Technologyand Empirical Meth­ods in Natural Language Processing, </i>pages 347-354.</p></references></body></article>