<!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>Machine learning for classifying authors of anonymous tweets, blogs, reviews and social media Notebook for PAN at CLEF 2014</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Seifeddine Mechti</string-name>
          <email>mechtiseif@gmail.com</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Maher Jaoua</string-name>
          <email>maher.jaoua@fsegs.rnu.tn</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Lamia Hadrich Belguith</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>ANLP Research Group MIRACL Laboratory -University of Sfax Tunisia</institution>
        </aff>
      </contrib-group>
      <fpage>1137</fpage>
      <lpage>1142</lpage>
      <abstract>
        <p>In this paper, we focus on detecting the profile of authors (age, gender) through their discussions. The 2014 Pan@Clef corpus consists of 4 sub-corpuses: tweets, blogs, social media and reviews. The proposed method is based on automatic classification, which uses some data extracted statistically from a source corpus. We present a hybrid method that combines the analysis of data in texts with a machine learning method. In order to obtain a better management of these data, we relied on the use of the “Decision table algorithm”.</p>
      </abstract>
      <kwd-group>
        <kwd>Author profiling</kwd>
        <kwd>Author attribution</kwd>
        <kwd>Decision table</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1 Introduction</title>
      <p>Author attribution seeks to determine the author of an anonymous piece of writing
or one whose attribution is still uncertain [1]; it is used as a text categorization. The
idea is then to predict the author of a text and in whose drafting he is suspected to
have participated. In addition, several studies of stylistic and statistical nature, but
also taken from machine learning, allow further analysis of a text which is to be
attributed, and provide useful information for its attribution.</p>
      <p>Author profiling is the study of how certain linguistic features vary according to
the profile of their authors [2]. On Twitter or on Facebook most of the users enter
only 20% of their profiles. In the literature, a lot of studies have focused on the
classification of a given conversation or text and specifically the detection of the age
of the author, the genre, his personality, his native language, etc. [2,3,4]
Our method of author attribution is based on author identification and author
profiling.</p>
      <p>CLEF
Corpus
CLEF</p>
      <p>Corpus
The remainder of this paper is organized as follows: In Section 2 we present our
approach to representation of authors. Then, in Section 3, we focus on the author
profiling part, basing our study on the attributes selected in this phase. In section 4 we
present our method of author profiling. The final section presents our experimental
study.</p>
    </sec>
    <sec id="sec-2">
      <title>2 Stylometric approach for the representation of authors</title>
      <p>Our approach uses stylometry to represent authors. The stylistic cues forming this
type of model come in the first level: "function words”. In fact, many studies [4] have
shown the effectiveness of function words for author attribution. In the second level,
we follow a lexical analysis which is rendered by the cue of the lexical frequency of
proper names, verbs, adjectives. In addition, we rely on punctuation to distinguish
between authors. Finally, we use some statistic aspects linked to the author such as
the average size of a sentence, the number of words that occur only once in a text, the
number of words that occur twice, the number of deflections in a sentence compared
with an average sentence, etc.</p>
      <p>In the following section we discuss the various attributes used in author profiling.</p>
    </sec>
    <sec id="sec-3">
      <title>3 Attributes for the detection of the author’s profile</title>
      <p>Koppel [4] distinguished two types of attributes: style-based features and content
features.</p>
      <sec id="sec-3-1">
        <title>3.1 style based features</title>
        <p>To determine the age or gender of the author of a piece of writing, it is important to
consider the function words. Prepositions, pronouns and determinants have shown
their effectiveness in the process of detecting an author’s profile. [5] In other studies,
the authors use the frequency of punctuation, the frequency of capital letters and the
frequency of citations [6,7]. Also, HTML attributes such as the URL of an image or
link on a Web page have been used by [8]. In the work of [9], the authors rely on
specific terms (foreign words) to distinguish between authors. These terms are tags in
theStanfordCoreNLPPos tagger like meeee, yessss, thy, u, urs, etc. Unlike other
authors, [10] resort to the calculation of the frequency of emoticons to predict the
authors.</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2 content features</title>
        <p>What differentiates several age classes is the content of their discussions. Indeed,
Koppel [4] distinguished several classes to categorize authors. We identified classes
like money, home, smartphone, games, sports, Job, marketing, etc. We chose the first
200 attributes providing the best discrimination. The major drawback of
contentbased attributes is that they depend on the mental state of the author (negative
emotions, positive emotions), which can distort the results.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4 Proposed method</title>
      <p>The proposed method is based on the classification of discussions by gender and
age. The gender dimension is represented by the class man and woman. We started by
calculating the number of occurrences of all terms found in the corpus classifying
them in descending order of their appearance, however, we have only the first 200
attributes. We calculated the CF (class frequency) for each attribute class in the
context of measuring the frequency of occurrence of each class attribute in each
document of the corpus.</p>
      <p>We grouped manually the terms belonging to the same class of attributes. we have
identified 25 classes namely: Prepositions, Pronouns, Determiners, Adverbs, Verbs,
He, She, No, Of, I, Me, Medicine, Chemistry, Music, Sport, TV, Phone, Beer,
Sleeping, Eating, Sex, Love, Money, Internet Marketing. We used the most
discriminating classes of attributes. Once the classes are determined, it is to perform
the training. We used the free learning "software Weka and we started by building
ARFF file (Attribute Relation File Format), a file for gender and one for the age
dimension.</p>
    </sec>
    <sec id="sec-5">
      <title>5 Experimental setup</title>
      <p>We conducted our experiments with extracts from the training corpora. The CLEF
2014 corpora that were discerned represent tweets, reviews and blogs. In fact, for the
gender dimension (male, female), which has a 0.5 precision baseline, we obtained
good results; 56% of the documents were correctly classified. For the age dimension,
which has a 0.2 precision baseline, we distinguish five classes (18-24 | 25-34 | 35-49 |
50-64 | 65-xx "). The results are promising and demonstrate the effectiveness of the
method. Indeed, 34% of the documents were correctly classified. We found that the
learning method which is based on the "Decision table" algorithm gives better results
for the gender dimension in the English language.</p>
      <p>It turned that our approach gives better precisions for blogs but poorer results for
tweets. This proves that our method is not effective on short texts.</p>
    </sec>
    <sec id="sec-6">
      <title>6 Conclusion</title>
      <p>We conducted the categorization of documents in order to provide a classification
of the author of a given text according to its characteristics. The results are
encouraging, especially for the gender dimension. The manual selection of the content
of the classes has shown its limitations regarding language corpora which are not well
known by the researcher. Automating this task turns out to be of great use, and the use
of bilingual or multilingual dictionaries can cope with linguistic shortcomings.
It turned out that the use of lexical classes alone is not enough; we intend to integrate
other aspects such as the syntactic, morphological and semantic aspects etc. On the
other hand, to better perform the detection of the author’s profile we intend to open up
on other dimensions; apart from age and gender; we will also address the detection of
the native language, the detection of the linguistic level, etc.</p>
      <p>References
1.
2.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          <string-name>
            <given-names>Patrick</given-names>
            <surname>Juola</surname>
          </string-name>
          .
          <source>Authorship Attribution. In Foundations and Trends in Information Retrieval</source>
          , Volume
          <volume>1</volume>
          ,
          <string-name>
            <surname>Issue</surname>
            <given-names>3</given-names>
          </string-name>
          ,
          <string-name>
            <surname>March</surname>
          </string-name>
          <year>2008</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          pp.
          <fpage>401</fpage>
          -
          <lpage>412</lpage>
          .
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          <string-name>
            <surname>Schler</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Koppel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Argamon</surname>
          </string-name>
          ,
          <string-name>
            <given-names>et J.</given-names>
            <surname>Pennebaker</surname>
          </string-name>
          .
          <article-title>Effects of age and gender on blogging</article-title>
          .
          <source>AAAI Spring Symposium on Computational Approaches for Analyzing Weblogs</source>
          .
          <year>2006</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          <string-name>
            <given-names>M.</given-names>
            <surname>Koppel</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Argamon</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Pennebaker</surname>
          </string-name>
          and
          <string-name>
            <given-names>J.</given-names>
            <surname>Schler</surname>
          </string-name>
          ,
          <article-title>Automatically profiling the author of an anonymous text</article-title>
          ,
          <source>Communications of the ACM</source>
          <volume>52</volume>
          (
          <issue>2</issue>
          ):
          <fpage>119</fpage>
          -
          <lpage>123</lpage>
          .
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          <string-name>
            <surname>Fermín L. Cruz</surname>
            , Rafa Haro R., and
            <given-names>F.</given-names>
          </string-name>
          <string-name>
            <surname>Javier</surname>
          </string-name>
          <article-title>Ortega</article-title>
          .
          <source>ITALICA at PAN</source>
          <year>2013</year>
          :
          <article-title>An Ensemble Learning Approach to Author Profiling - Notebook for PAN at CLEF</article-title>
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          <string-name>
            <surname>Wee-Yong</surname>
            <given-names>Lim</given-names>
          </string-name>
          , Jonathan Goh,
          <string-name>
            <given-names>and Vrizlynn L. L.</given-names>
            <surname>Thing</surname>
          </string-name>
          .
          <article-title>Content-centric age and gender profiling - Notebook for PAN at CLEF</article-title>
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          <string-name>
            <given-names>Yuridiana</given-names>
            <surname>Aleman</surname>
          </string-name>
          , Nahun Loya, Darnes Vilariño, and
          <string-name>
            <given-names>David</given-names>
            <surname>Pinto</surname>
          </string-name>
          .
          <article-title>Two methodologies applied to the author profiling task</article-title>
          .
          <source>Notebook for PAN at CLEF</source>
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          <string-name>
            <given-names>Upendra</given-names>
            <surname>Sapkota</surname>
          </string-name>
          , Thamar Solorio,
          <article-title>Manuel Montes-y-</article-title>
          <string-name>
            <surname>Gómez</surname>
            , and
            <given-names>Gabriela</given-names>
          </string-name>
          <string-name>
            <surname>Ramírez-de-</surname>
          </string-name>
          la-Rosa.
          <article-title>Author Profiling for English and Spanish Text - Notebook for PAN at CLEF</article-title>
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          <string-name>
            <given-names>Tim</given-names>
            <surname>Gollub</surname>
          </string-name>
          , Martin Potthast, Anna Beyer, Matthias Busse, Francisco Rangel, Paolo Rosso, Efstathios Stamatatos, and
          <string-name>
            <given-names>Benno</given-names>
            <surname>Stein</surname>
          </string-name>
          .
          <source>Recent Trends in Digital Text Forensics and its Evaluation</source>
          .
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          <string-name>
            <given-names>Delia</given-names>
            <surname>Irazu Hernandez Farias</surname>
          </string-name>
          , Rafael Guzmán-Cabrera,
          <article-title>Antonio Reyes and Martha Alicia Rocha Semantic-based Features for Author Profiling Identification: First insights- Notebook for PAN at CLEF</article-title>
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>