<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>SentiTagger - Automatically Tagging Text in OpinionMining-ML</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Livio Robaldo</string-name>
          <email>robaldo@di.unito.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Luigi Di Caro</string-name>
          <email>dicaro@di.unito.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Alessio Antonini</string-name>
          <email>antonini@di.unito.it</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Computer Science, University of Turin</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>This paper presents SentiTagger, a research project proposal aiming at designing and implementing a computational system that automatically tag free text in OpinionMining-ML [1]. The latter is an XML-based formalism that has been proposed as a standard in the eld of Sentiment Analysis. The Opinion Mining and the Limits of Current Systems Opinion Mining, or Sentiment Analysis, can be generally de ned as the extraction of users' opinions from texual data. The most relevant motivations behind the recent attraction on this task has to do with its interesting range of applications. For example, a product seller may be interested in knowing the customers' opinions about its products. In computer, the discovery of sentiments and opinions that are contained in texts is involved on the use of Natural Language Processing (NLP) techniques (cf. [2]). At the current state of the art, NLP partially provides methods and approaches that can t with these emotion-based kinds of information. Several electronic dictionaries for Sentiment Analysis like Senti-Wordnet [3] have been proposed so far. Nevertheless, the aggregation of simple associations &lt;wordsentiment&gt; does not take into account the high complexity of whole sentences, where the use of deep syntactic parsing becomes crucial in that sense. In addition, in our opinion, the concepts of sentiment and opinion only cover one part of a bigger set of interesting information that can be relevant. The speaker/writer could point out details without ascribing any sentiment to them. For instance, he could point out that a certain restaurant made the take-away service available, without commenting anything about its e ciency, quality, and so on. Such objective information, that are clearly precious from the perspective of an Information Retrieval system, are usually denoted as \neutral" [4]. Finally, it seems that other kinds of information should be integrated in such models. For example, texts can contain suggestions, comparisons, questions, and so forth. Therefore, from a computer scientist's perspective, Sentiment Analysis should be seen as an information extraction subtask, where the concept of emotion becomes less important than the concept of facet that caused the emotion. Furthermore, facets can have relations connecting them and so they can be organized</p>
      </abstract>
      <kwd-group>
        <kwd>Sentiment Analysis</kwd>
        <kwd>Opinion Mining</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        into an ontology (cf. [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ], and [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]). Then, sentiments, opinions, observations,
suggestions and comparisons can refer to di erent concepts in the ontology, at
di erent level of speci city.
      </p>
      <p>In other words, it would be rather useful to have at disposal a formalism
that allows to tag all relevant information and to organize them by decoupling
relevant textual expressions from the facets those expressions refer to, and relate
the former to the latter possibly collocating them within an ontology.
In the industry, there are some attempts to de ne such a formalism. But, to
our knowledge, so far no one has ever tried to systematize and generalize the
solutions found in order to share them with the scienti c community, by making
such solutions contextually independent, easy to extend, easy to integrate within
heterogeneous computational systems, etc.</p>
      <p>
        In the light of this, [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] proposed OpinionMining-ML, an XML-based
formalism that can put some basis for the creation of a standard in the eld of Sentiment
Analysis. OpinionMining-ML will be presented in the next section. We propose
here a research project aiming at designing and implementing a computational
system able to automatically tag text in OpinionMining-ML.
2
      </p>
      <p>OpinionMining-ML and SentiTagger
OpinionMining-ML is a facet-oriented annotation formalism. Facets are
contextually relevant concepts about which the customers/owners of the restaurant
could be interested in knowing what the commentators say. For instance,
typical facets of the domain of restaurants are the cuisine (more or less tasty), the
service (more or less polite), the price (more or less expensive) but also the ease
of parking outside the restaurant, the availability of a take-away service, etc.
Obviously, the set and the granularity of the available facets varies depending on
the domain and the customers' needs. For this reason, OpinionMining-ML
organizes them into an ontology. Ontologies are still scarsely considered in Sentiment
Analysis, while in OpinionMining-ML they have a crucial role, as they facilitate
the management, organization, and retrieval of the annotated comments.
Once the ontology of facets is built, every portion of text that conveys an
appraisal, observation, suggestion, comparison, etc. about a facet is annotated. Of
course, in order to automatically identify the correct bounds of a portion of text
referring to a facet, the use of a parser is crucial.</p>
      <p>
        Two examples of comments taken from the corpus developed in [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] are:
1. Ottima pizza senza glutine! ;)
      </p>
      <p>[Excellent pizza without gluten!]
2. In qualche modo ricorda lo Shambala ma qui, secondo me, si mangia meglio.</p>
      <p>[In some sense it reminds the Shambala but here, in my view, you can eat better]
Let us assume, for simplicity, that (1)-(2) are about the same restaurant called
\RestaurantX". The rst module of SentiTagger has to identify the facets these
comments are about. They are the \pizza", the \gluten-free food", the \cuisine"
of RestaurantX. RestaurantX itself is a facet, and also the Shambala restaurant
and its cuisine, to which RestaurantX is compared.</p>
      <p>
        The following ontology in OpinionMining-ML is then built:
&lt;ONTOFACETS&gt;
&lt;FACET id="1"&gt;RestaurantX&lt;/FACET&gt;
&lt;FACET id="2"&gt;pizza served-at RestaurantX&lt;/FACET&gt;
&lt;FACET id="3"&gt;gluten-free food served at RestaurantX&lt;/FACET&gt;
&lt;FACET id="4"&gt;cuisine of RestaurantX&lt;/FACET&gt;
&lt;FACET id="5"&gt;Restaurant Shambala&lt;/FACET&gt;
&lt;FACET id="6"&gt;cuisine of Restaurant Shambala&lt;/FACET&gt;
&lt;/ONTOFACETS&gt;
Every facet has a unique id within the ontology, used for external references.
The text within the tag &lt;FACET&gt; is a mere description that does not have any
ontological value. Facets are concepts that need to be related to each other via
additional relations. For instance, we state that the facet with id=\4" is a
feature of the facet with id=\1" by adding the following assertion:
We do not report here the set of all additional relations that may be asserted on
the facets above. See [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] for further details.
      </p>
      <p>Once the ontology is built, it is possible to tag the text by attributing di
erent portions of text to di erent facets. However, not all relevant portions of
text convey positive or negative opinions about facets (called \appraisals" in
OpinionMining-ML). Only the rst comment in (1)-(2) contains an appraisal
about the pizza served in RestaurantX. On the other hand, \senza glutine" is
an observation of the kind of pizza served in RestaurantX. Although the latter
is not an appraisal, it is considered relevant as well from the point of view of an
Information Retrieval system, in that a celiac person could look in the web for
restaurants compatible with his/her disease. Finally, the comment (2) contains
two comparisons: one between RestaurantX and restaurant Shambala and the
other between the cuisines of the two restaurants.</p>
      <p>OpinionMining-ML provides tags for annotating the di erent linguistic
expressions. A simpli ed version of the annotation of the two comments (1)-(2) is:
&lt;COMMENT&gt;
&lt;APPRAISAL polarity="positive"&gt;
&lt;FACETREFERENCE&gt;2&lt;/FACETREFERENCE&gt;</p>
      <p>Ottima pizza
&lt;/APPRAISAL&gt;
&lt;OBSERVATION&gt;
&lt;FACETREFERENCE&gt;3&lt;/FACETREFERENCE&gt;
senza glutine! ;-)
&lt;/OBSERVATION&gt;
&lt;/COMMENT&gt;
&lt;COMMENT&gt;
&lt;COMPARISON&gt;
&lt;FACETREFERENCE&gt;1&lt;/FACETREFERENCE&gt;
&lt;FACETREFERENCE&gt;5&lt;/FACETREFERENCE&gt;</p>
      <p>In qualche modo ricorda lo Shambala
&lt;/COMPARISON&gt;
ma
&lt;COMPARISON&gt;
&lt;FACETREFERENCE&gt;4&lt;/FACETREFERENCE&gt;
&lt;FACETREFERENCE&gt;6&lt;/FACETREFERENCE&gt;
qui, secondo me, si mangia meglio.</p>
      <p>&lt;/COMPARISON&gt;
&lt;/COMMENT&gt;
In its general version, OpinionMining-ML allows to split the text into fragments,
and then recollect and attribute them to the facets. The splitting of the text
is based on its syntactic structure. This allows to deal with a broader range of
expressions, involving coordinations or other complex linguistic phenomena.</p>
      <p>
        For this reason, for automatically building documents in OpinionMining-ML,
SentiTagger will exploit the Tule Parser, a rule-based dependency parser
developed at the University of Turin [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. It is currently one of the most e ective
dependency parsers for Italian.
      </p>
      <p>Having at disposal the parsed trees of the text, and an ontology built o ine
depending on the domain (e.g., an ontology for the domain of restaurants, for
processing comments from http://www.2spaghi.it), SentiTagger will be able
to identify the facets the comments are about, and ascribing the proper textual
expressions to them.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Robaldo</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Di</surname>
            <given-names>Caro</given-names>
          </string-name>
          , L.:
          <article-title>OpinionMining-ML</article-title>
          .
          <source>Computer Standards &amp; Interfaces</source>
          <volume>35</volume>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Wiebe</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          , Wilson,
          <string-name>
            <given-names>T.</given-names>
            ,
            <surname>Cardie</surname>
          </string-name>
          ,
          <string-name>
            <surname>C.</surname>
          </string-name>
          :
          <article-title>Annotating expressions of opinions and emotions in language</article-title>
          .
          <source>Language Resources and Evaluation</source>
          <volume>1</volume>
          (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Baccianella</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Esuli</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sebastiani</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          :
          <article-title>Sentiwordnet 3.0: An enhanced lexical resource for sentiment analysis and opinion mining</article-title>
          .
          <source>In: 7th conference on International Language Resources and Evaluation</source>
          . Volume
          <volume>25</volume>
          . (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Go</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Huang</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bhayani</surname>
          </string-name>
          , R.:
          <article-title>Twitter sentiment analysis</article-title>
          .
          <source>Entropy</source>
          (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Zhou</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chaovalit</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Ontology-supported polarity mining</article-title>
          .
          <source>JASIST</source>
          <volume>59</volume>
          (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Zhao</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Ontology based opinion mining for movie reviews</article-title>
          .
          <source>In: KSEM</source>
          . (
          <year>2009</year>
          )
          <volume>204</volume>
          {
          <fpage>214</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Pen</surname>
          </string-name>
          <article-title>~alver-Mart nez</article-title>
          , I.,
          <string-name>
            <surname>Valencia-Garc</surname>
            <given-names>a</given-names>
          </string-name>
          , R.,
          <string-name>
            <surname>Sanchez</surname>
            ,
            <given-names>F.G.</given-names>
          </string-name>
          :
          <article-title>Ontology-guided approach to feature-based opinion mining</article-title>
          .
          <source>In: NLDB</source>
          . (
          <year>2011</year>
          )
          <volume>193</volume>
          {
          <fpage>200</fpage>
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Lesmo</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>The Rule-Based Parser of the NLP Group of the University of Torino</article-title>
          .
          <source>Intelligenza Arti ciale 2</source>
          (
          <year>2007</year>
          )
          <volume>46</volume>
          {
          <fpage>47</fpage>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>