<!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>Can We Infer Book Classi cation by Blurbs?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Valentina Franzoni</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Valentina Poggioni</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Fabiana Zollo</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Mathematics and Computer Science, University of Perugia</institution>
          ,
          <addr-line>Perugia</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <fpage>16</fpage>
      <lpage>19</lpage>
      <abstract>
        <p>The aim of this work is to study the feasibility of an automated classi cation of books in the social network Zazie by means of the lexical analysis of book blurbs. A supervised learning approach is used to determine if a correlation between the characteristics of a book blurb and the emotional icons associated to the book by the Zazie's users exists.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Sentiment Analysis and Opinion Mining are receiving increasing attention in
many sectors because knowing and predicting opinions of people is considered
a strategic added value. In the last years an increasing attention has also been
devoted to Emotion Recognition, often by developing automated systems that
can associate user's emotions to texts, music or artworks (e.g. [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]).
      </p>
      <p>
        In the wide scenario of text mining, several attempts have been made in order
to associate emotions and moods to blogs [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], tales [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] and newspapers titles, in
several domains and contexts. A particular and interesting domain that has been
introduced in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] is the association of emotions to books 1.
      </p>
      <p>The idea of building a model for classifying books from an emotional point of
view was born from Zazie2, an Italian social network for readers that, di erently
from other similar projects e.g., aNobii or Goodreads, introduces a new dimension
for books description, the emotional icon tagging.</p>
      <p>Each book in Zazie, besides user's comments and reviews, can be tagged with
two moods icons, selected in a set of 25 di erent climates related to the reader's
opinion about the book or to the emotion induced by the book, e.g. cool, culture,
cry, sleep, love, hoax or smile.</p>
      <p>Starting from this context, it would be very innovative to provide Zazie users
with an emotion-driven search within the social network. The necessity of such
an automated system arises also from the presence of a lot of books that have
not been tagged yet by the users, for which there is not any information besides
the characteristics stored in the database i.e., title, author or publisher.</p>
      <p>
        The rst step of this research was focused on the selection of relevant
attributes among those usable and available in Zazie to describe a book.
We decided to analyze the book blurb because it can contain relevant emotional
1 An extended version of this work has been presented in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]
2 www.zazie.it We are grateful to Marco Ghezzi and Zazie developers, Joe and David,
for the collaboration to this research.
information, since it is generally written for attracting the reader and it can
emphasize and highlight some aspects with the use of emotional terms. On the
other hand, a possible drawback is the introduction of a bias caused by the
excessive use of words with a high emotional meaning, so the problem is not
trivial. Moreover, the blurb represents an information always available on Zazie,
regardless of user's opinions, reviews or tags. The main original contribution of
this work is to determine if the book blurb re ects the same emotions that the
reader can nd in the book itself. The emotional model used for moods
representation is directly provided by Zazie by means of its emotional tags (icons)
and can be easily correlated to the well known discrete emotional models, such
as the ones de ned by Ekman [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ] or Plutchik [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ].
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Blurb Analysis</title>
      <p>The blurb analysis has been realized in three main phases: preprocessing,
extraction of emotions and reduction of emotions.</p>
      <p>Preprocessing consisted in stop words deletion, tokenization and
lemmatization, realized by means of Morph-it! , a morphological resource for the Italian
language.</p>
      <p>
        Extraction of Emotions was realised by means of WordNet-A ect,[
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]
retrieving for each lemma the WordNet synsets associated to it, using the multilingual
lexical database MultiWordNet [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. The a ective domain WordNet-A ect was
exploited in order to obtain all the emotions associated to each synset,
ltering out terms that did not convey a ective information and taking into account
multiple occurrences of the same emotion.
      </p>
      <p>Reduction of Emotions was necessary because the emotional hierarchy of
WordNet-A ect is particularly pronged (296 nodes) and the result of the emotion
extraction phase can be excessively detailed. It was implemented in two step
following two di erent approaches, rst reducing the set of emotions to the 32
emotions corresponding to the third level of WordNet-A ect hierarchy (i.e., the
subtree rooted in emotion)</p>
      <p>
        and then, associating these 32 emotions to an extended set of Ekman
emotions[
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], formed by eight emotional categories happiness, anger, disgust, fear,
sadness, surprise, neutral, ambiguous.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Experiments</title>
      <p>Experiments were carried on to test if an automated classi cation of book blurbs
based on Zazie emotional tags is possible and can actually be used with a
satisfactory accuracy.</p>
      <p>
        The database provided by Zazie authors was constituted of 38374 records,
each one representing the association of a tag (one of the 25 Zazie moods) to
a book by an user. Each record is represented by 7 elds (user id, book isbn,
book title, book pages, book publisher, book blurb, mood). Those data then
underwent a ltering and cleaning process as detailed in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ].
      </p>
      <p>In this group of experiments the classi cation is limited to a subset of the
Zazie mood set identi ed by the selected moods fsmile, love, sad, think, angry,
cryg; this subset was chosen because it contains emotional tags that are clearly
related to emotions aroused in the reader by the book.</p>
      <p>Among the information characterizing a book which is available in the Zazie
database, the author and the emotions extracted by the blurb analysis have
been used as the sample features. Publisher and number of pages have been
discarded, because they are associated to a particular edition of the book and
do not characterize the book as its general literary work. Each record in the
dataset represents a book and is characterized by either 34 or 10 features:
{ the author (nominal attribute)
{ the emotions extracted from the blurb (numerical attributes) valued by their
occurrences (32 or 8 depending on which strategy for emotion reduction is
applied)
{ the mood tag (nominal attribute) representing the class attribute
Experiments had been carried on by means of the software Weka.</p>
      <p>The experimentation has been realized through the cross validation technique
with ten folds using, in particular, algorithms based on decision trees.</p>
      <p>Models have been evaluated by the accuracy, recall and precision measures,
de ned as follow:
{ Accuracy = T P=N where T P is the number of instances correctly classi ed
and N is the total number of instances.
{ Recall = N1C Pi=1::NC Recalli where N C is the number of classes, Recalli =
T PiT+PFi Ni and T Pi and F Ni are respectively the instances correctly classi ed
as members of class i and the instances wrongly classi ed as not belonging
to the class i.
{ P recision = N1C Pi=1::NC P recisioni where P recisioni = T PTi+PFi Pi and
F Pi is the number of instances wrongly classi ed as members of class i.</p>
      <p>Results for accuracy, recall and precision are presented in Table 1: best
accuracy levels are obtained with J48 and BFTree algorithms that have equivalent
performances, while, LADTree and RandomForest did not perform as well as
expected. Details about the tested algorithms and their implementations can
be found in the Weka documentation. Results show that algorithms having an
unpruned version perform better. A satisfactory level of accuracy was obtained
reaching more than 70% and considering that other experiments and the design
of other techniques to build a reliable dataset are ongoing works.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Conclusions and Future Work</title>
      <p>The blurb is con rmed to be a good source of emotional information about a
book and it actually can be analyzed with the aim of sentiment analysis and
emotion recognition.
(a) Emotional model with 32 emotions derived from WordNet-A ect
(b) Emotional model with 8 emotions derived from extended Ekman model
Attributes Accuracy
J48 -U -M 3 70.31%
BFTree -U -M 3 72.92%
LADTree -B 20 58.85%
RandomForest -depth 5 66.15%
Attributes Accuracy
J48 -U -M 3 72.02%
BFTree -U -M 3 70.46%
LADTree -B 20 52.85%
RandomForest -depth 5 68.91%</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Yang</surname>
            ,
            <given-names>Y. H.</given-names>
          </string-name>
          <article-title>and</article-title>
          <string-name>
            <surname>Chen</surname>
            ,
            <given-names>H. H.:</given-names>
          </string-name>
          <article-title>Machine recognition of music emotion: A review</article-title>
          .
          <source>ACM Transactions on Intelligent Systems and Technology</source>
          ,
          <volume>3</volume>
          (
          <issue>3</issue>
          ),
          <volume>1</volume>
          {
          <fpage>30</fpage>
          , (May
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>Gilad</given-names>
            <surname>Mishne</surname>
          </string-name>
          :
          <article-title>Experiments with Mood Classi cation in Blog Posts. Style2005, Stylistic Analysis of Text for Information Access</article-title>
          , (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3. C. Ovesdotter Alm, at al.:
          <article-title>Emotions from Text: Machine Learning for Text-based Emotion Prediction</article-title>
          .
          <source>Proc. of HLT and EMNL Conferences</source>
          ,
          <volume>579</volume>
          {
          <fpage>586</fpage>
          , (
          <year>2005</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <given-names>Paul</given-names>
            <surname>Ekman</surname>
          </string-name>
          :
          <article-title>Facial Expression</article-title>
          and Emotion. American Psychologist,
          <volume>48</volume>
          (
          <issue>4</issue>
          ),
          <volume>384</volume>
          {
          <fpage>392</fpage>
          , (
          <year>1993</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>J.</given-names>
            <surname>Suttles</surname>
          </string-name>
          and Nancy Ide:
          <article-title>Distant Supervision for Emotion Classi cation with Discrete Binary Values</article-title>
          .
          <source>CICLing (2)</source>
          :
          <fpage>121</fpage>
          -
          <lpage>136</lpage>
          . (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>F.</given-names>
            <surname>Bertola</surname>
          </string-name>
          and
          <string-name>
            <surname>V.</surname>
          </string-name>
          <article-title>Patti: Emotional Responses to Artworks in Online Collections</article-title>
          .
          <source>In Proceedings of PATCH 2013</source>
          , vol.
          <volume>997</volume>
          CEUR Workshop Proceedings, (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>E.</given-names>
            <surname>Pianta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Bentivogli</surname>
          </string-name>
          and
          <string-name>
            <surname>C.</surname>
          </string-name>
          <article-title>Girardi: MultiWordNet: Developing an aligned multilingual database</article-title>
          .
          <source>Proc. of the 1st Int. WordNet Conference</source>
          ,
          <volume>293</volume>
          {
          <fpage>302</fpage>
          , (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>C.</given-names>
            <surname>Strapparava</surname>
          </string-name>
          and
          <string-name>
            <given-names>A.</given-names>
            <surname>Valitutti</surname>
          </string-name>
          ,
          <article-title>WordNet-A ect: an a ective extension of WordNet</article-title>
          .
          <source>In Proc. of 4th International Conference on Language Resources and Evaluation (LREC</source>
          <year>2004</year>
          ),
          <volume>1083</volume>
          {
          <fpage>1086</fpage>
          ,
          <year>2004</year>
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>V.</given-names>
            <surname>Franzoni</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Poggioni</surname>
          </string-name>
          and
          <string-name>
            <given-names>F.</given-names>
            <surname>Zollo</surname>
          </string-name>
          <article-title>: Automated Classi cation of Book Blurbs According to the Emotional Tags of the Social Network Zazie</article-title>
          .
          <source>In Proc of ESSEM</source>
          <year>2013</year>
          , pp
          <volume>84</volume>
          {
          <fpage>93</fpage>
          , CEUR Workshop proceedings.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <given-names>V.</given-names>
            <surname>Franzoni</surname>
          </string-name>
          ,
          <string-name>
            <surname>A.</surname>
          </string-name>
          <article-title>Milani: PMING Distance: A Collaborative Semantic Proximity Measure</article-title>
          .
          <source>WI{IAT</source>
          , vol.
          <volume>2</volume>
          ,
          <issue>442</issue>
          {
          <fpage>449</fpage>
          , IEEE/WIC/ACM (
          <year>2012</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>