<!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>PAN 2017: Author Profiling - Gender and Language Variety Prediction</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Matej Martinc</string-name>
          <email>matej.martinc@ijs.si</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Iza Škrjanec</string-name>
          <email>skrjanec.iza@gmail.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Katja Zupan</string-name>
          <email>katja.zupan@ijs.si</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Senja Pollak</string-name>
          <email>senja.pollak@ijs.si</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Jožef Stefan Institute</institution>
          ,
          <addr-line>Jamova 39, 1000 Ljubljana</addr-line>
          ,
          <country country="SI">Slovenia</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Jožef Stefan International Postgraduate School</institution>
          ,
          <addr-line>Jamova 39, 1000 Ljubljana</addr-line>
          ,
          <country country="SI">Slovenia</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2017</year>
      </pub-date>
      <abstract>
        <p>We present the results of gender and language variety identification performed on the tweet corpus prepared for the PAN 2017 Author profiling shared task. Our approach consists of tweet preprocessing, feature construction, feature weighting and classification model construction. We propose a Logistic regression classifier, where the main features are different types of character and word n-grams. Additional features include POS n-grams, emoji and document sentiment information, character flooding and language variety word lists. Our model achieved the best results on the Portuguese test set in both-gender and language variety-prediction tasks with the obtained accuracy of 0.8600 and 0.9838, respectively. The worst accuracy was achieved on the Arabic test set.</p>
      </abstract>
      <kwd-group>
        <kwd>author profiling</kwd>
        <kwd>gender</kwd>
        <kwd>language variety</kwd>
        <kwd>Twitter</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Recent trends in natural language processing (NLP) have shown a great interest in
learning about the demographics, psychological characteristics and (mental) health of a
person based on the text she or he produced. This field, generally known as author profiling
(AP), has various applications in marketing, security (forensics), research in social
psychology, and medical diagnosis. A thriving subfield of AP is computational stylometry,
which is concerned with how the content and genre of a document contribute to its
style [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ].
      </p>
      <p>
        One of the commonly addressed tasks in AP is the prediction of an author’s gender,
but other tasks include the prediction of language variety, age, native language,
personality, region of origin or mental health of an author. Within this lively AP community,
a series of scientific events and shared tasks on digital text forensic called PAN
(Uncovering Plagiarism, Authorship, and Social Software Misuse)3 have been organized.
The first PAN event took place in 2011, while the first AP shared task was organized in
2013 [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ].
      </p>
    </sec>
    <sec id="sec-2">
      <title>3 http://pan.webis.de/</title>
      <p>
        In this paper, we describe our approach to the shared task of PAN AP for 2017 [
        <xref ref-type="bibr" rid="ref20">20</xref>
        ],
which involves the construction of a model for gender and language variety
identification of Twitter users. The rest of the paper is structured as follows: in Section 2 the
findings from related work are presented. Section 3 describes the corpus and how it was
preprocessed. In Section 4 we present the methodology, while Section 5 presents the
results. In Section 6, we conclude the paper and present ideas for future work.
2
      </p>
      <sec id="sec-2-1">
        <title>Related work</title>
        <p>
          The earliest attempts in author profiling cover gender identification, starting with [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ],
who used parts of the British National Corpus. Other genres include literary texts [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ],
scientific papers [
          <xref ref-type="bibr" rid="ref27">27</xref>
          ], and emails [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ].
        </p>
        <p>
          The focus of AP has settled much on the social media, including languages other
than English. Besides age and gender identification, the PAN shared task has addressed
the prediction of personality type [
          <xref ref-type="bibr" rid="ref16">16</xref>
          ], setting the task into a cross-lingual [
          <xref ref-type="bibr" rid="ref16 ref17 ref19 ref21">17,16,21,19</xref>
          ]
and cross-genre [
          <xref ref-type="bibr" rid="ref17 ref21">17,21</xref>
          ] environment. Since this year the corpus does not contain Dutch
tweets, we only describe the findings of PAN AP 2016 task winners for English and
Spanish. The goal was to built an age and gender classifier, whereby the model was
trained on tweets and tested on blogs without the contestants knowing in advance the
genre of the test set. The performance of contestants was evaluated by observing the
classification accuracy for gender and age separately, and additionally taking into
account the joint identification of both dimensions.
        </p>
        <p>
          The team achieving the best score for gender classification (0.7564) in English was
[
          <xref ref-type="bibr" rid="ref11">11</xref>
          ], who used the following features: word uni- and bigrams, character tetragrams, and
the average spelling error, and logistic regression for learning. For gender classification
in Spanish, the best result was obtained by Deneva [
          <xref ref-type="bibr" rid="ref21">21</xref>
          ], who achieved 0.7321 accuracy;
a description of the system was not provided. For some contestants, the second order
representation has proven useful. This was also the case with the overall winners for
English [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ], who trained a SVM model with RBF kernel and a SVM model with a
linear kernel for age and gender, respectively. Their feature set comprised of unigrams
and trigrams, employing also second order attributes and achieving a joint accuracy
of 0.3974. The team [
          <xref ref-type="bibr" rid="ref28">28</xref>
          ] were the overall winners of the competition. Their linear
SVM model performed with the overall accuracy of 0.5258 by employing a variety of
features: word, character and POS n-grams, capitalization (of words and sentences),
punctuation (final and per sentence), word and text length, vocabulary richness and
hapax legomena, emoticons and topic-related words.
        </p>
        <p>
          Language variety identification is a task of classifying different varieties of the
same language by determining lexical and semantic variations between them [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ].
Several studies performed classification on newspaper corpora, e.g. in Portuguese [
          <xref ref-type="bibr" rid="ref30">30</xref>
          ] and
Spanish [
          <xref ref-type="bibr" rid="ref32">32</xref>
          ]. Data from social media is another popular resource for this task, e.g. in
Spanish Twitter messages [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ] or online comments in Arabic [
          <xref ref-type="bibr" rid="ref25 ref29">25,29</xref>
          ]. For the
classification based on language variety several types of features have been considered.
Lexical variation is explored with character and/or word n-grams [
          <xref ref-type="bibr" rid="ref10 ref25 ref29 ref30 ref31">30,10,31,29,25</xref>
          ],
grammatical characteristics and syntax are represented in POS n-grams or their distribution
[
          <xref ref-type="bibr" rid="ref25 ref32 ref9">32,25,9</xref>
          ]. Variation in orthography was used as a feature by employing a list of spelling
variants [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ]. Not only linguistic, but also historical and cultural differences were
examined in [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ] by observing the share of loan words in Brazilian and European Portuguese,
while [
          <xref ref-type="bibr" rid="ref24">24</xref>
          ] used a so called ’black list’ of terms unwanted in Serbian, but accepted and
used in Croatian.
3
        </p>
      </sec>
      <sec id="sec-2-2">
        <title>Data set description and preprocessing</title>
        <p>
          PAN 2017 training set consists of tweets in four different languages grouped by tweet
authors, who are labeled by gender and language variety (Table 1). The number of
authors for both categories (gender and variety) is balanced in every language. This
training set was used for feature engineering, parameter tuning and training of the
classification model.
– Tweets-cleaned: replacing all hashtags, mentions and URLs with specific
placeholders #HASHTAG, @MENTION, HTTPURL, respectively. Tweets-cleaned is
also POS tagged (we used Averaged perceptron tagger from NLTK library[
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] trained
on POS tagged corpora for different languages found in NLTK);
– Tweets-no punctuation: removing punctuation from Tweets-cleaned;
– Tweets-no stopwords: stopwords are removed from Tweets-no punctuation. This
preprocessing step is not used on Arabic language (Tweets-no stopwords
transformation in Arabic is therefore identical to Tweets-cleaned transformation).
Finally, all tweets belonging to the same author are concatenated and used as one
document in further processing.
        </p>
      </sec>
      <sec id="sec-2-3">
        <title>Feature construction and classification model</title>
        <p>
          The usefulness of character n-grams in authorship profiling has been proven before
[
          <xref ref-type="bibr" rid="ref16 ref17 ref26">16,17,26</xref>
          ], as they contain information on punctuation, morphology and the lexis [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ].
The setting with word uni- and bigrams, and character tri- and tetragrams was applied
for gender and personality identification in [
          <xref ref-type="bibr" rid="ref26">26</xref>
          ]. For this reason most of the features
used in our model were different types of n-grams. We also used other features, such
as POS-tag sequences and features that depend on the use of external resources (an
emoji list and word lists). We performed several different parameter tuning experiments
(either manually or using the Scikit-learn grid search4 to find best values) to try to
find the best feature combination and parameters. All features were normalized with
MinMaxScaler from the Scikit-learn library [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ].
4.1
        </p>
        <sec id="sec-2-3-1">
          <title>Features</title>
          <p>
            The following n-gram features were used in our final model:
– word unigrams: calculated on lower-cased Tweets-no stopwords, TF-IDF
weighting (parameters: minimum document frequency = 10, maximum document
frequency = 80%);
– word bigrams: calculated on lower-cased Tweets-no punctuation, TF-IDF
weighting (parameters: minimum document frequency = 20, maximum document
frequency = 50%);
– word bound character tetragrams: calculated on lower-cased Tweets-cleaned,
TFIDF weighting (parameters: minimum document frequency = 4, maximum
document frequency = 80%);
– punctuation trigrams (the so-called beg-punct [
            <xref ref-type="bibr" rid="ref22">22</xref>
            ], in which the first character
is punctuation but other characters are not): calculated on lower-cased
Tweetscleaned, TF-IDF weighting (parameters: minimum document frequency = 10%,
maximum document frequency = 80%);
– suffix character tetragrams (the last four letters of every word that is at least four
characters long [
            <xref ref-type="bibr" rid="ref22">22</xref>
            ]): calculated on lower-cased Tweets-cleaned, TF-IDF
weighting (parameters: minimum document frequency = 10%, maximum document
frequency = 80%).
          </p>
          <p>
            Other features used in the experiments were calculated on Tweets-cleaned data set
transformation:
– POS trigrams: sequences of three POS tags, TF-IDF weighting (parameters:
minimum document frequency = 10%, maximum document frequency = 60%);
– emoji counts: the number of emojis in the document, counted by using the list of
emojis created by [
            <xref ref-type="bibr" rid="ref12">12</xref>
            ]5;
4 http://scikit-learn.org/stable/modules/generated/sklearn.model_selection.GridSearchCV.html
5 http://kt.ijs.si/data/Emoji_sentiment_ranking/
– document sentiment: the above-mentioned emoji list also contains the sentiment of
a specific emoji, which allowed us to calculate the sentiment of the entire document
by simply adding the sentiment of all the emojis in the document (as it turns out, this
feature works better without normalizing the resulting sentiment with the number
of all emojis in the document);
– character flood counts: we counted the number of times that three or more identical
character sequences appear in the document;
– language variety specific word lists: according to [
            <xref ref-type="bibr" rid="ref14">14</xref>
            ] there are words that are
specific for different language varieties. We managed to find an English spell checker
dictionary6 containing three different word list for three different English language
varieties (United States, Canada and Australia). We calculated the intersection of
these three word lists and removed the resulting common words from all three lists.
In this way we obtained three language variety specific word lists, which enabled us
to count the number of words appearing in a specific language variety list in every
document. These features were only used in the English variety classification task.
          </p>
          <p>We also experimented with TruncatedSVD topic modelling and Word2Vec
embeddings but these features failed to improve the performance of our model so they were not
included in the final model. Many different word count features (e.g., how many times
a specific type of word appears in the document), punctuation count features and
statistical features such as document length and average word length were also tested. All of
these features were evaluated with chi2 feature selection utility from Scikit-learn7 and
proved statistically insignificant in relation to gender and variety target values.
Moreover, they did not improve the performance of the model in the 10-fold cross-validation
experiments on the training set, which is why they are not included in the final model.
4.2</p>
        </sec>
        <sec id="sec-2-3-2">
          <title>Classification model</title>
          <p>We tested several classifiers and different parameter sets. The following classifiers from
Scikit-learn were tested:
– Linear SVM
– Logistic regression
– Random forest
– XGBoost (Extreme gradient boosting)</p>
        </sec>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>We also tested some classifier combinations:</title>
      <p>– Logistic regression bagging
– Voting classifier with majority vote between Logistic regression, linear SVM and</p>
      <p>Random forest
Best results were obtained with Logistic regression. Bagging and voting did not improve
the results. Logistic regression gave best results with C=1e2 and fit_intercept= False
6 http://wordlist.aspell.net/dicts/
7 http://scikit-learn.org/stable/modules/generated/sklearn.feature_selection.chi2.html
parameters. With the help of Scikit-learn FeatureUnion8, we were also able to specify
the weights for different types of features we used. The weights were adjusted with the
help of the following procedure:</p>
    </sec>
    <sec id="sec-4">
      <title>1. Initialize all feature weights to 1.0.</title>
      <p>2. Iterate the list of features. For every feature repeat adding or subtracting 0.1 to the
weight until the accuracy of a 10-fold cross-validation is improving. When the best
weight is found, move to the next feature on the list.
3. Repeat step 2 until the accuracy cannot be improved anymore.</p>
      <p>The weights in our final Logistic regression model were the following:
– word unigrams and word bound character tetragrams: 0.8
– suffix character tetragrams: 0.4
– emoji and character flood counts, document sentiment and language variety specific
word lists: 0.3
– POS trigrams: 0.2
– word bigrams and punctuation trigrams: 0.1</p>
      <p>We considered adjusting weights for every task and language separately but initial
experiments showed that no significant gains in accuracy can be achieved by doing
this. This weight configuration proved optimal for both classification tasks and all the
languages, which gave us some indication that no significant overfitting was taking
place. Our classification model was therefore almost identical for all the languages and
both tasks, with the exception of using language variety specific word lists as features
in the English language variety task and using no POS trigrams as features in Arabic
language.
5</p>
      <sec id="sec-4-1">
        <title>Results</title>
        <p>We present the accuracy of our model on the 10-fold cross-validation test as well as the
accuracy of the model on the PAN 2017 official test set. The results of a 10-fold
crossvalidation test are shown in Table 2. All classes are balanced, so for gender the majority
classifier’s accuracy is 0.50. For language variety, the majority classifier would achieve
0.25 for Arabic, 0.50 for Portuguese, 0.143 for Spanish and 0.167 for English. As can
be seen, the model performs best on Portuguese, where it achieved 0.8441 accuracy for
gender and 0.9883 for the language variety prediction. The model reaches the lowest
gender classification accuracy on Spanish and the lowest language variety classification
accuracy on Arabic.</p>
        <p>Accuracy results from the PAN 2017 official test set are presented in Table 3. The
official PAN 2017 evaluator also measures the accuracy of the model in terms of
predicting gender and language variety together (i.e., how many out of all the documents
were correctly classified by both the gender and language variety), which is a
measurement that was not employed in the 10-fold cross-validation experiments. Again, the
model reached the best results on Portuguese, where it achieved 0.8600 accuracy for
8 http://scikit-learn.org/stable/modules/generated/sklearn.pipeline.FeatureUnion.html
gender, 0.9838 accuracy for language variety prediction and 0.8463 accuracy for both.
The model had the worst results for joint gender and language variety prediction on
Arabic.</p>
        <p>If we compare results from the 10-fold cross validation experiment and results from
the official PAN 2017 test set, we can see that there are some differences. Surprisingly,
Arabic is the only language where the results of the 10-fold cross-validation are
better than the results on the official PAN 2017 test set on both classification tasks. On
the contrary, the model achieved higher accuracy in both of these tasks on the
Spanish official PAN 2017 test set. When it comes to English, higher accuracy for gender
classification was achieved on the 10-fold cross-validation test and higher accuracy for
language variety classification was reached on the official PAN 2017 test set (although
the difference in accuracy is very small in this case). For Portuguese, higher accuracy
for gender classification was achieved on the official PAN 2017 test set, while higher
accuracy for language variety classification was obtained in the 10-fold cross-validation
setting.</p>
        <p>In general, we can conclude that differences in the accuracy measured on 10-fold
cross-validation and official PAN 2017 test sets are not that large, meaning that our
model did not overfit in most of the tasks in all the languages. The biggest
difference in accuracy measurements is in English gender classification, where 10-fold
crossvalidation accuracy is more than 2% higher than on the official PAN 2017 test set. This
suggests that some overfitting might have occurred in this case.
6</p>
      </sec>
      <sec id="sec-4-2">
        <title>Conclusion and future work</title>
        <p>In this paper we have presented our approach to the PAN 2017 author profiling task.
We presented findings from the related work that were taken into consideration during
the planning phase of our approach. We have also described the preprocessing
techniques used, the methodology of our approach and the conducted experiments. Finally,
we have presented the results achieved in the 10-fold cross-validation setting and on the
official PAN 2017 test set. Our best results for the gender and language variety
classification tasks in terms of accuracy were achieved for the Portuguese language and stand
at 0.8600 and 0.9838, respectively. If we compare our performance with the results
of other participants of PAN 2017, we were placed second in terms of joint accuracy
achieved on both tasks, second in gender classification and third in language variety
classification. Our model won on the task of gender classification in Arabic.</p>
        <p>
          In our experience, the most difficult part of the task was finding the right features
and properly weighting their combination. Our approach confirms the results from
related work [
          <xref ref-type="bibr" rid="ref22">22</xref>
          ] that determined character n-grams as the most successful features in the
AP tasks. Other n-grams, such as word unigrams and bigrams, also work well. The
remaining features we used, i.e. POS tag sequences, emoji counts, character flood counts,
language variety specific word lists and document sentiments, do not substantially
contribute to the classification model accuracy but do, however, offer some new information
to the classifier, so they can be considered as useful when combined with other features.
        </p>
        <p>
          In the future, we plan to evaluate the model on different data sets to test and try
to improve the cross-genre performance of the model. We will also consider a deep
learning approach to gender and language variety classification. We also plan to address
the gender classification task for other languages, such as Slovenian (there is a data set
of Slovenian tweets and blogs with labeled gender [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ]), Croatian and Serbian. We will
also test our language variety classification model on the task of distinguishing between
very similar languages, such as Serbian and Croatian.
        </p>
      </sec>
      <sec id="sec-4-3">
        <title>Acknowledgments</title>
        <p>The authors acknowledge the financial support from the Slovenian Research Agency
core research programme Knowledge Technologies (P2-0103) and the project
“Resources, Tools and Methods for the Research of Nonstandard Internet Slovene"
(J66842).</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Argamon</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Goulain</surname>
            ,
            <given-names>J.B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Horton</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Olsen</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Vive la différence! text mining gender difference in french literature</article-title>
          .
          <source>Digital Humanities Quarterly</source>
          <volume>3</volume>
          (
          <issue>2</issue>
          ) (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Bird</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Nltk: the natural language toolkit</article-title>
          .
          <source>In: Proceedings of the COLING/ACL on Interactive presentation sessions</source>
          . pp.
          <fpage>69</fpage>
          -
          <lpage>72</lpage>
          . Association for Computational Linguistics (
          <year>2006</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Bougiatiotis</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Krithara</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Author profiling using complementary second order attributes and stylometric features</article-title>
          .
          <article-title>CLEF 2016 Evaluation Labs</article-title>
          and Workshop - Working Notes Papers (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Daelemans</surname>
            ,
            <given-names>W.:</given-names>
          </string-name>
          <article-title>Explanation in computational stylometry</article-title>
          .
          <source>In: International Conference on Intelligent Text Processing and Computational Linguistics</source>
          . pp.
          <fpage>451</fpage>
          -
          <lpage>462</lpage>
          . Springer (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Fišer</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Erjavec</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          , Ljubešic´,
          <source>N.: Janes v0</source>
          .
          <article-title>4: Korpus slovenskih spletnih uporabniških vsebin</article-title>
          .
          <source>Slovenšcˇina 2.0</source>
          <volume>4</volume>
          (
          <issue>2</issue>
          ),
          <fpage>67</fpage>
          -
          <lpage>99</lpage>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Franco-Salvador</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rangel</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosso</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Taulé</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Martít</surname>
            ,
            <given-names>M.A.</given-names>
          </string-name>
          :
          <article-title>Language variety identification using distributed representations of words and documents</article-title>
          .
          <source>In: Experimental IR Meets Multilinguality, Multimodality, and Interaction. Lecture Notes in Computer Science</source>
          . pp.
          <fpage>28</fpage>
          -
          <lpage>40</lpage>
          . Springer International Publishing Switzerland (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Kelly</surname>
          </string-name>
          , R.:
          <article-title>Pyenchant: A spellchecking library for python</article-title>
          . http://pythonhosted.org/pyenchant/api/enchant.html, [Online; accessed 15-January-2017]
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Koppel</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Argamon</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shimoni</surname>
            ,
            <given-names>A.R.</given-names>
          </string-name>
          :
          <article-title>Automatically categorizing written texts by author gender</article-title>
          .
          <source>Literary and Linguistic Computing</source>
          <volume>17</volume>
          (
          <issue>4</issue>
          ),
          <fpage>401</fpage>
          -
          <lpage>412</lpage>
          (
          <year>2002</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <surname>Lui</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Cook</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Classifying English documents by national dialect</article-title>
          .
          <source>In: Proceedings of Australasian Language Technology Association Workshop</source>
          . pp.
          <fpage>5</fpage>
          -
          <lpage>15</lpage>
          . Association for Computational Linguistics (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <string-name>
            <surname>Maier</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gómez-Rodríguez</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Language variety identification in Spanish tweets</article-title>
          .
          <source>In: Language Technology for Closely Related Languages and Language Variants</source>
          . pp.
          <fpage>25</fpage>
          -
          <lpage>35</lpage>
          . Association for Computational Linguistics (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Modaresi</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Liebeck</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Conrad</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Exploring the effects of cross-genre machine learning for author profiling in PAN 2016</article-title>
          .
          <article-title>CLEF 2016 Evaluation Labs</article-title>
          and Workshop - Working Notes Papers (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Novak</surname>
            ,
            <given-names>P.K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Smailovic</surname>
            <given-names>´</given-names>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            ,
            <surname>Sluban</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            ,
            <surname>Mozeticˇ</surname>
          </string-name>
          , I.:
          <article-title>Sentiment of emojis</article-title>
          .
          <source>PloS one</source>
          <volume>10</volume>
          (
          <issue>12</issue>
          ),
          <year>e0144296</year>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Pedregosa</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Varoquaux</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gramfort</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Michel</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Thirion</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Grisel</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Blondel</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Prettenhofer</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Weiss</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dubourg</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          , et al.:
          <article-title>Scikit-learn: Machine learning in Python</article-title>
          .
          <source>The Journal of Machine Learning Research</source>
          <volume>12</volume>
          ,
          <fpage>2825</fpage>
          -
          <lpage>2830</lpage>
          (
          <year>2011</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Porta</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sancho</surname>
            ,
            <given-names>J.L.</given-names>
          </string-name>
          :
          <article-title>Using maximum entropy models to discriminate between similar languages and varieties</article-title>
          .
          <source>In: Proceedings of the First Workshop on Applying NLP Tools to Similar Languages, Varieties and Dialects</source>
          . pp.
          <fpage>120</fpage>
          -
          <lpage>128</lpage>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15.
          <string-name>
            <surname>Prabhakaran</surname>
            ,
            <given-names>V.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Reid</surname>
            ,
            <given-names>E.E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rambow</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          :
          <article-title>Gender and power: How gender and gender environment affect manifestations of power</article-title>
          .
          <source>In: Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP)</source>
          . pp.
          <fpage>1965</fpage>
          -
          <lpage>1976</lpage>
          . ACL (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Rangel</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Celli</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosso</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Potthast</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stein</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Daelemans</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          :
          <article-title>Overview of the 3rd author profiling task at PAN 2015</article-title>
          .
          <article-title>In: CLEF 2015 Working Notes</article-title>
          . CEUR (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          17.
          <string-name>
            <surname>Rangel</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosso</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Chugur</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Potthast</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Trenkmann</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stein</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Verhoeven</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Daelemans</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          :
          <article-title>Overview of the author profiling task at PAN 2014</article-title>
          .
          <article-title>In: CLEF 2014 Evaluation Labs</article-title>
          and Workshop - Working Notes Papers.
          <source>CEUR</source>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <surname>Rangel</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosso</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Koppel</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stamatatos</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Inches</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          :
          <article-title>Overview of the author profiling task at pan 2013</article-title>
          . Notebook Papers of CLEF pp.
          <fpage>23</fpage>
          -
          <lpage>26</lpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19.
          <string-name>
            <surname>Rangel</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosso</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Koppel</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stamatatos</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Inches</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          :
          <article-title>Overview of the author profiling task at PAN 2013</article-title>
          .
          <article-title>In: CLEF 2013 Evaluation Labs</article-title>
          and Workshop - Working Notes Papers.
          <source>CEUR</source>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Rangel</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosso</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Potthast</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stein</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Overview of the 5th Author Profiling Task at PAN 2017: Gender and Language Variety Identification in Twitter</article-title>
          . In: Cappellato,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Ferro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            ,
            <surname>Goeuriot</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            ,
            <surname>Mandl</surname>
          </string-name>
          , T. (eds.)
          <article-title>Working Notes Papers of the CLEF 2017 Evaluation Labs</article-title>
          .
          <source>CEUR Workshop Proceedings, CLEF and CEUR-WS.org (Sep</source>
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Rangel</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosso</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Verhoeven</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Daelemans</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Potthast</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Stein</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Overview of the 4th author profiling task at PAN 2016: cross-genre evaluations</article-title>
          .
          <source>In: CLEF 2016 Working Notes. CEUR-WS.org</source>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Sapkota</surname>
            ,
            <given-names>U.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bethard</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Montes-</surname>
            y-Gómez,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Solorio</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Not all character n-grams are created equal: A study in authorship attribution</article-title>
          .
          <source>In: NAACL HLT</source>
          <year>2015</year>
          ,
          <article-title>The 2015 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies</article-title>
          , Denver, Colorado, USA, May 31 - June 5,
          <year>2015</year>
          . pp.
          <fpage>93</fpage>
          -
          <lpage>102</lpage>
          (
          <year>2015</year>
          ), http://aclweb.org/anthology/N/N15/N15-1010.pdf
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          23.
          <string-name>
            <surname>Soares da Silva</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Measuring and parameterizing lexical convergence and divergence between European and Brazilian Portuguese: endo/exogeneousness and foreign and normative influence</article-title>
          .
          <source>In: Advances in Cognitive Sociolinguistics</source>
          . p.
          <fpage>41</fpage>
          -
          <lpage>84</lpage>
          . De Gruyter Mouton (
          <year>2010</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          24.
          <string-name>
            <surname>Tiedemann</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          , Ljubešic´, N.:
          <article-title>Efficient discrimination between closely related languages</article-title>
          .
          <source>In: Proceedings of COLING 2012</source>
          . p.
          <fpage>2619</fpage>
          -
          <lpage>2634</lpage>
          . COLING (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>
          25.
          <string-name>
            <surname>Tillmann</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Al-Onaizan</surname>
            ,
            <given-names>Y.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mansour</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Improved sentence-level arabic dialect classification</article-title>
          .
          <source>In: Proceedings of the VarDial Workshop</source>
          . pp.
          <fpage>110</fpage>
          -
          <lpage>119</lpage>
          . Association for Computational Linguistics (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          26.
          <string-name>
            <surname>Verhoeven</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Daelemans</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Plank</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Twisty: a multilingual twitter stylometry corpus for gender and personality profiling</article-title>
          .
          <source>In: 10th International Conference on Language Resources and Evaluation (LREC</source>
          <year>2016</year>
          )
          <article-title>(</article-title>
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          27.
          <string-name>
            <surname>Vogel</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jurafsky</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>He said, she said: Gender in the acl anthology</article-title>
          .
          <source>In: Proceedings of the ACL-2012 Special Workshop on Rediscovering 50 Years of Discoveries</source>
          . pp.
          <fpage>33</fpage>
          -
          <lpage>41</lpage>
          . ACL (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          28.
          <string-name>
            <surname>Busger</surname>
            op Vollenbroek,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Carlotto</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kreutz</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Medvedeva</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pool</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Bjerva</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Haagsma</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nissim</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Gronup: Groningen user profiling notebook for PAN at clef 2016</article-title>
          .
          <article-title>CLEF 2016 Evaluation Labs</article-title>
          and Workshop - Working Notes Papers (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          29.
          <string-name>
            <surname>Zaidan</surname>
            ,
            <given-names>O.F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Callison-Burch</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Arabic dialect identification</article-title>
          .
          <source>Computational Linguistics</source>
          <volume>40</volume>
          (
          <issue>1</issue>
          ),
          <fpage>171</fpage>
          -
          <lpage>202</lpage>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref30">
        <mixed-citation>
          30.
          <string-name>
            <surname>Zampieri</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gebre</surname>
            ,
            <given-names>B.G.</given-names>
          </string-name>
          :
          <article-title>Automatic identification of language varieties: The case of Portuguese</article-title>
          . In: Jancsary,
          <string-name>
            <surname>J</surname>
          </string-name>
          . (ed.)
          <source>Proceedings of KONVENS 2012</source>
          . pp.
          <fpage>233</fpage>
          -
          <lpage>237</lpage>
          . ÖGAI (
          <year>September 2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref31">
        <mixed-citation>
          31.
          <string-name>
            <surname>Zampieri</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gebre</surname>
            ,
            <given-names>B.G.</given-names>
          </string-name>
          :
          <article-title>Varclass: An open source language identification tool for language varieties</article-title>
          .
          <source>In: Proceedings of the Ninth International Conference on Language Resources and Evaluation</source>
          . pp.
          <fpage>3305</fpage>
          -
          <lpage>3308</lpage>
          . LREC (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref32">
        <mixed-citation>
          32.
          <string-name>
            <surname>Zampieri</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gebre</surname>
            ,
            <given-names>B.G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Diwersy</surname>
            ,
            <given-names>S.:</given-names>
          </string-name>
          <article-title>N-gram language models and POS distribution for the identification of Spanish varieties</article-title>
          .
          <source>In: Proceedings of TALN 2013</source>
          . p.
          <fpage>580</fpage>
          -
          <lpage>587</lpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>