<?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="132"/><title>Sentiments and Opinions in Health-related Web messages</title><pubinfo>Proceedings of Recent Advances in Natural Language Processing,pages 132-139, Hissar, Bulgaria, 12-14 September 2011.</pubinfo><author surname="Sokolova" givenname="Marina"><org  name="Technical University of Moldova" country="Moldova" city="Chisinau"/></author><author surname="Bobicev" givenname="Victoria"><org  name="Technical University of Moldova" country="Moldova" city="Chisinau"/></author></firstpageheader><frontmatter><p><b>Sentiments and Opinions in Health-related Web Messages</b></p><p><b>Marina Sokolova</b></p><p>Faculty of Medicine, University of Ottawa and</p><p>Electronic Health Information Lab, CHEO Research Institute sokolova@uottawa.ca</p><p><b>Victoria Bobicev</b></p><p>Department of Applied Informatics, Faculty of Computers, Informatics</p><p>and Microelectronics, Technical University of Moldova</p><p>vika@rol.md</p></frontmatter><abstract>In this work, we analyze sentiments and opinions expressed in user-written Web messages. The messages discuss health-related topics: medications, treatment, ill­ness and cure, etc. Recognition of senti­ments and opinions is a challenging task for humans as well as an automated text analysis. In this work, we apply both the approaches. The paper presents the anno­tation model, discusses characteristics of subjectivity annotations in health-related messages, and reports the results of the an­notation agreement. For external evalua­tion of the labeling results, we apply Ma­chine Learning methods on the annotated data and present the obtained results. </abstract></header><body><section number="1" title="Motivation"><p>In recent years, Text Data Mining (TDM) and Natural Language Processing (NLP) intensively studied sentiments and opinions in user-written Web texts (e.g., tweets, blogs, messages). Re­searchers analyzed sentiments and opinions that appear in consumer-written product reviews, fi­nancial blogs, political discussions (Blitzer et al, 2007; Ferguson et al, 2009; Kim and Hovy, 2007). Health care and medical delivery service is an­other area where practitioners become interested in what users write in their Web posts. Importance of knowing user opinions had became evident dur­ing H1N1 pandemic, the first pandemic when Web discussions influenced the general public (Eysen-bach, 2009); Figure 1 presents an example.<footnote anchor="1"/></p><p>The shift from contrived medical text to less rig­orously written and edited user-written texts is a challenge for TDM and NLP methods. The cur­rent techniques were primarily designed to an­alyze medical publications in traditional media</p><footnote label="1">http://www.gocoldflu.info/archives/ , ac­cessed April 25, 2011</footnote><p>Posted by Kristi: I really dont know why everyones freaking out about the H1N1 vaccine. I got it the first day it came out (about a week and a half ago) and so did 4 of my family members. None of us had any problems and were all really glad we got the vaccine.</p><figure caption="Figure 1: A user post about H1N1 vaccination."></figure><p>(e.g., journal articles) and organizational docu­ments (e.g., hospital records) or task-dependent (e.g., information retrieval related to insurance claims)(Angelova, 2009; Cohen et al, 2010; Konovalov et al, 2010).</p><p>The goal of this work is to study sentiments and opinions in health-related Web messages. We start with building a data set of annotated sentences. We present an opinion and sentiment annotation scheme and its application to tag sentences har­vested from the Web messages. We report eval­uation of manual annotation agreement. Finally, machine learning methods are applied to automat­ically assess the sentence labeling.</p></section><section number="2" title="Opinions and Sentiments"><p>We are interested in the expressions of user <i>private state </i>which is not open to objective observation or verification (Quirk et al, 1985). These personal views are revealed through thoughts, perceptions and other subjective expressions that can be found in text (Wiebe, 1994).</p><p>We assume that the private states can be re­vealed by emotional statements, <i>sentiments, </i>and subjective statements that may not imply emo­tions, <i>opinions. </i>In this work, statements are con­sidered within the sentence bounds; thus, sen­tences are the units of our language analysis. We agree with Lasersohn (2005) and Kim and Hovy (2007) that opinion can be expressed about a fact of matter, and should not be treated as identical to sentimental expression.</p><page local="2" global="133"/><p>We further sub-categorize sentiments into <i>pos­itive </i>and <i>negative, </i>and opinions - into <i>positive, negative </i>and <i>neutral. </i>Sentences that do not bear opinions or sentiments are considered objective by default and are left for future studies.</p></section><section number="3" title="Opinion and Sentiment Annotation 3.1   Annotation Model"><p>Annotation of subjectivity can be centered either around perception of a reader/annotator (Strappar-ava and Mihalceal, 2008) or the author of a text (Balahur and Steinberger, 2009). Our model is author-centric. Our guidelines for annotators de­fined that a subjective statement contains informa­tion which has not been taken by the author from some external source but rather his/her personal thoughts (as defined in Section 2). We requested that annotators do not impose their own sentiments and attitudes towards information in the text (Bal-ahur and Steinberger, 2009). Instead we suggested that an annotator imagined sentiments and atti­tudes that the author possibly had while writing.</p><p>Separation of good and bad news from the au­thor attitude is important in the health-related anal­ysis. We know that subjective expressions are highly reflective of the text content and context (Chen, 2008). Health-related messages are of­ten written about illnesses and medical treatment. Users write about diseases, symptoms, sick rela­tive and friends. This information is naturally dis­tressing and may cause a negative attitude in anno-tators. We asked annotators not to mark descrip­tions of symptoms and diseases as subjective; only author's opinion or sentiment should be annotated. For example, "For a very long time I've had a prob­lem with feeling really awful when I try to get up in the morning" is a description of some symptoms and should not be annotated as subjective. In contrast, "I don't know if that makes sense, it seems to me that the new drug which stimulates red blood cell produc­tion would be a more logical approach, erythropoiten (sp?)" exposes the author's thoughts and ideas. It should be annotated as an opinion though without an emotional attitude. Another example, "Alas, I didn't record the program, but wish I had" expresses the author's regret and should be annotated as a negative opinion about the action (i.e., not record­ing the program).</p><p>We considered essential to advise annotators not to agonize over the annotation and, if doubt­ful, leave the example un-annotated (Balahur and</p><p>Steinberger, 2009). The rule is especially im­portant for annotation of user-written texts, when annotators can be destructed and even annoyed by misspellings, simplified grammar and informal style and unfamiliar terminology specific to an in­dividual user..</p><subsection number="3.2" title="Schema"><p>Our annotation schema is based on the following assumptions:</p><p>(a) annotation was performed on a sentence level; one sentence expressed only one as­sertion; this assumption held in a majority of</p><doubt alpha="83.3" length="6" tooSmall="False" monospace="0.0">cases;</doubt><p>(b) only author's subjective comments were marked as such; if the author conveyed opin­ions or sentiments of others, we did not mark it as subjective as the author was not the holder of these opinions or sentiments;</p><p>(c) we did not differentiate between the objects of comments; author's attitude towards a sit­uation, an event, a person or an object were considered equally important.</p><p>Annotators were informed that the annotation was sentence-level and examples of annotated texts presented them were also with annotated sen­tences. Thus they tended to annotate sentences. If consecutive sentences were subjective, every one was marked. In some cases, only a subjective part of a sentence was tagged, whereas the other part, containing factual information was not included in the sentiment tag.</p><doubt alpha="50.0" length="8" tooSmall="False" monospace="0.0">3.3 Mode</doubt><p>User-written messages usually have opening, body, and closure. Opening can be email subject, parameters of the message, body presents the main content, and closure can be signature or a link to a personal web site.</p><p>We used the markup tags Header, Footer and Body (Figure 2). Header referred to the param­eters of the message, Footer marked the closing part which started with the signature; this part was marked Footer regardless of its length and omit­ted from the processing. Body marked the mes­sage between Header and Footer.</p><p>To comply with our annotation schema, we divide Body into Citation and Text. Citation marked embedding of the previous messages in the current one, Text marked the text of the mes­sage written by the author.<page local="3" global="134"/> In the current study, we are interested in the Text part; other parts are left for future work. Text was divided in sentences and further analyzed for opinions and sentiments.</p><doubt alpha="85.7" length="7" tooSmall="False" monospace="0.0">Header:</doubt><p>Path: cantaloupe.srv.cs.cmu.eduldasnews.harvard.edu!ogicse!emory!gatech!pitt.edu!pitt!geb</p><p>From: geb@cs.pitt.edu (Gordon Banks)</p><p>Newsgroups: sci.med</p><p>Subject: Re: vangus nerve (vagus nerve)</p><doubt alpha="60.7" length="28" tooSmall="False" monospace="0.0">Message-ID: &lt;19397@pitt.UUCP</doubt><doubt alpha="37.0" length="27" tooSmall="False" monospace="0.0">Date: 5 Apr 93 14:27:13 GMT</doubt><doubt alpha="54.2" length="24" tooSmall="False" monospace="0.0">Article-I.D.: pitt.19397</doubt><doubt alpha="66.7" length="33" tooSmall="False" monospace="0.0">References: &lt;52223@seismo.CSS.GOV</doubt><p>Sender: news@cs.pitt.edu</p><p>Reply-To: geb@cs.pitt.edu (Gordon Banks)</p><p>Organization: Univ. of Pittsburgh Computer Science</p><doubt alpha="55.6" length="9" tooSmall="False" monospace="0.0">Lines: 16</doubt><doubt alpha="80.0" length="5" tooSmall="False" monospace="0.0">Body:</doubt><p>Citation:</p><doubt alpha="63.5" length="85" tooSmall="False" monospace="0.0">In      article      &lt;52223@seismo.CSS.GOVbwb@seismo.CSS.GOV(Brian W. Barker) writes:</doubt><p>&gt; mostly right. Is there a connection between vomiting &gt; and fainting that has something to do with the vagus nerve? Text:</p><p>Stimulation of the vagus nerve slows the heart and drops the blood pressure.</p><doubt alpha="85.7" length="7" tooSmall="False" monospace="0.0">Footer:</doubt><p>Gordon Banks N3JXP | "Skepticism is the chastity of geb@cadre.dsl.pitt.edu | the intellect, and it is shameful to surrender it too soon."</p><figure caption="Figure 2: Example of a message."></figure></subsection></section><section number="4" title="Empirical Application 4.1 Data"><p>For our empirical part, we used the sci.med texts of <i>20 Newsgroups </i><footnote anchor="2"/>. It is a benchmark data set of 20,000 messages, popular in applications of ma­chine learning techniques, such as text classifica­tion and text clustering. There are 1000 sci.med messages. Most sci.med messages were posted by people who wanted to know something about an illness, drugs or treatment (e.g., questions on tu­berculosis, haldol prescription to elderly). After the question appeared on the message board, other people could reply and add comments (Figure 2).</p><footnote label="2">http://kdd.ics.uci.edu/databases/ 2 0newsgroups/2 0newsgroups.html</footnote><p>To group messages by their content, we merged the messages with the same topic. A script auto­matically placed all messages with the same Sub­ject line in the file with the same title. Thus, we obtained 365 files named "Arrhythmia", "arthri­tis and diabetes", "Athletes Heart", etc. Essentially, a file stored the whole discussion thread on the ti­tle topic. Many files contained only one question and one or two answers. Several topics raised in­terest of many list members. Such files contained rather hot discussions (e.g., "Candidayeast Bloom"," MSG sensitivity", "Homeopathy"). In contrast, some files contained newsletters, conference announce­ments, other announcements that were considered objective (Section 2); these files were deleted from annotation. Finally, 357 files were left for the an­notation.</p><subsection number="4.2" title="Annotation results"><p>10 undergraduate and 10 master students were in­volved in the process. A master student had 30 files to annotate. The results of the annotation were examined; students with better annotations received more files. An undergraduate student had 10 files to annotate; only students with the satis­factory quality annotations were given more files. Finally, the 357 files have been annotated by at least one annotator.</p><p>216 have been tagged by two annotators, and 21 have been tagged by three annotators. 120 files have been tagged by only one annotator. A major­ity of these files did not contain subjective infor­mation, e.g., a question and a factual answer . We have divided the final tags into 3 categories:<footnote anchor="3"/>:</p><p><b>subjective sentences </b>: both annotators identified them as subjective, sentiment or opinion, and marked either the same polarity or neutral;</p><p><b>weak subjective sentences </b>: only one annotator identified them as subjective;</p><p><b>non-subjective and uncertain sentences </b>: sen­tences that the annotators did not mark as subjective or marked with the opposite polar­ity.</p><footnote label="3">The labelled sentences are posted on www.ehealthinformation.ca/ap0/opendata.asp</footnote><page local="4" global="135"/><p><b>Subjective sentences</b></p><table caption="Table 1 lists the results for the three sentence groups."></table></subsection><subsection number="4.3" title="Discussion"><p>6408 sentences were annotated in total. The ma­jority - 4190 sentences - were considered non-subjective by both annotators. <i>Neutral opinion </i>was the most frequent subjective label, some per­sons asked questions and some replied in many cases expressing their own opinions. 85 sentences were marked <i>neutral opinion </i>by both annotators. In 655 cases, it was a weak subjectivity (i.e., iden­tified by one annotator). The latter set contained ambiguous sentences, without clear indicators was the expressed statement author's thought or just in­formation taken from some sources. We report some examples: "Symptoms can be drastically en­hanced by food but not inflammation", "The low residue diet is appropriate for you if you still have obstructions",</p><p>"Then they may be able to crowd out garbage genes"</p><p><i>Negative sentiment </i>was another large set of the ambiguous annotation. In Section 3.1, we wrote that the texts were about diseases, so it was natural that sometimes annotators marked descriptions of symptoms or sickness as <i>negative sentiment. </i>Of­ten <i>negative sentiment </i>was attributed to sentences that were interpreted as subjective only in the mes­sage context. For example, "I said that I PERSON­ALLY had other people order the EXACT SAME FOOD at TWO DIFFERENT TIMES from the SAME RESTAU­RANT" was marked <i>negative sentiment </i>in context of a very opinionated discussion. For the anno-tator, it was clear that the author of the text had been really angry, and the sentence did carry neg­ative emotion even if it did not contain indicative words.</p><p>We have found that sarcasm was a strong fac­tor for the polarity disagreement between annota-tors. "I'm forever in your debt" was marked as <i>pos­itive sentiment </i>and <i>negative sentiment, </i>because it was positive as is but was used in a sarcastic an­swer to another message; one annotator took the whole context in consideration but another one did not. "Surprise surprise different people react differently to different things." and "Subject: Scientific Yawn" (de­nouncing an alternative medicine) are two other il­lustrations of opposite polarity labeling. Perhaps, a more complex set of sentiment annotation tags can help to capture such sentiments.</p><p>Content-wise, we found that several types of sentences created problems while annotation: ad­vices, suggestions ("go and see a doctor"); courtesy ("thank you in advance", "I would greatly appreciate any reply", "good luck"); questions and indirect ques­tions ("can somebody point me", "I am interested in", "I would like to find any information"). An appropri­ate remedy can be to divide subjective sentences into categories, e.g., reporting, advice, judgment and sentiment (Asher et al, 2009). Rhetorical rela­tions formed another influential factor. However, correct identification of this phenomena requires a higher proficiency of annotations.</p><p>Additionally, annotators faced challenges in­trinsic to the user-written text (Section 3.1). In­deed, syntactic rules were not strictly respected and there were mistypes and misspellings. Other challenges were recognitions of trade-mark and proprietary names ("itraconazole", "Oodles of Noo­dles"), public health and related services ("AMA", "FDA", "State Licensing Board", "ABFP") and medical and scientific terms ("Candida", "sinusitis", "yeast bloom").<page local="5" global="136"/></p><table caption="Table 1: Annotation results for sentiment and opinion sentences in the sci.med texts." class="main" frame="box" rules="all" border="0" 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1st annotator</p></td><td class="cell"><p>2nd annotator</p></td><td class="cell"><p>#</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>negative sentiment</p></td><td class="cell"><p>negative sentiment</p></td><td class="cell"><p>92</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>neutral opinion</p></td><td class="cell"><p>neutral opinion</p></td><td class="cell"><p>85</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>positive opinion</p></td><td class="cell"><p>neutral opinion</p></td><td class="cell"><p>57</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>negative opinion</p></td><td class="cell"><p>neutral opinion</p></td><td class="cell"><p>53</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>negative sentiment</p></td><td class="cell"><p>negative opinion</p></td><td class="cell"><p>48</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>negative opinion</p></td><td class="cell"><p>negative opinion</p></td><td class="cell"><p>43</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>positive sentiment</p></td><td class="cell"><p>positive sentiment</p></td><td class="cell"><p>41</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>negative sentiment</p></td><td class="cell"><p>neutral opinion</p></td><td class="cell"><p>41</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>positive opinion</p></td><td class="cell"><p>positive opinion</p></td><td class="cell"><p>27</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>positive sentiment</p></td><td class="cell"><p>positive opinion</p></td><td class="cell"><p>21</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>positive sentiment</p></td><td class="cell"><p>neutral opinion</p></td><td class="cell"><p>20</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Weak subjective sentences</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1st annotator</p></td><td class="cell"><p>2nd annotator</p></td><td class="cell"><p>#</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>no annotation</p></td><td class="cell"><p>neutral opinion</p></td><td class="cell"><p>655</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>no annotation</p></td><td class="cell"><p>negative sentiment</p></td><td class="cell"><p>331</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>positive opinion</p></td><td class="cell"><p>no annotation</p></td><td class="cell"><p>212</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>negative opinion</p></td><td class="cell"><p>no annotation</p></td><td class="cell"><p>201</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>positive sentiment</p></td><td class="cell"><p>no annotation</p></td><td class="cell"><p>172</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>no annotation</p></td><td class="cell"><p>unspecif. sentiment</p></td><td class="cell"><p>12</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Non-subjective and uncertain subjectivity</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1st annotator</p></td><td class="cell"><p>2nd annotator</p></td><td class="cell"><p>#</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>no annotation</p></td><td class="cell"><p>no annotation</p></td><td class="cell"><p>4190</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>positive sentiment</p></td><td class="cell"><p>negative opinion</p></td><td class="cell"><p>34</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>negative sentiment</p></td><td class="cell"><p>positive sentiment</p></td><td class="cell"><p>28</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>positive opinion</p></td><td class="cell"><p>negative sentiment</p></td><td class="cell"><p>9</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>positive opinion</p></td><td class="cell"><p>negative opinion</p></td><td class="cell"><p>9</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></tr></table><table caption="Table 2: Concordance matrix."></table></subsection></section><section number="5" title="Empirical Evaluation"><subsection number="5.1" title="Concordance evaluation"><p>To assess the quality of subjective labeling, we computed two types of measures. First, we sep­arately assessed agreement between the annotator labeling of positive and negative sentiments and opinions. We opted for two, positive and nega­tive, measures because annotators may agree on <i>what constitutes </i>a subjective label and disagree on <i>what does not, </i>e.g., their understanding of <i>positive </i>may be close and their understanding of <i>not positive </i>may be far apart. We find the two-dimensional values being more informative than the one-dimensional value (Bhowmick et al, 2008; Murakami et al, 2010).</p><p>We applied two measures introduced in (Cic-chetti and Feinstein, 1990a):</p><doubt alpha="44.4" length="18" tooSmall="False" monospace="0.0">Ppos=2a/(fi+9i)(1)</doubt><doubt alpha="40.0" length="20" tooSmall="False" monospace="0.0">Pneg=2d/(N-(a-d))(2)</doubt><p>Next, we computed a commonly used <i>kappa </i>to evaluate a ratio between the chance-corrected ob­served agreement and the chance-corrected perfect agreement (Cicchetti and Feinstein, 1990a):</p><doubt alpha="100.0" length="5" tooSmall="False" monospace="0.0">kappa</doubt><doubt alpha="37.5" length="16" tooSmall="False" monospace="0.0">a+d f191+f292NN2</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">1</doubt><doubt alpha="44.4" length="9" tooSmall="False" monospace="0.0">fl9l+f292</doubt><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">N2</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(3)</doubt><p>Notations are presented in Table 2.</p><p>We report the assessment results in Table 3.</p><p>The reported results show that annotators find a common ground on sentences that <i>do not </i>be­long to the categories. This mutual understanding holds across all the subjective categories. We in­terpret this as a possibility of correct identification of negative examples for all the categories. Anno-tators also agree on what belongs to positive and negative sentiments; for these two categories, we expect correct identification of positive and nega­tive examples.</p></subsection><subsection number="5.2" title="Statistical language analysis"><p>To analyze the lexical indicators of subjectivity, we built <i>N</i>-gram models (N = 1, 2, 3, 4). The <i>N</i>-gram models estimate the probability of a word sequence <i>w1.. .wn </i>as a conditional probability of the word <i>wn </i>appearing after the sequence of words</p><doubt alpha="50.0" length="10" tooSmall="False" monospace="0.0">Wi...Wn-i:</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">w</doubt><doubt alpha="57.1" length="7" tooSmall="False" monospace="0.0">œ P (wn</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">i</doubt><doubt alpha="50.0" length="2" tooSmall="False" monospace="0.0">N+</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(4)</doubt><p>The models were built for subjective sentences and weaksubjective sentences (upperparts ofTable 1). We analyzed most frequent words (occurrence &gt; 3) and word combinations output by the models. To make the task feasible, we deleted stop words ( i.e., pronouns, prepositions, articles, determiners and auxiliary verbs).</p><p>Uni- and bi-gram outputs had shown that very few emotionally charged words appear among the most frequent words. Examples of such words are "good", "happy", "hard", "unfortunately"; "good", "happy", however, may indicate courtesy expres­sions more than sentiments. For instance, their most frequent bi-grams are "very good", "am happy". Tri- and quadri-gram outputs were very sparse (i.e., occurrences <i>&lt; </i>5), thus, not reliable for se­mantic generalization. Important to note that words listed in SentiWordNet (Denecke, 2008) and WordNet-Affect (Strapparava and Mihalceal, 2008) as a rule do not appear in our data .</p><p>We computed a significant relative frequency difference (Rayson and Garside, 2000) to find words and word combinations <i>(N</i><i> </i>= 2, 3, 4) on which two sets of sentences differ. The difference was computed as follows:</p><doubt alpha="43.5" length="46" tooSmall="False" monospace="0.0">...,a(a+b),,b(a+b)._NLL(w)=2(alogv1+blogv1)(5)</doubt><p>where <i>w </i>- the word, <i>a </i>and <i>b </i>are the occurrences of <i>w </i>in sets A and B respectively, <i>c </i>and <i>d </i>- sizes of<page local="6" global="137"/></p><table caption="Table 3: Concordance assessment." 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Annotation</p></td><td class="cell"><p><i>P</i><i>pos</i></p></td><td class="cell"><p><i>pneg</i></p></td><td class="cell"><p><i>kappa</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Pos Sentiment</p></td><td class="cell"><p>0.667</p></td><td class="cell"><p>0.956</p></td><td class="cell"><p>0.621</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Neg Sentiment</p></td><td class="cell"><p>0.674</p></td><td class="cell"><p>0.886</p></td><td class="cell"><p>0.562</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Average</i></p></td><td class="cell"><p>0.671</p></td><td class="cell"><p>0.921</p></td><td class="cell"><p>0.592</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Assessment</p></td><td class="cell"><p><i>ppos</i></p></td><td class="cell"><p><i>pneg</i></p></td><td class="cell"><p><i>kappa</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Pos Opinion</p></td><td class="cell"><p>0.409</p></td><td class="cell"><p>0.892</p></td><td class="cell"><p>0.350</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Neg Opinion</p></td><td class="cell"><p>0.460</p></td><td class="cell"><p>0.884</p></td><td class="cell"><p>0.365</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Neut Opinion</p></td><td class="cell"><p>0.497</p></td><td class="cell"><p>0.761</p></td><td class="cell"><p>0.280</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><i>Average</i></p></td><td class="cell"><p>0.455</p></td><td class="cell"><p>0.846</p></td><td class="cell"><p>0.332</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></tr></table><table 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>1st observer</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>2nd observer</p></td><td class="cell"><p>YES</p></td><td class="cell"><p>NO</p></td><td class="cell"><p>Totals</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>YES</p></td><td class="cell"><p>a</p></td><td class="cell"><p>b</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>NO</p></td><td class="cell"><p>c</p></td><td class="cell"><p>d</p></td><td class="cell"><p><i>9</i><b><i>2</i></b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Totals</p></td><td class="cell"><p>f<b>i</b></p></td><td class="cell"><p>f<b>2</b></p></td><td class="cell"><p>N</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></tr></table><p>A and B in words. We chose <i>LL </i>because the mea­sure allows two-tailed comparison of w's position in sets A and B.</p><p>This method, too, output a few emotionally charged words: "trouble", "hard", "problem", "expen­sive" are content words that differentiate between positive and negative opinions; "bad", "problem", "hard", "better" appear among words that differen­tiate between positive and negative sentiments. Word combinations on which the sets differ do not contain emotionally charged words.</p></subsection><subsection number="5.3" title="Machine Learning Experiments"><p>Sentiment and opinion classification results are highly susceptible to the classification task, the data characteristics and selected text features. Consequently, the data characteristics affect the classification accuracy. We wished to assess how well algorithms discriminate between (a) positive and negative sentiment sentences, (b) positive and negative opinion sentences.</p><p>Our hypothesis was that if algorithms achieved a competitive accuracy of learning then it con­firmed a good quality of labels.</p><doubt alpha="50.0" length="8" tooSmall="False" monospace="0.0">5.4 Data</doubt><p>We used the labeled sentences without any addi­tional pre-processing. As a result, two sentence sets have been built:</p><p><b>Sentiments </b>62 positive and 179 negative sen­tences; <b>Opinions </b>169 positive and 74 negative sentences.</p><p>We represented each set through all the words that appear in the set more than twice. Two types of attributes were used in experiments: bag of all the words (binary representation) and occurrences of all the words (numeric representation). The two representations provided similar results. We further report the numeric representation results, which were slightly better than binary.</p></subsection><subsection number="5.5" title="Learning Results"><p>We applied <i>Naive Bayes (NB), Decision Trees (DT), K-Nearest Neighbor (KNN) </i>and <i>Support VectorMachines (SVM). </i><i>Fscore</i>, <i>Precision(Pr)</i>, <i>Recall</i><i>(R)</i><i> </i>and <i>BalancedAccuracy(ROC) </i>were used to evaluate the performance.</p><p>Sentiments</p><p>Table 4: Classification results for positive and neg­ative sentence classification. The values are aver­aged for positive and negative classes. Best values are in <b>bold. </b>Baseline is calculated if all the sen­tences are into the majority class.</p><p>Table 4 reports the best results. For positive and negative sentiments, the reported results were ob­tained with the following parameters: <i>DT </i>- learn­ing coefficient <i>a = </i>0.15, <i>NB </i>used kernel esti­mates; <i>K-NN </i>- 9 neighbors, Euclidean distance; <i>SVM </i>- complexity parameter C = 0.65, kernel polynomial = 0.52. For positive and negative opin­ions, the reported results were obtained with the following parameters: <i>DT </i>- learning coefficient <i>a = </i>0.40; <i>NB </i>- with kernel estimates; <i>K-NN - </i>1 neighbor, Euclidean distance; <i>SVM </i>- complexity parameter C = 2.75, kernel polynomial K= 1.0.</p><p>Our results are competitive with previously ob­tained results. As reported in (Sokolova and Lapalme, 2011), opinion-bearing sentences are classified against facts with <i>Precision </i>80% -90% (Yu and Hatzivassiloglou, 2003); for con­sumer reviews, opinion-bearing text segments are classified into positive and negative categories with <i>Precision </i>56% - 72%; for online de­bates, posts were classified as positive or nega­tive with <i>F - score </i>39% -67%, <i>F - score </i>in­creased to 53% - 75% when the posts were enriched with the Web information, . 90% <i>BalancedAccuracy(ROC) </i>was obtained in opin­ion spam reviews versus genuine reviews classifi­cation. For positive and negative review classifi­cation, <i>Accuracy </i>is 75.0% -81.8% when data sets are represented through all the uni- and bigrams.</p><table 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>Algorithm</p></td><td class="cell"><p>Pr</p></td><td class="cell"><p>R</p></td><td class="cell"><p>Fscore</p></td><td class="cell"><p>ROC</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>NB</p></td><td class="cell"><p>0.679</p></td><td class="cell"><p>0.726</p></td><td class="cell"><p>0.686</p></td><td class="cell"><p><b>0.611</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>K-NN</p></td><td class="cell"><p>0.649</p></td><td class="cell"><p>0.705</p></td><td class="cell"><p>0.664</p></td><td class="cell"><p>0.578</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>SVM</p></td><td class="cell"><p><b>0.714</b></p></td><td class="cell"><p><b>0.751</b></p></td><td class="cell"><p><b>0.708</b></p></td><td class="cell"><p>0.574</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>DT</p></td><td class="cell"><p>0.552</p></td><td class="cell"><p>0.743</p></td><td class="cell"><p>0.633</p></td><td class="cell"><p>0.485</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Baseline</p></td><td class="cell"><p>0.552</p></td><td class="cell"><p>0.743</p></td><td class="cell"><p>0.633</p></td><td class="cell"><p>0.485</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Opinions</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Algorithm</p></td><td class="cell"><p>Pr</p></td><td class="cell"><p>R</p></td><td class="cell"><p>Fscore</p></td><td class="cell"><p>ROC</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>NB</p></td><td class="cell"><p>0.791</p></td><td class="cell"><p>0.790</p></td><td class="cell"><p>0.767</p></td><td class="cell"><p><b>0.805</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>K-NN</p></td><td class="cell"><p>0.744</p></td><td class="cell"><p>0.753</p></td><td class="cell"><p>0.720</p></td><td class="cell"><p>0.586</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>SVM</p></td><td class="cell"><p><b>0.850</b></p></td><td class="cell"><p><b>0.848</b></p></td><td class="cell"><p><b>0.839</b></p></td><td class="cell"><p>0.777</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>DT</p></td><td class="cell"><p>0.734</p></td><td class="cell"><p>0.741</p></td><td class="cell"><p>0.737</p></td><td class="cell"><p>0.682</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Baseline</p></td><td class="cell"><p>0.484</p></td><td class="cell"><p>0.695</p></td><td class="cell"><p>0.571</p></td><td class="cell"><p>0.481</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><page local="7" global="138"/></subsection></section><section number="6" title="Text Mining and Corpora Annotation in the Domain"><p>Opinion mining and sentiment analysis have become a major research topic for Computational Linguistics. A high demand for knowledge sources prompted development of semantic resources SentiWordNet (Denecke, 2008), WordNet-Affect (Strapparava and Mihalceal, 2008), MicroWNOp (Balahur et al, 2010), as well as lists of affective words or collocations created ad-hoc (Whitelaw et al, 2005; Yu and Hatzivassiloglou, 2003) and even non-affective words (Sokolova and Lapalme, 2011). Sometimes positive and negative text rating was available and used in machine-learning experiments (Pang et al, 2002). At the same time, there are no available sources for sentiment and opinion analysis of user-written health discussions. We work to build such a source.</p><p>Sentiment and opinion analysis intensively studied consumer-written product reviews (Blitzer et al, 2007). Somewhat lesser attention was given to political discussion boards (Kim and Hovy, 2007). In (Ferguson et al, 2009), financial blogs were annotated on the document and paragraphs level with their sentiment towards the same topic using a five-point scale <i>Very Negative, Negative, Neutral, Positive, Very Positive, </i>in addition to the labels <i>mixed, </i>which indicates a mixture of posi­tive and negative sentiment, and <i>not relevant. </i>It seemed intuitive that paragraph -level annotation should be useful in providing more accurate in­formation which can be leveraged by a machine learning module. However, the results did not show any improvement. To the best of our knowl­edge there was only one corpus of blogs with fine-grained annotation of subjectivity (Boldrini et al, 2009). A multilingual corpus of blog posts on different topics of interest in three languages - Spanish, Italian and English was annotated us­ing a fine-grained annotation schema in order to capture the different subjectivity/ objectivity, emo-tion/opinion/ attitude aspects.</p><p>Unlike the listed above work, we concentrate on discussions of health-related topics. There are few dedicated work on polarity of health and medical text. In (Niu et al., 2005; Niu et al., 2006), the au­thors analyzed textual expressions corresponding to <i>positive, negative, neural </i>clinical outcomes. In our work, however, clinical outcomes are set apart from user sentiments and opinions.</p><p>So far, experiments in corpora annotation at­tracted considerably less attention. In (Wiebe et al, 2005), the authors annotated articles at the word-and phrase-level by using fine-grained annotation scheme. Another experiment on news annotation was carried on for the SemEval 2007 Affective Text Task (Strapparava and Mihalceal, 2008). The subjectivity annotation of newspaper articles was discussed in (Balahur and Steinberger, 2009) and (Bhowmick et al, 2008). In the former, the re­searchers extracted 1592 quotes (reported speech) from newspaper articles and annotated for the sen­timent on the target of the quotes. The annotation guidelines allowed increase of the inter-annotator agreement from &lt; 50% up to 60%. In the lat­ter, the authors collected 1000 affective sentences and categorized them into <i>direct </i>and <i>indirect </i>af­fect categories. Our work, instead, is focused on positive and negative sentiments and opinions in user-written Web messages.</p></section><section number="7" title="Conclusion and Future Work"><p>In this paper, we have presented a study of senti­ments and opinions in user-written Web messages. We focused on messages posted on health discus­sion boards. In those messages, users discussed health and ailment, treatments and drugs, asked questions about possible cures. Without having precedents of subjectivity analysis in health dis­cussions, we have designed an author-centric an­notation model. The model shows how positive and negative sentiments and positive, negative and neutral opinions can be identified in health discus­sions.</p><p>We applied the annotation model to the sci.med messages of <i>20 NewsGroups. </i>We have evaluated concordance of the manual annotation by comput­ing three measures : <i>ppos,P</i><i>neg </i>and <i>kappa</i>. The results show that annotators better identify senti­ments than opinions and stronger agree on what type of sentences do <i>not </i>belong to positive or neg­ative subjective categories. Our Machine Learning results are comparable with previous results in the subjectivity domain.</p><p>Our future plans are to continue the annotation; the final aim is to have all texts annotated by at least five persons. We also plan to study objec­tive, factual statements expressed by users in their messages.</p><page local="8" global="139"/></section><section title="Acknowledgements"><p>The first author's work is in part funded by a Dis­covery grant of Natural Sciences and Engineering Research Council of Canada. The second author thanks the conference organizers for the RANLP grant.</p></section><references><p>Angelova, G. Ontological Approach to Terminology Learning. <i>Comptes rendus de l'Academie bulgare des Sciences, </i><b>62</b>(10), pp. 1319-1326, 2009.</p><p>Asher N., Benamara F., Y. Y. Mathieu. Appraisal of opinion expressions in discourse, <i>Lingvisticae Inves­tigations, </i><b>32</b>(2), 2009.</p><p>Balahur, A., R. Steinberger, M. Kabadjov, V. Zavarella, E. van der Goot, M. Halkia, B. Pouliquen, J. Belyaeva. Sentiment Analysis in the News, <i>Pro­ceedings of the Seventh conference on International Language Resources and Evaluation, </i>2010.</p><p>Balahur, A., R. Steinberger Rethinking Sentiment Analysis in the News: from Theory to Practice and back. <i>Proceedings of the 1st Workshop on Opionion Mining and Sentiment Analysis, </i>2009</p><p>Bhowmick, P., P. Mitra, A. Basu. An Agreement Mea­sure for Determining Inter-Annotator Reliability of Human Judgements on Affective Text, <i>Proceedings of Workshop on Human Judgements in Computa­tional Linguistics, </i>COLING, p.p. 58-65, 2008.</p><p>Blitzer, J., M. Dredze, F. Pereira. Biographies, bol­lywood, boom-boxes and blenders: Domain adap­tation for sentiment classification. <i>Proceedings of ACL, </i>440-447, 2007</p><p>Boldrini, E., A. Balahur, P. Martnez-Barco, A. Mon-toyo EmotiBlog: a finer-grained and more precise learning of subjectivity expression models. In <i>Pro­ceedings of LAW IV, ACL, </i>2009</p><p>Chen, W. Dimensions of Subjectivity in Natural Lan­guage (Short Paper). In <i>Proceedings of ACL-HLT,</i> 2008.</p><p>Cicchetti, D., A. Feinstein. High Agreement but Low Kappa: The Problems of Two Paradoxes, <i>Journal of Clinical Epidemiology, </i><b>43</b>(6),p.p. 543-549 and p p. 551-558, 1990.</p><p>Cohen, K., C. Roeder, W. Baumgartner Jr., L. Hunter, and K. Verspoor Test suite design for biomedical ontology concept recognition systems. <i>Proceedings ofLREC, </i>pp. 441-446, 2010.</p><p>Denecke, K. Using SentiWordNet for multilingual sen­timent analysis, <i>Data Engineering Workshop, IEEE 24th International Conference, </i>2008.</p><p>Eysenbach, G. Infodemiology and infoveillance. <i>Jour­nal of Medical Internet Research, </i><b>11</b>(1), 2009.</p><p>Ferguson, P., O'Hare, N., Davy, M., Bermingham, A., Tattersall, S., Sheridan, P., Gurrin, C., Smeaton, A. Exploring the use of Paragraph-level Annotations for Sentiment Analysis of Financial Blogs. <i>WOMAS 2009 - Workshop on Opinion Mining and Sentiment</i> <i>Analysis, </i>2009.</p><p>Kim, S.-M., E. Hovy. Crystal: Analyzing predic­tive opinions on the web. <i>Proceedings of the 2007 EMNLP-CoNLL, </i>pages 1056-1064, 2007.</p><p>Konovalov S, M. Scotch, L. Post, C. Brandt. Biomedi­cal Informatics Techniques for Processing and An­alyzing Web Blogs of Military Service Members, <i>Journal of Medical Internet Research, </i><b>12</b>(4), 2010.</p><p>Lasersohn, P. Context Dependence, disagreement, and predicates of personal taste <i>Linguistics and Philos­ophy, </i><b>28, </b>pages 643-686, 2005</p><p>Murakami, K., E. Nichols, J. Mizuno, Y.Watanabe, H. Goto, M. Ohki, S. Matsuyoshi, K. Inui, Y. Mat-sumoto. Automatic Classification of Semantic Re­lations between Facts and Opinions, <i>Proceedings of NLP Challenges in the Information Explosion Era, </i>COLING, p.p. 21-31,2010,</p><p>Niu, Y., X. Zhu, J. Li, G. Hirst. Analysis of polarity information in medical text, in <i>Proceedings ofthe AMIA Annual Symposium, </i>2005, 500-574.</p><p>Niu, Y., X. D. Zhu, G. Hirst. Using outcome polarity in sentence extraction for medical question-answering.</p><p>In <i>Proceedings of the AMIA Annual Symposium,</i> 2006, 599-603.</p><p>Pang, B.,L. Lee, S. Vaithyanathan, Thumbs up? Sen­timent Classification using Machine Learning Tech­niques <i>Proceedings of EMNLP'-02, </i>pages 79-86, 2002.</p><p>Quirk, R., S. Greenbaum, G. Leech, J. Svartvik <i>A</i> <i>Comprehensive Grammar ofthe English Language </i>Longman, 1985.</p><p>Rayson, P., R. Garside. Comparing corpora using fre­quency profiling. <i>Proceedings of Comparing Cor­pora Workshop, ACL, </i>p.p. 1-6, 2000.</p><p>Sokolova, M., G. Lapalme. Learning opinions in user­generated Web content. <i>Journal of Natural Lan­guage Engineering, </i>to appear.</p><p>Strapparava, C., R. Mihalcea Learning to Identify Emotions in Text, <i>Proceedings of the 2008 ACM symposium on Applied Computing </i>2008</p><p>Whitelaw, C., N. Garg, S. Argamon Using Appraisal Groups for Sentiment Analysis. <i>Proceedings ofthe 14th ACM international conference on Information and knowledge management, </i>pp. 625 - 631, 2005.</p><doubt alpha="66.7" length="93" tooSmall="False" monospace="0.0">Wiebe, J. Tracking point of view in narrative.Compu­tational Linguistics,20,pp. 233-287, 1994</doubt><p>Wiebe, J., T. Wilson, C. Cardie Annotating Expres­sions of Opinions and Emotions in Language, <i>Lan­guage Resources and Evaluation, </i><b>39 </b>(2-3), pp. 165­210, 2005</p><p>Yu, H., V. Hatzivassiloglou Towards Answering Opin­ion Questions: Separating Facts from Opinions and Identifying the Polarity of Opinion Sentences. In <i>Proceedings ofEMNLP-03, </i>2003.</p></references></body></article>