<!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>WE, and ML Models to Detect Emotions and Threats in Urdu</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Bénédicte Diot-Parvaz-Ahmad</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Pierre Magistry</string-name>
          <email>pierre.magistry@inalco.fr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Ilaine Wang</string-name>
          <email>ilaine.wang@inalco.fr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Damien Nouvel</string-name>
          <email>damien.nouvel@inalco.fr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>INALCO ERTIM</institution>
          ,
          <addr-line>2 rue de Lille, 75007 Paris</addr-line>
          ,
          <country country="FR">France</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2022</year>
      </pub-date>
      <abstract>
        <p>Our participation in the EmoThreat 2022 challenge relied on 3 distinct methods. We used algorithms based on BERT, a traditional statistic method and unsupervised Multi Word Expression (MWE) extraction to resolve the two proposed tasks to classify Urdu tweets. Task A consisted in classifying tweets into 6 classes of emotions. Task B was subdivided into 2 sub-tasks: B1) detecting threat and B2) specifying if the threat targets a single person or a group. For task A, the unsupervised MWE extraction method obtained the best results. For task B, the BERT based approach was more eficient to identify threats and the ML traditional method turned out to be the best among challenge participants to detect individual or collective threat. After discussing the types of errors, we suggest some guidelines for further improvement of those models.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
    </sec>
    <sec id="sec-2">
      <title>2. Literary Review</title>
      <p>
        Several approaches have been experimented on very similar tasks during the last years. In
Zameen and Sayeed [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], the authors used an approach based on Markov chains for predicting
the sentiment of Urdu tweets (classification along 3 classes), which is very close to task A. In
Khan et al. [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], deep learning methods had been implemented for Urdu sentiment analysis
and in Khan et al. [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ], the BERT model was used for classifying sentiments in Urdu texts with
multi-labels. In Muhammad et al. [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], authors used in their ML approach techniques based on
n-grams at word and character levels to extract relevant features for detecting abusive language
in Urdu social medias (close to task B). In Das et al. [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], the base models used again for detecting
abusive language in Indic languages including Urdu were m-BERT and MuRIL. Our work was
based on these approaches and an original one using MWE unsupervised extraction.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Datasets</title>
      <p>
        Organizers of EmoThreat 2022 provided train and test datasets for each task. For task A, the
train set consisted of 7,801 tweets and the test set of 1,951 tweets. For task B, there were 3,564
tweets in the train set and 635 in the test one. As commonly seen in classification tasks, datasets
are unbalanced, especially for task B. Further details are given in Amjad et al. [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ].
      </p>
      <p>
        We also used an extra set of tweets from Batra et al. [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ], which contained more than one
million Urdu tweets. We selected and annotated a small part of these to enrich our train dataset.
      </p>
      <p>In addition to those datasets, we also conducted a small annotation of the test dataset. Our
idea was to have an idea of the annotation agreement between our Urdu speaker and EmoThreat
organizers and of the required human efort to conduct the considered task. Those annotations
were not used to learn models for our run submissions. This resulted in 60 tweets annotated,
among which 14 of them did not receive the same class than those provided by organizers. The
agreement rate is 0.78 and Cohen’s Kappa 0.67, which reveals a strong agreement.</p>
    </sec>
    <sec id="sec-4">
      <title>4. Systems</title>
      <p>Three approaches have been implemented. For both tasks, we used models provided by the
HuggingFace repository. In addition, we used and unsupervised MWE extraction for task A
and a machine learning and a linguistic-based approach for task B.</p>
      <sec id="sec-4-1">
        <title>4.1. HuggingFace models</title>
        <p>
          In order to classify tweets in relevant categories, we experimented the famous HuggingFace
transformers, by searching available models able to process Urdu (including multilingual ones).
Among proposed models, we conducted a preliminary evaluation for roberta-urdu-small1,
muril-large-cased' [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ], 'albert-large-urdu' (no reference has been found) and
'bertlarge-uncased' [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] (multilingual). All these models are used with the AutoTokenizer and
        </p>
        <sec id="sec-4-1-1">
          <title>1https://github.com/urduhack/urduhack</title>
          <p>AutoModelForSequenceClassification2.</p>
          <p>
            Considering task B, we directly implemented the B2 subtask, which allows to submit both B1
and B2 runs. We also extended our dataset with an external corpus of tweets[
            <xref ref-type="bibr" rid="ref10">10</xref>
            ], our idea was
to manually annotate tweets similar to those that were misclassified in the training dataset in a
cross-validation setting. The first step was to retrieve misclassified tweets and order them by
scoring function of the HuggingFace model. Then, our Urdu speaker examined the considered
tweets and selected 15, that were obviously wrong and which seem not too complex from a
NLP standpoint (i.e. we asked the Urdu speaker to imagine those that would be the easier to
annotate for a machine). From each of these 15 tweets, we selected 10 similar tweets in our
external dataset. The similarity uses the mean of the last layer of tokens computed by the model
as the representation of a single tweet and a cosine measure. Subsequently, the Urdu speaker
manually annotated 218 of those retrieved tweets, to complement the provided training set.
          </p>
        </sec>
      </sec>
      <sec id="sec-4-2">
        <title>4.2. Unsupervised MWE extraction</title>
        <p>
          Multiword expressions (MWE) are very likely to carry emotions and to be more reliable clues
than single-token words when used as features for text classification. One main issue consists
in being able to spot such MWE when they appear in spontaneous text such as tweets. It
can be very dificult, costly and time-consuming to keep a lexicon up-to-date with the most
recent usage on social media. In a previous work [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ], we proposed to rely on unsupervised
segmentation based only on raw data to extract salient chunk of text to generate features for a
MaxEnt classifier. This solution was proven eficient on Chinese micro-blogging data, but the
main algorithm was not specifically restricted to the Chinese script.
        </p>
        <p>
          We took the opportunity ofered by this challenge to apply the algorithm for Urdu language
(a very diferent script) and to evaluate it in a slightly diferent set-up (3 classes versus 7 classes).
Unlike the previous work on Chinese, we strictly limited ourselves to the provided training
data and did not extract any emotion lexicon from other sources. The algorithm consists in two
steps. Firstly, it extracts autonomous chunks of text based on unsupervised text segmentation
[
          <xref ref-type="bibr" rid="ref12">12</xref>
          ]. Secondly, it uses these chunks as features for logistic regressions. To meet the multiclass,
multioutput design of the task, we use 7 one-versus-others classifiers.
        </p>
        <p>As the Perso-Arabic alphabet difers significantly from the Chinese script, we combined
two diferent segmentation strategies for the first step. One is character-based, it performs
segmentation of a sentence into tokens from the sequence of characters (one can think of this
procedure as removing spaces from the input and finding them back). The other one processes
input as a sequence of tokens and extracts autonomous multitoken expressions. It does not
re-segment the input into larger units, but rather yields all MWE candidates.</p>
        <p>One benefit from the logistic regression is that it is very straightforward to inspect. It
computes weights for the whole vocabulary of features and allows us to check which words
and MWE contribute the most to the decision.
2The AutoModelForSequenceClassification library handles multiclass and task A is multilabel. Due to lack of
time, we just selected the latest sentiment in the order of the columns in the dataset to learn models.</p>
      </sec>
      <sec id="sec-4-3">
        <title>4.3. Linguistics-based approach</title>
        <p>
          The linguistic method addresses challenges such as EmoThreat 2022 by thinking about linguistic
cues that may be used to solve the issue. For emotion classification, linguistic cues are mainly
lexical and afect lexicons, for instance thesauri such as SentiWordNet [
          <xref ref-type="bibr" rid="ref13">13</xref>
          ] have been thoroughly
used to automatically tag texts with a polarity (‘positive’, ‘negative’ and sometimes ‘neutral’)
and/or an emotion. However, to the best of our knowledge, there is no readily available afect
lexicon for Urdu yet3. Added to the inherent complexity of emotion classification, increased
by the fact that task A requires multi-label classification on very short texts, we decided not
to use this approach for this task. On the other hand, the linguistics-based approach is more
appropriate for Task B, as threats could be defined with lexical cues (i.e., lexical words like
خ اتسگ insolence or ناٹکو to cause to be cut as well as grammatical words نرہو otherwise and
syntactic cues (i.e., typical injunctive forms like verbs in the subjunctive mood or future tense).
        </p>
        <p>
          The methodology behind this take on Task B consists in using linguistic features as machine
learning features. To do so, we first annotated both train and test datasets using Stanza’s
Universal Dependencies (UD) model4 for Urdu [
          <xref ref-type="bibr" rid="ref15">15</xref>
          ]. Stanza tokenises each tweet and provides
properties for each token, namely the lemma, the syntactic head and their relation, inflectional
features if any, as well as two parts-of-speech (POS) tags: upos from UD, and xpos for a more
specific POS tagging. All of these features were tested individually to see whether or not they
help our models. We then decided to keep only lemmas and xpos as they were the only features
that seemed to have a positive impact on our results.
        </p>
        <p>Each word is thus represented as follows: token, token_lemma, token_POS. This method
allows us to disambiguate homographs using their lemma or their POS. For instance, ےگ ںیرم
ےگ ںیرم رورض They will die, for sure is presented to our model as a set of 15 elements: (1) ںیرم,
(2) ےگ, (3) رورض, (4) ںیرم, (5) ےگ, (6) ںیرم_رم, (7) ےگ_ےگ, (8) رورض_رورض, (9) ںیرم_رم, (10) ےگ_ےگ,
(11) ںیرم_VM, (12) ےگ_VAUX, (13) رورض_JJ, (14) ںیرم_VM, (15) ےگ_VAUX.5</p>
        <p>It is important to note that as any automatic system, Stanza is prone to making errors. Those
errors definitely restrain the positive impact our annotation could make, but they are not
necessarily a waste. The first reason is that the model only uses the feature it finds useful, and
the second reason is linked to the systematic nature of those errors. As long as an error is the
same both in the train and the test datasets, it can be used rightfully by the model.</p>
      </sec>
    </sec>
    <sec id="sec-5">
      <title>5. Results</title>
      <p>
        HuggingFace models We report performances of HuggingFace models and number of epochs
in Figures 1 (task A) and 2 (task B2). Comparing models clearly shows that roberta, muril
obtain better scores than albert and bert, while comparison between the former models does
not show significant diferences. The number of epochs doesn’t impact much results. We also
3It is noteworthy that SentiWordNets for other South Asian languages, namely Hindi, Bengali and Telugu, have
been developed [
        <xref ref-type="bibr" rid="ref14">14</xref>
        ]
4These models are named after the set of treebanks they were trained on, freely available online here: https:
//universaldependencies.org
5Where VM stands for main verb, VAUX for auxiliary verb and JJ for adjective.
      </p>
      <p>0.5
0.4
0.3
0.2
0.8
0.75
0.7
note that precision is better than recall on task A, while they are balanced for task B. Our final
runs use the roberta model with 3 epochs6.</p>
      <p>Results obtained on the train set with cross validation (5 folds) and train / test split are
reported in Table 1 and 2. Unsurprisingly, there is a diference between cross-validation and
train/test split, which is more important for task B. We also see a great diference between
macro (F1M) and micro (F1m) evaluations, which is due to the unbalancing of dataset in terms
of categories for both tasks. The oficial scoring scheme relied on macro scores. For task A,
HuggingFace models have a precision much higher than recall, this is most probably due to the
fact that we naively convert multilabel dataset to a multiclass one.</p>
      <sec id="sec-5-1">
        <title>6Other parameters are left standard with learning rate 2e-5 and weight decay 0.01</title>
        <p>4
4
4
4
F1 micro
Recall
F1 micro
Recall
6
6
6
6
unsup MWE+logit
roberta
muril</p>
        <p>F1M
0.57±0.02
0.49±0.01
0.52±0.01</p>
        <p>Results for task A comparing models in the train set with cross validation (5 folds) and train /
test split 1 reveal a significant diference between F1 macro (F1M) and F1 micro (F1m). We note
that roberta model outperforms muril on F1M scores. Interestingly, the traditional approach
based on a logistic regression outperforms transformer-based models. This may be due to our
method being trained specifically and only on the task data, creating a model better suited to
this dataset. Our team ranked 5th for task A with our MWE method.</p>
        <p>Model
muril
muril+ext
muril+test
roberta
roberta+ext
roberta+test
LogReg
LogReg+ling
LinearSVC
LinearSVC+ling
HingeSGD
HingeSGD+ling
5 Folds Train Cross Validation</p>
        <p>Train / Test</p>
        <p>We conducted deeper analysis for task B depicted in Table 2, by comparing models and
augmented training datasets, with external data (+ext) and with our manually annotated test
set (+test). Globally, the complementary annotations do not provide clear improvements, at
least for F1 macro (F1M), where it even lowers scores in some cases. We will examine those
results in details to understand how those complementary data are used by models.</p>
        <p>Linguistic Approach This approach described in 4.3 was combined with traditional machine
learning algorithms using Scikit-Learn 1.1.2. We first used the benchmarking of classifiers
proposed by scikit-learn7. This allowed us to narrow down the testing algorithms to three:
Logistic Regression, LinearSVC and Stochastic Gradient Descent, which results are reported in
7https://scikit-learn.org/stable/auto_examples/text/plot_document_classification_20newsgroups.html.</p>
      </sec>
    </sec>
    <sec id="sec-6">
      <title>6. Error Analyses</title>
      <p>Results for both tasks have been reviewed by an Urdu speaker in order to identify error types
and try to explain them.
6.1. Task A
In order to review this task’s errors, we have analysed the trends of a table displaying the most
significant tokens for each of the 6 classes (anger, disgust, fear, sadness, surprise and happiness).
Results having a score above 0.5 only have been considered as relevant. Examples are given by
descending order of relevance.
anger: Unsurprisingly, we find here occurrences belonging to the lexical field of “hatred”
( زیگنارتنف: hateful, ت رنف: hatred, ت ربنفاقل: which deserves hate), adjectives or nouns
pejoratively connoted ( ت ریغےب: dishonour, ت نعل: curse, دیدش: serious, ٹھیاگ: mediocre, لہاج:
ignorantر,و چ : thief, ٹپرک: corrupt, م اعلتق: massacre), then comes the field of justice ( ف اصنا:
justice, ت لادع: court), followed by names of political persons or movements ( نارمع: Imran,
سیسایارآ: RSS, ف یرشزانو: Nawaz Sharif ), country names and professional or religious
categories ( ی رٹاپو: notary, ت فحصا: journalism, ینیاداق: Ahmadi religious community, ناملسم:
Muslim). These named entities are subject of criticism in a restrained political and time
context, they cannot be used to build a strong model that could be used for other corpora.
A handful of words denoting threat like ت شابدرbear, support or ی رباturn are exclusively
found in this category. Regarding utterance, the non-polite second personal pronoun
combined with ergative case منےت is very specific of this category.
disgust: a great part of the lexicon stressed in “anger” is also found here: ت رنفhatred,
ٹھیاگ mediocre, ینیاداق Ahmadi, etc. Some entities and communities are overrepresented
here: army )جوف(, military (یجوف), whole world ( نیدایروپ), Muslims )ںنواملسم(, politicians
( نادتسیاس) or country names like ناتسوہدنIndia.
fear: We find here occurrences of terms related to “fear”, mixed with religion : ف وخکاادخ( fear of
God, ے سرڈےک : in fear of, ےہرڈ : fear is, ف وخ: fright, یلاعہتللا: God Almighty. Other themes
are: COVID ( ے سناورک: from Corona), Islam ( ںنواملسم: Muslims), children ( وکںوبچ: to the
children), countries (India, China). These occurrences are once again related to specific
contexts. Regarding phraseology, several forms of the verb “look like” are recurrent
( ےہگالنگےل: began to look like, ےہہگرال/ےہاگتل: it looks like). The postposition ے س, which
indicates the origin and is required to build arguments related to fear, is also very present.
sadness : Related to the lexical field of “sadness” ( یسادا: sadness, س ادا: sad, س وسفا: sorrow,م غ :
afliction, جمربو: obliged,: س ویام disappointed), “scorned love” ( ٹ:واbroken, ے حسمب:ت by love,
broken heart emoji, ےکیلا: lonely, مجنا ا : consequence), and “hatred” ( ت رنف) Some neutral
words are typically linked to this category: دیاش(maybe), میلعت (education), children )ںوبچ(.</p>
      <p>And more surprisingly: یہنس(laughter), ت اعقاو (event).
surprise : Terms related to surprise ( ت ریح: surprise, ہجو ےب: without any reason), sometimes
denoting some sarcasm ( ںیمشوخسک: in which honor, ہاو : interjection of admiration, دینقت :
criticism) On the phraseology level, the forms of “know” are overrepresented, especially
for the plural present verb ( ہںیےتناج), question word ںویک why, On the level of utterance,
impersonal subjects like یمدآ man are quite numerous in order to depersonalize the phrase.
happiness : The most salient tokens here are not shared with any other category and make
this label quite apart. Emojis are ranked at the top. Then comes the field of “joy” ( یشوخ:
happiness, راوگشوخ: happy,ا ھ ا ھ ا ھ: ha ha ha, ) ; some religious formulas and expressions
of gratitude are found only here ( ہلحلدلما : God be praised, ہکیرش : thanks, ہللا: ّ God, نیمآ:
amen, ہللاءاشنا: if God wants) ; positive values and adjectives ( ریاپ: love, ت روصبوخ: beautiful),
Surprisingly, words such as : ت وم: death, or ض ارنا: angry are also linked to this category.</p>
      <p>Regarding the potential ambiguities, “anger” and “disgust” categories are the closest. Most of
significant tokens present in ”anger” are also included in ”disgust”, which is understandable from
the context of utterance: tweeters express there grievances against political persons, foreign
powers or communities.</p>
      <p>Regarding ambiguities in the other categories, the word یشوخ happy is present in 4 out of
6 classes. Adversely, it is most significant in the “anger” category. “sadness” shares quite a
number of tokens with “fear” and to a lesser degree with “surprise”. “Surprise” has more shared
words with “sadness” and “happiness” appears to be the most singular category as it has the
least number of tokens shared with any other category.
6.2. Task B
6.2.1. Overall error reports
Among the 3 runs, Run-1 (HuggingFace baselines approach) made less errors. Most errors are
about the existence or not of a threat: in 124 tweets, a threat was detected whereas there was
none. On the opposite, 106 individual threats were not detected.</p>
      <p>The confusion between “no threat” and “collective threat” is less (32 tweets) and there are 25
errors of number.</p>
      <p>In Run-2 (HuggingFace baselines approach), there are 27% more errors than for Run-1. The
most frequent errors are between “collective” or “individual” threat (167), followed by the
confusion between “no threat” and “individual” threat (140). However results are far better here
for detecting threat from “individual threat” (only 24 errors)</p>
      <p>Run-3 (Linguistic based approach) produced exactly as many errors as Run-2 (HuggingFace
baselines approach). It outperformed the former regarding errors between “individual threat”
and “no threat” but tagged more often tweets without threat as “individual threats”. It was
better at distinguishing between “collective threat” and ”no threat”.
6.2.2. Typology of errors
For this task, errors have been identified on 3 levels: lexical, phrasal and deictic. Some elements
were at first considered as core features to identify threatening tweets, but turned out not to be
useful as they were present in both classes. Regarding the verbal system, we noticed that second
person address, subjunctive mode for jussive phrases and future tense to express consequence
were more employed in threat tweets. On a lexical level, moderate abusive language and terms
related to threat ( نہباشنا to target, یناد ازسto punish, وھکر دیاremember! ) are present in both
classes, even if they are more numerous in the “threat” one. Besides, no MWE nor phrase
expression seems to characterize the “non threat” class.</p>
      <p>Conversely, the errors review revealed some elements belonging exclusively to the “threat”
category: 1) multiple clause sentences in which a first clause exposes an order and a second
a future consequence, both clauses being linked by نرہو otherwise; 2) MWE using ت شابد رbear
co-occurring with a negative element ( نہںیش ابدرdon’t bear, ت شابدرِ لباقنا unbearable); 3) other
significant MWE as ینتگ ٹیلا countdown, ہکےہ یاآ ت قو time has come to, ےٹکا رسcut heads.</p>
      <p>
        A comparison of the 3 train sub-corpora (“no threat”, “individual threat” and “collective
threat”) with the textometry software TXM [
        <xref ref-type="bibr" rid="ref16">16</xref>
        ] corroborates this analysis. First, we searched
out the specific terms for each sub-corpus, and found out that morphemes of future ( گا,ےگ)
were very specific (respective scores: 37.3 and 16.3) of the “individual threat” sub-corpus,
as well as the injunctive form of the verb ”to die” ( ںیرم may they/you die) and first and second
person pronouns. Other semantic terms detected in the test set scored very poorly ( ت شابدرbear,
ب جاو obligatory, ت قو time), however the study of their cooccurrents leads to interesting results
for classification. For the “collective threat” class, the first most specific terms have far smaller
scores: س اوبکbullshit (8.3), بندclosed (7.9), ثبخی mean (7.2), ےتک dog (6.8), رسhead (5.1). Abusive
words are not surprisingly common to both categories. The diferences with the test data can
be explained by the lack of some terms in the train set.
      </p>
    </sec>
    <sec id="sec-7">
      <title>7. Conclusion</title>
      <p>Our participation in the EmoThreat 2022 challenge about sentiment and threats in Urdu tweets
was the opportunity to test three diferent approaches to address classification tasks:
HuggingFace models based on BERT, unsupervised MWE extraction and linguistics-based approach. It
turned out that unsupervised MWE extraction models obtain better scores for task A (6 classes
of emotions), with much higher precision than recall. Still, HuggingFace models dedicated
to Urdu language (roberta, muril) obtained satisfying results. For task B, the HuggingFace
obtain better results for sub-task B1 (binary detection of threats) while the linguistics-based
approached appeared to be the best one in the sub-task B2 (detection of individual/collective
threat). Considering results for both tasks leads to the conclusion that HuggingFace models do
not outperform other methods. Our error analysis identified numerous lines of research that
we intend to explore in the future.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>N.</given-names>
            <surname>Zameen</surname>
          </string-name>
          , G. Sayeed,
          <article-title>Sentiment analysis on urdu tweets using markov chains</article-title>
          ,
          <source>SN Computer Science</source>
          (
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>L.</given-names>
            <surname>Khan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Amjad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Ashraf</surname>
          </string-name>
          , H.-
          <string-name>
            <given-names>T.</given-names>
            <surname>Chang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gelbukh</surname>
          </string-name>
          ,
          <article-title>Urdu sentiment analysis with deep learning methods</article-title>
          ,
          <source>IEEE Access 9</source>
          (
          <year>2021</year>
          )
          <fpage>97803</fpage>
          -
          <lpage>97812</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>L.</given-names>
            <surname>Khan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Amjad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Ashraf</surname>
          </string-name>
          , H.-
          <article-title>T. Chang, Multi-class sentiment analysis of urdu text using multilingual bert</article-title>
          ,
          <source>Scientific Reports</source>
          <volume>12</volume>
          (
          <year>2022</year>
          )
          <fpage>1</fpage>
          -
          <lpage>17</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>P. A.</given-names>
            <surname>Muhammad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Zheng</surname>
          </string-name>
          ,
          <string-name>
            <given-names>I. R.</given-names>
            <surname>Naqvi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Mohammed</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T. S.</given-names>
            <surname>Muhammad</surname>
          </string-name>
          ,
          <article-title>Automatic detection of ofensive language for urdu and roman urdu, IEEE Access XX (</article-title>
          <year>2017</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <surname>M. Das</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Banerjee</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          <string-name>
            <surname>Mukherjee</surname>
          </string-name>
          ,
          <article-title>Data bootstrapping approaches to improve low resource abusive language detection for indic languages</article-title>
          ,
          <source>in: HT '22: Proceedings of the 33rd ACM Conference on Hypertext and Social Media</source>
          ,
          <year>2022</year>
          . URL: https://doi.org/10.1145/3511095. 3531277.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>M.</given-names>
            <surname>Amjad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Ashraf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Zhila</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Sidorov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Zubiaga</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gelbukh</surname>
          </string-name>
          ,
          <article-title>Threatening language detection and target identification in urdu tweets</article-title>
          ,
          <source>IEEE Access 9</source>
          (
          <year>2021</year>
          )
          <fpage>128302</fpage>
          -
          <lpage>128313</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>R.</given-names>
            <surname>Batra</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Z.</given-names>
            <surname>Kastrati</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A. S.</given-names>
            <surname>Imran</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. M.</given-names>
            <surname>Daudpota</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Ghafoor</surname>
          </string-name>
          ,
          <article-title>A large scale tweet dataset for urdu text sentiment analysis</article-title>
          ,
          <year>2020</year>
          . doi:
          <volume>10</volume>
          .17632/rz3xg97rm5.1.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>S.</given-names>
            <surname>Khanuja</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Bansal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Mehtani</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Khosla</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Dey</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Gopalan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D. K.</given-names>
            <surname>Margam</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P.</given-names>
            <surname>Aggarwal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. T.</given-names>
            <surname>Nagipogu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Dave</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Gupta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S. C. B.</given-names>
            <surname>Gali</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Subramanian</surname>
          </string-name>
          , P. Talukdar,
          <source>MuRIL: Multilingual Representations for Indian Languages</source>
          ,
          <year>2021</year>
          . arXiv:
          <volume>2103</volume>
          .
          <fpage>10730</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>J.</given-names>
            <surname>Devlin</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Chang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Lee</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Toutanova</surname>
          </string-name>
          ,
          <article-title>BERT: pre-training of deep bidirectional transformers for language understanding</article-title>
          , CoRR abs/
          <year>1810</year>
          .04805 (
          <year>2018</year>
          ). URL: http://arxiv. org/abs/
          <year>1810</year>
          .04805. arXiv:
          <year>1810</year>
          .04805.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>M. Y.</given-names>
            <surname>Khan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. S.</given-names>
            <surname>Nizami</surname>
          </string-name>
          ,
          <article-title>Urdu sentiment corpus (v1.0): Linguistic exploration and visualization of labeled datasetfor urdu sentiment analysis</article-title>
          .,
          <source>in: 2020 IEEE 2nd International Conference On Information Science &amp; Communication Technology (ICISCT)</source>
          , IEEE,
          <year>2020</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>P.</given-names>
            <surname>Magistry</surname>
          </string-name>
          , S.
          <article-title>-</article-title>
          <string-name>
            <surname>K. Hsieh</surname>
            ,
            <given-names>Y.-Y.</given-names>
          </string-name>
          <string-name>
            <surname>Chang</surname>
          </string-name>
          ,
          <article-title>Sentiment detection in micro-blogs using unsupervised chunk extraction</article-title>
          ,
          <source>Lingua Sinica</source>
          <volume>2</volume>
          (
          <year>2016</year>
          )
          <fpage>1</fpage>
          -
          <lpage>10</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>P.</given-names>
            <surname>Magistry</surname>
          </string-name>
          ,
          <article-title>Unsupervised word segmentation and wordhood assessment: the case for Mandarin Chinese</article-title>
          ,
          <source>Ph.D. thesis</source>
          , Paris 7,
          <year>2013</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>S.</given-names>
            <surname>Baccianella</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Esuli</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Sebastiani</surname>
          </string-name>
          , SentiWordNet
          <volume>3</volume>
          .
          <article-title>0: An enhanced lexical resource for sentiment analysis and opinion mining</article-title>
          ,
          <source>in: Proceedings of the Seventh International Conference on Language Resources and Evaluation (LREC'10)</source>
          ,
          <year>2010</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <surname>A. Das</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          <string-name>
            <surname>Bandyopadhyay</surname>
          </string-name>
          ,
          <article-title>SentiWordNet for Indian Languages</article-title>
          ,
          <source>in: Proceedings of the eighth workshop on Asian language resources</source>
          ,
          <year>2010</year>
          , pp.
          <fpage>56</fpage>
          -
          <lpage>63</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>P.</given-names>
            <surname>Qi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Bolton</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. D.</given-names>
            <surname>Manning</surname>
          </string-name>
          ,
          <article-title>Stanza: A Python natural language processing toolkit for many human languages</article-title>
          ,
          <source>in: Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics: System Demonstrations</source>
          ,
          <year>2020</year>
          . URL: https://nlp.stanford.edu/pubs/qi2020stanza.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>S.</given-names>
            <surname>Heiden</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.-P.</given-names>
            <surname>Magué</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Pincemin</surname>
          </string-name>
          , TXM :
          <article-title>Une plateforme logicielle open-source pour la textométrie - conception et développement</article-title>
          ,
          <source>in: JADT 2010 : 10th International Conference on the Statistical Analysis of Textual Data</source>
          ,
          <year>2010</year>
          . URL: http://halshs.archives-ouvertes.fr/ docs/00/54/97/79/PDF/Heiden_al_jadt2010.pdf.
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>M.</given-names>
            <surname>Amjad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Zhila</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Sidorov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Labunets</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Butt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. I.</given-names>
            <surname>Amjad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Vitman</surname>
          </string-name>
          ,
          <string-name>
            <surname>A</surname>
          </string-name>
          . Gelbukh, UrduThreat@ FIRE2021:
          <article-title>Shared track on abusive threat identification in Urdu</article-title>
          ,
          <source>in: Forum for Information Retrieval Evaluation</source>
          ,
          <year>2021</year>
          , pp.
          <fpage>9</fpage>
          -
          <lpage>11</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>M.</given-names>
            <surname>Amjad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Zhila</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Sidorov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Labunets</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Butt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. I.</given-names>
            <surname>Amjad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Vitman</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gelbukh</surname>
          </string-name>
          ,
          <article-title>Overview of the shared task on threatening and abusive detection in Urdu at FIRE 2021</article-title>
          , in: FIRE (Working Notes),
          <source>CEUR Workshop Proceedings</source>
          ,
          <year>2021</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref19">
        <mixed-citation>
          [19]
          <string-name>
            <given-names>N.</given-names>
            <surname>Ashraf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Rafiq</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Butt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H. M. F.</given-names>
            <surname>Shehzad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Sidorov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gelbukh</surname>
          </string-name>
          ,
          <article-title>Youtube based religious hate speech and extremism detection dataset with machine learning baselines</article-title>
          ,
          <source>Journal of Intelligent &amp; Fuzzy Systems</source>
          (
          <year>2022</year>
          )
          <fpage>1</fpage>
          -
          <lpage>9</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref20">
        <mixed-citation>
          [20]
          <string-name>
            <given-names>N.</given-names>
            <surname>Ashraf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Mustafa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Sidorov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gelbukh</surname>
          </string-name>
          ,
          <article-title>Individual vs. group violent threats classiifcation in online discussions</article-title>
          ,
          <source>in: Companion Proceedings of the Web Conference</source>
          <year>2020</year>
          ,
          <year>2020</year>
          , pp.
          <fpage>629</fpage>
          -
          <lpage>633</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref21">
        <mixed-citation>
          [21]
          <string-name>
            <given-names>S.</given-names>
            <surname>Butt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Amjad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Balouchzahi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Ashraf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Sharma</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Sidorov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gelbukh</surname>
          </string-name>
          ,
          <source>Overview of EmoThreat: Emotions and Threat Detection in Urdu at FIRE</source>
          <year>2022</year>
          , in: CEUR Workshop Proceedings,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref22">
        <mixed-citation>
          [22]
          <string-name>
            <given-names>S.</given-names>
            <surname>Butt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Amjad</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Balouchzahi</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Ashraf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Sharma</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Sidorov</surname>
          </string-name>
          ,
          <string-name>
            <surname>A</surname>
          </string-name>
          . Gelbukh, EmoThreat@FIRE2022:
          <article-title>Shared Track on Emotions and Threat Detection in Urdu, in: Forum for Information Retrieval Evaluation</article-title>
          ,
          <string-name>
            <surname>FIRE</surname>
          </string-name>
          <year>2022</year>
          ,
          <article-title>Association for Computing Machinery</article-title>
          , New York, NY, USA,
          <year>2022</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref23">
        <mixed-citation>
          [23]
          <string-name>
            <given-names>N.</given-names>
            <surname>Ashraf</surname>
          </string-name>
          ,
          <string-name>
            <given-names>L.</given-names>
            <surname>Khan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Butt</surname>
          </string-name>
          , H.-T. Chang,
          <string-name>
            <given-names>G.</given-names>
            <surname>Sidorov</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Gelbukh</surname>
          </string-name>
          <article-title>, Multi-label emotion classification of urdu tweets</article-title>
          ,
          <source>PeerJ Computer Science</source>
          <volume>8</volume>
          (
          <year>2022</year>
          )
          <article-title>e896</article-title>
          .
        </mixed-citation>
      </ref>
      <ref id="ref24">
        <mixed-citation>
          [24]
          <string-name>
            <given-names>I.</given-names>
            <surname>Ameer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Ashraf</surname>
          </string-name>
          , G. Sidorov,
          <string-name>
            <surname>H.</surname>
          </string-name>
          <article-title>Gómez Adorno, Multi-label emotion classification using content-based features in twitter</article-title>
          ,
          <source>Computación y Sistemas</source>
          <volume>24</volume>
          (
          <year>2020</year>
          )
          <fpage>1159</fpage>
          -
          <lpage>1164</lpage>
          .
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>