<!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>Multilingual Author Profiling from SMS</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Deepanshu Gaur</string-name>
          <email>deepanshugaur1998@gmail.com</email>
          <xref ref-type="aff" rid="aff2">2</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Meghna Ayyar</string-name>
          <email>leomi7ayyar@gmail.com</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ashutosh Kumar Singh</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Rajiv Ratn Shah</string-name>
          <email>rajivratn@iiitd.ac.in</email>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Delhi Technological University</institution>
          ,
          <addr-line>Delhi 110042</addr-line>
          ,
          <country country="IN">INDIA</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Indraprastha Institute of Information Technology</institution>
          ,
          <addr-line>Delhi 110020</addr-line>
          ,
          <country country="IN">INDIA</country>
        </aff>
        <aff id="aff2">
          <label>2</label>
          <institution>Maharaja Agrasen Institute of Technology</institution>
          ,
          <addr-line>New Delhi 110086</addr-line>
          ,
          <country country="IN">INDIA</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>This paper presents our solution for the Author Profiling task in the FIRE challenge 2018. This task mainly focuses on finding the age and gender of people from South Asian countries such as India, Pakistan, Nepal, and Bangladesh from their short messaging services (SMS). Since most of these people use a combination of languages such as Hindi, English and Roman Urdu (i.e., multilingual text) on social media platforms such as WhatsApp, Facebook, and Twitter, they also follow the same practice in SMS while communicating. Thus, we aim to perform author profiling by identifying gender and age of people by analyzing their multilingual SMS. In this paper, we classify the gender of a person into male or female categories. Moreover, we classify age into the following three age groups: (i) 15-19, (ii) 20-24, and (iii) above 25. After preprocessing steps including tokenization and normalization, we provide the results of an experiment with several machine learning models like SVM, Random Forest, and Naive Bayes. Experimental results show that Naive Bayes provides competitive results when used with bilingual dictionary for translation and count vectorizer for feature extraction.</p>
      </abstract>
      <kwd-group>
        <kwd>Multilingual Corpus</kwd>
        <kwd>Naive Bayes</kwd>
        <kwd>SMS</kwd>
        <kwd>Author Profiling</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        The ubiquitous availability of smartphones and affordable network infrastructure
has helped social media in increasing its popularity dramatically, clearly seen in
Fig.1 taken from [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ]. Often people share their thoughts, ideas, opinion, feedback,
and sentiments on social media platforms such as blogging websites, Twitter,
WhatsApp, YouTube, and Facebook. Social media has helped in bridging the
gap between different communities. Often many people use multilingual text on
social media because (i) they feel more comfortable to express themselves in local
languages, (ii) they have some affinity towards their native languages, (iii) they
want to increase their reachability to even those people who cannot understand
      </p>
      <p>English well, and (iv) probably, they themselves might not be very good at
expressing their thoughts via English. Social media platforms understand this
need for using multilingual text in communication. Thus, they allow users to
choose their preferred language from a list of languages that are used around
the world.</p>
      <p>Authorship Profiling(AP) task, which is predicting the authorship of a text
only by extracting the linguistic and stylistic features, has a number of potential
applications. For instance, it has been a pertinent task to the intelligence and
security agencies that monitor author information. Moreover, author details can
be of utmost importance in cyber forensics for identifying fake profiles, fraud
messages and social harassment etc. For companies focused on marketing, this
information will be definitely helpful in providing clear understanding of the
target audience, solely by using blogs and reviews as a source.</p>
      <p>
        Much work has been done on author profiling in languages such as English
and other European languages like German, French, Spanish etc. However, a very
limited research attention has been paid to South Asian languages such as Roman
Urdu, Hindi etc. For example, in Hindi we say which we can
write using the English script as which translates to .
While, in Urdu [
        <xref ref-type="bibr" rid="ref15">15</xref>
        ], we say which we can write with the English
alphabets (Roman Urdu) as which translates to .
Translations like these coupled with analysis of the patterns seen in the common
text can prove beneficial in profiling the South Asian users too.
      </p>
      <p>
        The article [
        <xref ref-type="bibr" rid="ref26">26</xref>
        ] shows a worldwide increase in the number of people who use
mobiles and smartphones to connect to the social media platforms. The
following statistics reported in the article [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] is very interesting but at the same time
very disturbing too. A huge number of user profiles on Facebook are reported
fake. This necessitates that, appropriate action should be taken to address the
increasing number of the fake profile. It is therefore essential to develop
automatic tools and techniques for the detection of fake profiles from different types
of texts like Facebook posts/comments, SMS texts, Twitter tweets, blogs posts
etc. AP is one technique that acts as a starting step for the detection of fake
user profiles.
      </p>
      <p>The rest of the paper is organized as follows. Sections 2 and 3 describe related
work and methodology, respectively. Evaluation is presented in Section 4. Finally,
Section 5 concludes the paper.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Related Work</title>
      <p>
        The findings of Martine et al. [
        <xref ref-type="bibr" rid="ref13">13</xref>
        ] suggested that in author profiling tasks
done before, the texts used were mostly monolingual as is the case provided
by BNC [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], where they used only parts of the British National Corpus for their
work. Pardo et al. [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ] provided an overview about author profiling, its uses,
and how the traits apart from gender and age, like personality type etc. could
also be used as author aspects. There has been a growing interest in including
a multitude of dialects and languages for author profiling, with PAN including
different languages in their shared tasks. Different dialects that were explored
are Portuguese varieties Zampieri et al. [
        <xref ref-type="bibr" rid="ref28 ref29">28, 29</xref>
        ], Castro et al. [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], English
varieties Lui, Cook [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], Romanian dialects Ciobanu, Dinu [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] and Chinese varieties
Xu et al. [
        <xref ref-type="bibr" rid="ref27">27</xref>
        ].
      </p>
      <p>
        For features to be used for the task, simple n-gram models or using word
ngrams have been observed to be effective in getting better results than character
n-grams as proved by Maharajan et al. [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ]. The major drawbacks of
Maharajan et al. [
        <xref ref-type="bibr" rid="ref11">11</xref>
        ] approach was that they analyzed only monolingual text. Estival
et al. [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] showed how author profiling tasks could be implemented for texts
pertaining to emails also. But both these studies did not include the use of
multilingual text, which is the most preferred way of communication among most
of the people. Rangel et al. [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] pointed out that stylistic features could be
useful in learning demographic traits. However, this suffered from a shortcoming
that the results of stylistic features did not generalize for other traits like gender
and thus have been ranked lower in preference while performing classification
of gender for profiling. Many papers Zampieri et al. [
        <xref ref-type="bibr" rid="ref28 ref29">28, 29</xref>
        ], Castro et al. [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ],
Lui, Cook [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], Ciobanu, Dinu [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], Xu et al. [
        <xref ref-type="bibr" rid="ref27">27</xref>
        ] have focused so far on using
monolingual text only, which encouraged us and many others to pursue further
research in multilingual author profiling.
      </p>
      <p>
        Gonzalez et al. [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] showed that POS and n-grams have been useful for the
extraction of stylistic features. Unlike the previously mentioned papers, Gonzalez
et al. [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] have used multilingual text for their study. Multilingual author profiling
done by Bayot, Goncalves [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ] have shown that word vectors outperform TF-IDF
when used with SVM and obtained best results on a dataset containing both
Spanish and English text.
      </p>
      <p>
        Research in the area of author profiling for less explored languages played
a huge role in motivating different researchers to pursue their study further in
such languages and one such study Kapociute et al. [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] on the Lithuanian literary
texts shed light on some results that were significant. They found that it was
easy to determine gender and age when using literary texts than with
parliamentary scripts. Rangel et al. [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ] on PAN-AP 2016 task focused on cross-genre
evaluation. The participants for the task were given different genres for
training, early bird and testing, and the subcorpus for this contained three different
languages, English, Spanish and Dutch. The final result was that most of the
teams had scored below the baseline for Dutch but were significantly better for
English and Spanish. This points to the fact that the profiling task itself heavily
depends on the nature of the language being considered. For the social media
corpus that was provided in the same task, they concluded that there is no such
impact of the cross-genre evaluation on language such as English. However, for
a language such as Spanish, there is a much greater impact on doing this joint
evaluation for age identification task but not so much for gender classification.
Another study by Rangel et al. [
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] on cross-genre evaluation described some
notable approaches in the field of cross-genre in author profiling. The results
obtained varied for different languages with different models.
      </p>
      <p>
        Most of the studies in the field of author profiling Zampieri et al. [
        <xref ref-type="bibr" rid="ref28 ref29">28, 29</xref>
        ],
Castro et al. [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], Lui, Cook [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ], Ciobanu, Dinu [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], Xu et al. [
        <xref ref-type="bibr" rid="ref27">27</xref>
        ] has been restricted
to the European languages, Middle East, Japanese, and Chinese. However, a
limited work has been done on South Asian languages such as Roman Urdu,
Hindi, and other regional languages of the South Asian countries.
3
      </p>
    </sec>
    <sec id="sec-3">
      <title>Methodology</title>
      <p>The problem at hand is to use multilingual text collected from SMS to perform
author profiling by classifying gender and age traits. The following sections
describe in detail the various steps that have been performed to achieve the results.
Section 3.2 describes the pre-processing steps, followed by the Section 3.3 which
discusses feature extraction techniques applied. Finally, Section 3.4 deals with
model selection to achieve the best results.
3.1</p>
      <sec id="sec-3-1">
        <title>System Architecture</title>
        <p>The complete architecture of the proposed system has been summarized in Fig. 2.
The pipeline starts with the collection of data and its subsequent preprocessing.
This is followed by the process of feature extraction which has been described
in detail in Section 3.3. Once the features were extracted as vectors, we
experimented with various models and selected the one which performs best by
employing cross validation and then testing the model by predicting labels on
the unseen data.
3.2</p>
      </sec>
      <sec id="sec-3-2">
        <title>Data Preprocessing</title>
        <p>Since the data given to us is raw, noisy and also prone to more errors, it cannot
be directly used for analysis. It is necessary to perform some preprocessing to
make the data more suitable so that we can extract some information from it by
feeding it to our model. The following preprocessing steps were performed:
1. Tokenization: Tokenization refers to the breaking down of the given text
into individual words and symbols called as tokens. The words, phrases,
symbols, and other characters present in a text are the basic characteristics
of a document or in our case the SMS. Hence we use the NLTK library’s
word tokenizer to perform tokenization of the corpus. Consider an example
for a tokenization of a text like "Natural language processing is fun" will
give out different tokens such as ‘Natural’, ‘language’, ‘processing’, ‘is’ and
‘fun’. People may use word tokenization or sentence tokenization depending
upon their needs.
2. Normalization: Normalization is another type of preprocessing step which
is performed to transform the data into a consistent form. It involves a
number of techniques that ensure that the text is converted into a canonical
form. We perform the following steps to normalize our corpus:
– Stopwords removal: Many words like the, is, are etc. occur frequently
in all the text. They do not convey any new meaning and are essentially
used just to join words and sentences. They are not necessary to derive
information from the text and hence are removed from our corpus by
using the stopwords package from the NLTK library.
– Punctuation removal: Punctuation marks, similar to stopwords do
not convey special meaning. Hence they are also discarded from the texts
using NLTK library.
– Text case conversion We convert all the text to lower case before
storing (using .lower() method in python). Capital letter and small letters
of the same alphabets convey similar meaning and hence the conversion
is necessary to ensure that they both are not treated as separate entities
of the text under consideration. For instance, if we consider a text like
"Apple is Red" since the previous text will also convey the same meaning
as “apple is red” we may change the case of all the words to lower/upper
so as to normalize the data.
3.3</p>
      </sec>
      <sec id="sec-3-3">
        <title>Text Feature Extraction</title>
        <p>After creating tokens, extracting features is an important task that needs to be
performed before using our model so that we can predict from texts. Each token
after creating vectors will act as a feature for our model.</p>
        <p>
          For extracting relevant features from the text we have used two major feature
extraction techniques namely TF-IDF [
          <xref ref-type="bibr" rid="ref25">25</xref>
          ] and count vectorizer [
          <xref ref-type="bibr" rid="ref24">24</xref>
          ]. TF-IDF
gives a numerical value to the importance of each word in a particular text
whereas count vectorizer gives us a document-term matrix which is then used
as a feature for each document or in other words it counts the number of time a
word is appearing in a text. The theory behind using count vectorizer is that the
more frequent a word or token is the more central or important it might be to
the text we used. It is an effective way to determine significant words in a text
based on the number of times they are used. It is observed that word vectors
perform the best in each of the classification tasks that we were given. Thus, we
choose count vectorizer as our final text feature extraction technique.
3.4
        </p>
      </sec>
      <sec id="sec-3-4">
        <title>Model Selection</title>
        <p>We are given the task of classifying the author’s gender and age from his/her
text and thus this task falls into the category of supervised learning. For gender
identification, we have binary classification task of predicting labels as either
male or female. For the age identification, we have a multi-classification task
whose goal is to predict age among three classes: 15-19, 20-24, 25 and above.</p>
        <p>
          We use cross-validation with a ratio of 80:20 for the training and testing
dataset. While considering different models a cheat sheet [
          <xref ref-type="bibr" rid="ref23">23</xref>
          ] provided by scikit
learn is also considered. After analyzing the problem we conclude that the model
to be used must fall into the category of supervised learning thus we choose
models that are part of the same. Since the dataset given to us is not large
we select Random Forest, Linear Support Vector Machines (SVM) and Logistic
Regression. Also considering a fact that dataset given to us is in the form of text
we opt for Naïve Bayes model as well. Following models from Scikit-Learn [
          <xref ref-type="bibr" rid="ref19">19</xref>
          ]
library are selected :
1. Random Forest
2. Linear Support Vector Machines (SVM)
3. Naive Bayes
4. Logistic Regression
4
        </p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>Evaluation</title>
      <p>Section 4.1 gives a description of the data while Section 4.2 provides insight into
the experimental setup used. Section 4.3 describes the evaluation metrics used
and Section 4.4 gives details about the results5 obtained and also provides some
analysis of the same.
4.1</p>
      <sec id="sec-4-1">
        <title>Dataset Description</title>
        <p>Our dataset contains the multilingual text of Roman Urdu and English in
different text files. We classify gender as one of the two given classes, male or female
and similarly, for age, we used three categories: 15-19, 20-24, 25 and above.</p>
        <p>There are 350 text files and each contains a SMS written in Roman Urdu or
English. Some of the messages from the dataset looks something like : "Abhi tak
to ni hai", "Check kr rahe hain ameer sahab" and "Aa ni rahe?". A separate
CSV file is also provided which contains all the text files. The details have been
summarized in the Table 1. Apart from the training corpus, we are also provided
with the testing corpus to evaluate our final results that contained 150 text files.
The task is, therefore, to predict the gender and age corresponding to AuthorId
and also predict the gender and age individually.
This section describes the approaches and resources employed for model selection
to obtain best results for the task.
5 Source code is made available in downloads folder in repository at https://
bitbucket.org/deep1998/author-profiling-on-sms/downloads/
Next, we use SVM, which performs badly on the dataset and rank lowest on
gender with accuracy = 0.70 with parameters C=1.0, kernel=’rbf’, degree=3,
gamma=’auto’, coef0=0.0, shrinking=True, probability=False. Accuracy is
0.52 for age and thus perform badly as well on age classification task. Finally,
we use logistic regression model with parameters: penalty=’l2’, dual=False,
tol=0.0001, C=1.0(for gender), C=1.0(for age), fit _intercept=True,
intercept _scaling=1 which gets an accuracy of 0.82 for gender and a value of
0.54 for age and both values are close to the results obtained by Naive Bayes
model. Out of all the models used we get best results with the Naive Bayes
classifier(accuracy of 0.87 and 0.60 for gender and age respectively), which
is used with the parameters: alpha=1.0, fit_prior=True, class_prior=None.
For both age and gender classification task we use the same Naive Bayes
classification model to evaluate the performance.
4.3</p>
      </sec>
      <sec id="sec-4-2">
        <title>Evaluation Measures</title>
        <p>
          Accuracy [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] has been used as the metric for evaluating classification models
in our experiments. Formally, accuracy has the following definition which says
accuracy is the ratio between a total number of correct predictions Nc upon total
number of predictions Nt :
        </p>
        <p>Accuracy =</p>
        <p>N c</p>
        <p>N t</p>
      </sec>
      <sec id="sec-4-3">
        <title>Result and Analysis</title>
        <p>We tested the accuracy of our Naive Bayes classifier for both the tasks on both
the datasets : (i) Official dataset given for training (ii) Official test dataset (only
for testing). The accuracy for the gender classification task was 0.87 and the
accuracy for the age classification task was 0.60 on the training dataset(Table
2). The accuracy on the test dataset for the gender classification task was 0.75
and for the age classification task was 0.64 and jointly for both the accuracy was
found to be 0.47(see Table 3).</p>
        <p>The model performed its best on the gender classification task achieving
competitive accuracy and gave a bit lower accuracy for the age classification
task. By comparing the test results with training results, we found that the
results were better on test dataset for age classification task than on training
dataset which might signify that the model might generalize well for the age
classification task as it performs well on unseen data. In contrast, this also points
out that for gender classification the model could be overfitting on the training
dataset which has lead to a drop in the accuracy of the testing dataset.</p>
        <p>Table 4 summarizes the final results of other teams that participated in the
FIRE’18 task. We were ranked 4th in the competition with a joint accuracy
of 0.47. Highest accuracy was achieved by the first team whose joint accuracy
was 0.57. The lowest joint accuracy achieved in the competition was 0.23. The
baseline scores for joint accuracy was 0.32 and our results like above this base
limit, showing that the model makes progress from the current state of the art
and perform efficiently.
5</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>Conclusion and Future Work</title>
      <p>
        To conclude our study, we say that we have presented our approach to an
intriguing task of FIRE’18, the Multilingual Author Profiling on SMS. Previous
research work [
        <xref ref-type="bibr" rid="ref20 ref21 ref22">21, 20, 22</xref>
        ] have also been taken into consideration while
deciding the best approach for the task. Detailed preprocessing techniques with their
proper methodologies as well as other approaches such as using bilingual
dictionaries have been discussed in a lucid manner. Lastly, we have presented the
results achieved on the official FIRE 18-Multilingual Author Profiling on SMS test
set. The best results for the gender and age classification tasks using accuracy as
an evaluation measure were achieved with values 0.75 and 0.64 respectively and
for jointly value was 0.47. The results of the competition made our team stand at
fourth position globally in terms of joint accuracy, second in age classification
and fourth for gender classification in the FIRE’18.
      </p>
      <p>
        We conclude from our study that, to identify age and gender from a
multilingual corpus, using a bilingual dictionary can be an efficient method to translate
Roman Urdu to English as supported by Fatima et al. [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ]. Though using
dictionary is an efficient way but some drawbacks of using dictionary has also been
observed. For instance, if words in the dictionary are not translated properly it
may affect the results. Moreover, different writing styles in messages nowadays
can cause a problem in understanding meaning of the sentences and may affect
the results. For example, people may write the word Please as Plz or Pls and
word like Good as gud and in many other ways as well.
      </p>
      <p>We aim to extend the model by making it more efficient by using different
techniques we did not explore such as using other features like POS or n-grams,
combined with the ones we already tried. So far the text contained two languages
but in the future, it would be beneficial to include more South Asian languages
as they are relatively less explored and contain potential to be very useful.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Bayot</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gonçalves</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>Multilingual author profiling using word embedding averages and svms</article-title>
          .
          <source>In: Software, Knowledge, Information Management &amp; Applications (SKIMA)</source>
          ,
          <year>2016</year>
          10th International Conference on. pp.
          <fpage>382</fpage>
          -
          <lpage>386</lpage>
          . IEEE (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Castro</surname>
            ,
            <given-names>D.W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Souza</surname>
            ,
            <given-names>E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Vitório</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Santos</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Oliveira</surname>
            ,
            <given-names>A.L.</given-names>
          </string-name>
          :
          <article-title>Smoothed n-gram based models for tweet language identification: A case study of the brazilian and european portuguese national varieties</article-title>
          .
          <source>Applied Soft Computing</source>
          <volume>61</volume>
          ,
          <fpage>1160</fpage>
          -
          <lpage>1172</lpage>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Ciobanu</surname>
            ,
            <given-names>A.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dinu</surname>
            ,
            <given-names>L.P.:</given-names>
          </string-name>
          <article-title>A computational perspective on the romanian dialects</article-title>
          .
          <source>In: LREC</source>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Corpus</surname>
            ,
            <given-names>B.N.</given-names>
          </string-name>
          :
          <article-title>Bnc home page</article-title>
          , http://www.natcorp.ox.ac.uk/
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Estival</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gaustad</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pham</surname>
            ,
            <given-names>S.B.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Radford</surname>
            ,
            <given-names>W.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hutchinson</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>Author profiling for english emails</article-title>
          .
          <source>In: Proceedings of the 10th Conference of the Pacific Association for Computational Linguistics</source>
          . pp.
          <fpage>263</fpage>
          -
          <lpage>272</lpage>
          (
          <year>2007</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Fatima</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Hasan</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Anwar</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nawab</surname>
            ,
            <given-names>R.M.A.</given-names>
          </string-name>
          :
          <article-title>Multilingual author profiling on facebook</article-title>
          .
          <source>Information Processing &amp; Management</source>
          <volume>53</volume>
          (
          <issue>4</issue>
          ),
          <fpage>886</fpage>
          -
          <lpage>904</lpage>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>González-Gallardo</surname>
            ,
            <given-names>C.E.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Torres-Moreno</surname>
            ,
            <given-names>J.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rendón</surname>
            ,
            <given-names>A.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sierra</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          :
          <article-title>Efficient social network multilingual classification using character, pos n-grams and dynamic normalization</article-title>
          .
          <source>arXiv preprint arXiv:1702.06467</source>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Google</surname>
          </string-name>
          :
          <article-title>Machine learning crash course</article-title>
          , https://developers.google.com/ machine-learning/crash-course/classification/accuracy
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9. Kapočiu¯te˙-Dzikiene˙,
          <string-name>
            <given-names>J.</given-names>
            ,
            <surname>Utka</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Šarkute</surname>
          </string-name>
          <string-name>
            <surname>˙</surname>
          </string-name>
          ,
          <string-name>
            <surname>L.</surname>
          </string-name>
          :
          <article-title>Authorship attribution and author profiling of lithuanian literary texts</article-title>
          .
          <source>In: The 5th Workshop on Balto-Slavic Natural Language Processing</source>
          . pp.
          <fpage>96</fpage>
          -
          <lpage>105</lpage>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          10.
          <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 the Australasian Language Technology Association Workshop 2013 (ALTA</source>
          <year>2013</year>
          ). pp.
          <fpage>5</fpage>
          -
          <lpage>15</lpage>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          11.
          <string-name>
            <surname>Maharjan</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shrestha</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Solorio</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          :
          <article-title>A simple approach to author profiling in mapreduce</article-title>
          .
          <source>In: CLEF (Working Notes)</source>
          . pp.
          <fpage>1121</fpage>
          -
          <lpage>1128</lpage>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          12.
          <string-name>
            <surname>Markov</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gómez-Adorno</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sidorov</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Gelbukh</surname>
            ,
            <given-names>A.F.</given-names>
          </string-name>
          :
          <article-title>Adapting cross-genre author profiling to language and corpus</article-title>
          . In: CLEF (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          13.
          <string-name>
            <surname>Martinc</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Škrjanec</surname>
            ,
            <given-names>I.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zupan</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pollak</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          : Pan 2017:
          <article-title>Author profiling-gender and language variety prediction</article-title>
          .
          <source>Cappellato</source>
          et al.[
          <volume>13</volume>
          ] (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          14.
          <string-name>
            <surname>Mathur</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shah</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sawhney</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mahata</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          :
          <article-title>Detecting offensive tweets in hindienglish code-switched language</article-title>
          .
          <source>In: Proceedings of the Sixth International Workshop on Natural Language Processing for Social Media</source>
          . pp.
          <fpage>18</fpage>
          -
          <lpage>26</lpage>
          . Association for Computational Linguistics (
          <year>2018</year>
          ), http://aclweb.org/anthology/W18-3504
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          15. Omniglot:
          <article-title>Omniglot urdu phrases</article-title>
          , https://www.omniglot.com/language/ phrases/urdu.php
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          16.
          <string-name>
            <surname>Rangel</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rosso</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Use of language and author profiling: Identification of gender and age</article-title>
          .
          <source>Natural Language Processing and Cognitive Science</source>
          <volume>177</volume>
          (
          <year>2013</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>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: Working Notes Papers of the CLEF</source>
          <year>2016</year>
          <article-title>Evaluation Labs</article-title>
          . CEUR Workshop Proceedings/Balog, Krisztian [edit.]; et al. pp.
          <fpage>750</fpage>
          -
          <lpage>784</lpage>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          18.
          <string-name>
            <given-names>Rangel</given-names>
            <surname>Pardo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.M.</given-names>
            ,
            <surname>Celli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            ,
            <surname>Rosso</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            ,
            <surname>Potthast</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Stein</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            ,
            <surname>Daelemans</surname>
          </string-name>
          ,
          <string-name>
            <surname>W.</surname>
          </string-name>
          :
          <article-title>Overview of the 3rd author profiling task at pan 2015</article-title>
          . In:
          <article-title>CLEF 2015 Evaluation Labs</article-title>
          and Workshop Working Notes Papers. pp.
          <fpage>1</fpage>
          -
          <lpage>8</lpage>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          19. Scikit:
          <article-title>Scikit learn home page</article-title>
          , http://scikit-learn.org/stable/
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          20.
          <string-name>
            <surname>Shah</surname>
            ,
            <given-names>R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Zimmermann</surname>
          </string-name>
          , R.:
          <article-title>Multimodal analysis of user-generated multimedia content</article-title>
          . Springer (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          21.
          <string-name>
            <surname>Shaikh</surname>
            ,
            <given-names>A.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Jain</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Rawat</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shah</surname>
            ,
            <given-names>R.R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kumar</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Improving accuracy of sms based faq retrieval system</article-title>
          .
          <source>In: Multilingual Information Access in South Asian Languages</source>
          , pp.
          <fpage>142</fpage>
          -
          <lpage>156</lpage>
          . Springer (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          22.
          <string-name>
            <surname>Shaikh</surname>
            ,
            <given-names>A.D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shah</surname>
            ,
            <given-names>R.R.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Shaikh</surname>
          </string-name>
          , R.:
          <article-title>Sms based faq retrieval for hindi, english and malayalam</article-title>
          .
          <source>In: Post-Proceedings of the 4th and 5th Workshops of the Forum for Information Retrieval Evaluation</source>
          . p.
          <fpage>9</fpage>
          .
          <string-name>
            <surname>ACM</surname>
          </string-name>
          (
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>23. sklearn: cheat-sheet, http://scikit-learn.org/stable/tutorial/machine_ learning_map/index.html</mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>24. sklearn: Count-vectorizer, http://scikit-learn.org/stable/modules/ generated/sklearn.feature_extraction.text.CountVectorizer.html</mixed-citation>
      </ref>
      <ref id="ref25">
        <mixed-citation>25. sklearn: tf-idf, http://scikit-learn.org/stable/modules/generated/sklearn. feature_extraction.text.TfidfVectorizer.html</mixed-citation>
      </ref>
      <ref id="ref26">
        <mixed-citation>
          26. Statista: Statistics page, https://www.statista.com/statistics/278414/ number-of
          <article-title>-worldwide-social-network-users/</article-title>
        </mixed-citation>
      </ref>
      <ref id="ref27">
        <mixed-citation>
          27.
          <string-name>
            <surname>Xu</surname>
            ,
            <given-names>F.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Wang</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Li</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          :
          <article-title>Sentence-level dialects identification in the greater china region</article-title>
          .
          <source>arXiv preprint arXiv:1701</source>
          .
          <year>01908</year>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref28">
        <mixed-citation>
          28.
          <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>
          .
          <source>In: KONVENS2012-The 11th Conference on Natural Language Processing</source>
          . pp.
          <fpage>233</fpage>
          -
          <lpage>237</lpage>
          .
          <source>Österreichischen Gesellschaft für Artificial Intelligende (ÖGAI)</source>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref29">
        <mixed-citation>
          29.
          <string-name>
            <surname>Zampieri</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Malmasi</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Sulea</surname>
            ,
            <given-names>O.M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Dinu</surname>
            ,
            <given-names>L.P.:</given-names>
          </string-name>
          <article-title>A computational approach to the study of portuguese newspapers published in macau</article-title>
          .
          <source>In: Proceedings of Workshop on Natural Language Processing Meets Journalism (NLPMJ)</source>
          . pp.
          <fpage>47</fpage>
          -
          <lpage>51</lpage>
          (
          <year>2016</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>