<!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>Detection in Urdu Language using BERT Variants</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Sakshi Kalra</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Kushank Maheshwari</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Saransh Goel</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Yashvardhan Sharma</string-name>
          <email>yash@pilani.bits-pilani.ac.in</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of CSIS, BITS Pilani</institution>
          ,
          <addr-line>333031, Rajasthan</addr-line>
          ,
          <country country="IN">INDIA</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Threatening speech is a particular kind of content that is usually regarded as illegal and must be isolated and curbed. Threat speech identification cannot be done manually because of the volume and speed of the data being generated, i.e., over 350,000 tweets are sent per minute. Numerous studies have been done on detecting threat speech in European languages to solve this problem, but South Asian languages with limited resources have received less attention, leaving millions of users vulnerable on social media. Around 230 million people speak Urdu as their first language worldwide. This corpus of tweets is divided into three categories: Non-Threatening, Group (targeting a group), and Individual (targeting an individual). In our approach, we have fine-tuned five diferent pre-trained BERT models, which are transformer-based machine learning techniques. The results show that  MuRIL outperformed all other models, by achieving an F1 score of 71.6%, an accuracy of 73.8% and a ROC-AUC value of 72.9% on test data.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>Online social media platforms have exploded in popularity over the past ten years, and their
user bases are expanding at an exponential rate.  Users of these platforms have the freedom to
share their thoughts and the opportunity to communicate with others from various groups. 
However, it is also used to spread, incite, promote, or justify hatred, violence, and discrimination
against users based on their gender, religion, race, afiliation with particular groups, and views
related to certain events or subjects (such as politics). On the one hand, this has led to exchanges
of ideas and fostered relationships. On the other hand, however, it is exploited to spread hateful,
ofensive, derogatory, or obscene language against individuals and groups. Over 400 languages
are listed in the SIL Ethnologue as being spoken in India; 24 of these languages have more than
a million native speakers, while 114 have more than 10,000. Thus, there is a need for automated
monitoring of threat detection.</p>
      <p>Firms are investing heavily and advancing research in this area of threat speech detection by
establishing assignments and seminars, online forums, social media enterprises, and technology.
One such group is FIRE, which has been actively putting on the EmoThreat challenge to address
the problem. EmoThreat 2022 is looking for ways to detect threats in speech without human
intervention. The competition is broken up into two subtasks. And this paper tackles Task B.
This paper contains details regarding emotions and threat detection in Urdu. This is a multi-class
classification task in which the aim is to classify a tweet by a user as either non-threatening,
group (targeting a group), or individual (targeting an individual).</p>
      <p>We tackled the problem by using five diferent transformer-based models, namely, UrduHack,
 MuRIL, Multilingual-BERT, bert-base-uncased, and distilroberta. These models have displayed
good outcomes in natural language processing tasks like text classification in the past, better
than conventional machine learning algorithms. The urdu dataset provided by FIRE was
finetuned using the above pre-trained transformer model from the HuggingFace library1. The code
is available from the github repository2.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Related Work</title>
      <p>
        Several researchers have already participated in the hate speech detection tasks [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ],
[
        <xref ref-type="bibr" rid="ref4">4</xref>
        ], [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ],[
        <xref ref-type="bibr" rid="ref6">6</xref>
        ],[
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. Several machine learning and deep learning algorithms have been tested for
automatically detecting ofensive and threat speech[
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. Techniques like TF-IDF weightings and
word embedding are employed in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ] and are fed into machine learning algorithms like logistic
regression, random forest, and support vector classifier. Both ML models and Transformer-based
models have been used for the Urdu language in [
        <xref ref-type="bibr" rid="ref10">10</xref>
        ]. According to Fire2021[
        <xref ref-type="bibr" rid="ref11">11</xref>
        ], BERT models
for the identification of hate speech in the Urdu language have also been used.
      </p>
      <p>
        Deep learning techniques[
        <xref ref-type="bibr" rid="ref12">12</xref>
        ] are currently growing in acceptance in a variety of
disciplines, including language modelling, sentiment analysis, machine translation, and text
classification. These include long short-term memories (LSTMs)[
        <xref ref-type="bibr" rid="ref13">13</xref>
        ], convolutional neural
networks (CNNs)[
        <xref ref-type="bibr" rid="ref14">14</xref>
        ], recurrent neural networks (RNNs)[
        <xref ref-type="bibr" rid="ref15">15</xref>
        ], bidirectional encoder representations
(BERT)[
        <xref ref-type="bibr" rid="ref16">16</xref>
        ]. The paper [
        <xref ref-type="bibr" rid="ref17">17</xref>
        ] lists the performance of BERT across diferent active learning
strategies in multi-class text classification. Thus, it indicates the usage of BERT for multi-class
classification involving applications in the pickup and delivery service. Another move in this
direction is by [
        <xref ref-type="bibr" rid="ref18">18</xref>
        ], which compares BERT against traditional machine learning text classification.
Various versions have been developed for BERT depending on its application, like DocBERT
[19], which is used for document classification. BERT has been proven to perform better than
existing machine learning approaches.
      </p>
    </sec>
    <sec id="sec-3">
      <title>3. Dataset</title>
      <p>The dataset for the task is provided by the organisers of EmoThreat’223. Task B in the EmoThreat
Urdu challenge is a multi-class classification task. A statement likely to cause damage or danger
is classified as ”Threatening”. Threatening is further divided into ”Group” and ”Individual”. We
1https://huggingface.co/
2https://github.com/Kushank24/fknw
3https://sites.google.com/view/multi-label-emotionsfire-task/dataset?authuser=0
need to categorise the sentences in the Urdu Language dataset into the following classes: Table
1 shows the data statistics based on binary label data. Table 2 shows the multiclass label data.
• Non-Threatening - Tweets containing this label do not contain any threatening or
profane content.
• Group - This label indicates that this Twitter post contains threatening content for group
(s).
• Individual - This label indicates that this Twitter post contains threatening or profane
content for an individual.</p>
      <p>As inferred from the data, the classes Threatening and Non-Threatening have the same
number of entries, but the sub-division of Threatening resulting in Individual and Group have a
diferent number of entries. A better view can be obtained from Figure 1:</p>
    </sec>
    <sec id="sec-4">
      <title>4. Handling the Class Imbalanced Issue</title>
      <p>As seen from the above figure, labels are imbalanced, so we split the data set in a stratified
fashion. The proportion of data distribution in the target column is preserved by stratification,
and the train-test-split function shows the same proportion of distribution. Stratify therefore
evenly distributes the target (label) throughout the training and test sets, just as it did in the
original dataset. After stratification, we did oversampling of the dataset using the Imblearn
library because the training instances are few and removing examples from the majority class
will further reduce them. Thus, we oversampled instead of undersampling.</p>
    </sec>
    <sec id="sec-5">
      <title>5. Proposed Techniques and Algorithms</title>
      <p>For many NLP-related tasks, such as fake news identification, question answering systems,
machine translation, rumour detection, etc., transformer-based models provide cutting-edge
implementation. They outperform other ML methods because of their bidirectional training
and improved language understanding. Pre-training is the first phase in the building of a
transformer-based model, which is then fine-tuned. The model is initially trained using large
language datasets (monolingual) or datasets in a variety of languages (multilingual). Only the
encoder part of the transformer architecture is employed to get the word embeddings. An
additional output layer is implemented to calculate the probability for classes. The various word
embedding models that have been employed are listed below:
• UrduHack4 - The Urdu News Corpus was used to train Roberta-Urdu-Small. The
normalisation module from urduhack was used to remove characters from other languages,
such as arabic, from the training data.
• MuRIL5 - This model uses a BERT base architecture that was previously trained using
corpora from 17 Indian languages from Common Crawl, Wikipedia, Dakshina, and
PMINDIA.
• bert-base6 - English language pre-trained model employing masked language modelling
(MLM) objective.
• Multilingual-BERT7 - This has 104 pre-trained languages. The texts are tokenized
and lowercased using WordPiece, and a vocabulary with a size of 110,000 is employed.
The languages with fewer resources are oversampled, whereas the languages with more
Wikipedia articles are undersampled.
• Distil-BERT8 - The model has six layers, 82 million parameters, 768 dimensions, and 12
heads.</p>
      <p>The Flowchart in Figure 2 shows the brief approach and intermediate steps.
The following Hyper-parameters were used while training the model:
• Optimizer - an optimizer is a function or an algorithm that modifies the attributes to
reduce the overall loss and improve accuracy. In our implementation, we have used
the AdamW optimizer, which is a variant of the Adam optimizer with an improved
implementation of weight decay.
4https://huggingface.co/urduhack/roberta-urdu-small
5https://huggingface.co/google/ MuRIL-base-cased
6https://huggingface.co/bert-base-uncased
7https://huggingface.co/bert-base-multilingual-cased
8https://huggingface.co/distilroberta-base
• Learning Rate - an optimization technique tuning parameter that establishes the step
size for each iteration. In the implementation, a learning rate of 1e-5 is used.
• Number of Epochs - number of iterations over the training dataset. Five epochs were
used in the implementation of the training data.
• Batch Size - number of samples processed before the model is updated. A batch size of 3
was used during implementation.</p>
    </sec>
    <sec id="sec-6">
      <title>6. Results and Evaluations</title>
      <p>ROC-AUC, accuracy, and the F1-score are used to evaluate each model’s performance. UrduHack
and  MuRIL gave almost similar results which were better than rest 3 BERT models. The test
data provided by EmoThreat is run for the following hyperparameters: Number of Epochs =
5, Batch size = 3, Optimizer = AdamW, and Learning Rate = 1.e-5. The results have been
separately shown for both Binary Classification (”Threatening” vs. ”Non-Threatening”) and
Multi-class Classification (”Individual” vs. ”Group” vs. ”Non-Threatening”). The results are
shown in the below tables and figures, numbered from 5 to 14.</p>
      <p>Table 3 shows the comparison of the five fine-tuned BERT models. As seen from Table 3
 MuRIL performed best on the test data, while Multilingual BERT and UrduHack performed
similarly. While distilbert and bertbase performed the worst of all models. The ROC-AUC,
F1-score, and accuracy help make a complete comparison between all models. Additionally,
the confusion matrix for each model also lists various errors in the classification. Finally, at
last, the ROC curve for MuRIL multi-class and UrduHack multi-class is shown for the ROC
value comparison. The blank values in the table show that their ROC curve was not plotted. As
seen from the ROC curve, Individual vs. Rest is diferent in MuRIL and UrduHack, and thus
UrduHack is better able to classify Individual vs. Rest as compared to MuRIL.</p>
    </sec>
    <sec id="sec-7">
      <title>7. Error Analysis</title>
      <p>As seen from the confusion matrix, the number of false positives (FP) in the MuRIL binary class
is higher than the number of FP in the mBERT binary class, while the overall accuracy for
MuRIL is higher than mBERT, so for improving results, a combination of MuRIL and mBERT
should be tried. Similarly, for multi-class, the false-positive total for group vs. all is lower in
mBERT than in MuRIL, so a combination or an ensemble of these two would be a good model.
On the other hand, the false negative for UrduHack is very low as compared to MuRIL and
mBERT. Thus, if a combination of all three models or an ensemble of these three models would
prove to be better </p>
    </sec>
    <sec id="sec-8">
      <title>8. Conclusion and Future Work</title>
      <p>According to the results shown above, pre-trained BERT models perform better and have a better
understanding of the meaning of a sentence, making them superior learning representations.
Therefore, the transfer learning strategy using pre-trained BERT models is more appropriate
for identifying threat speech than standard feature extraction methods. Out of all the models,
the MuRIL performed the best. In addition, mBERT and UrduHack were comparable. We
were ranked 1 on the public leaderboard. As shown by the findings above, where one model
outperformed the others in a particular way, an ensemble of numerous models can also be tested
to see if accuracy is increased or not. To further increase accuracy, models can be trained on a
larger corpus in the future, i.e., the group and individual data points are smaller as compared
to the total number of entries, thus the model is not trained well on them. The model can
thus be properly trained by increasing the number of data entries. Future research on deeper
transformer architectures may also be done.
[19] A. Adhikari, A. Ram, R. Tang, J. Lin, Docbert: Bert for document classification, arXiv
preprint arXiv:1904.08398 (2019).</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <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="ref2">
        <mixed-citation>
          [2]
          <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="ref3">
        <mixed-citation>
          [3]
          <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="ref4">
        <mixed-citation>
          [4]
          <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="ref5">
        <mixed-citation>
          [5]
          <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="ref6">
        <mixed-citation>
          [6]
          <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="ref7">
        <mixed-citation>
          [7]
          <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="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>T.</given-names>
            <surname>Davidson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Warmsley</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Macy</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Weber</surname>
          </string-name>
          ,
          <article-title>Automated hate speech detection and the problem of ofensive language</article-title>
          ,
          <source>in: Proceedings of the international AAAI conference on web and social media</source>
          , volume
          <volume>11</volume>
          ,
          <year>2017</year>
          , pp.
          <fpage>512</fpage>
          -
          <lpage>515</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>S.</given-names>
            <surname>Kalraa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K. N.</given-names>
            <surname>Inania</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Sharmaa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G. S.</given-names>
            <surname>Chauhanb</surname>
          </string-name>
          ,
          <article-title>Applying transfer learning using bert-based models for hate speech detection (</article-title>
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>S.</given-names>
            <surname>Kalraa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Bansala</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Sharmaa</surname>
          </string-name>
          ,
          <article-title>Detection of abusive records by analyzing the tweets in urdu language exploring transformer based models (</article-title>
          <year>2021</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>S.</given-names>
            <surname>Kalraa</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Agrawala</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Y.</given-names>
            <surname>Sharmaa</surname>
          </string-name>
          ,
          <article-title>Detection of threat records by analyzing the tweets in urdu language exploring deep learning transformer-based models (</article-title>
          <year>2021</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref12">
        <mixed-citation>
          [12]
          <string-name>
            <given-names>P.</given-names>
            <surname>Badjatiya</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Gupta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Gupta</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Varma</surname>
          </string-name>
          ,
          <article-title>Deep learning for hate speech detection in tweets</article-title>
          ,
          <source>in: Proceedings of the 26th international conference on World Wide Web companion</source>
          ,
          <year>2017</year>
          , pp.
          <fpage>759</fpage>
          -
          <lpage>760</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref13">
        <mixed-citation>
          [13]
          <string-name>
            <given-names>A.</given-names>
            <surname>Bisht</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Singh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Bhadauria</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Virmani</surname>
          </string-name>
          , et al.,
          <article-title>Detection of hate speech and ofensive language in twitter data using lstm model, in: Recent trends in image and signal</article-title>
          processing in
          <source>computer vision</source>
          , Springer,
          <year>2020</year>
          , pp.
          <fpage>243</fpage>
          -
          <lpage>264</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref14">
        <mixed-citation>
          [14]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Zhang</surname>
          </string-name>
          , L. Luo,
          <article-title>Hate speech detection: A solved problem? the challenging case of long tail on twitter</article-title>
          ,
          <source>Semantic Web</source>
          <volume>10</volume>
          (
          <year>2019</year>
          )
          <fpage>925</fpage>
          -
          <lpage>945</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref15">
        <mixed-citation>
          [15]
          <string-name>
            <given-names>G. K.</given-names>
            <surname>Pitsilis</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Ramampiaro</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Langseth</surname>
          </string-name>
          ,
          <article-title>Efective hate-speech detection in twitter data using recurrent neural networks</article-title>
          ,
          <source>Applied Intelligence</source>
          <volume>48</volume>
          (
          <year>2018</year>
          )
          <fpage>4730</fpage>
          -
          <lpage>4742</lpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref16">
        <mixed-citation>
          [16]
          <string-name>
            <given-names>J.</given-names>
            <surname>Devlin</surname>
          </string-name>
          , M.-
          <string-name>
            <given-names>W.</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>
          , Bert:
          <article-title>Pre-training of deep bidirectional transformers for language understanding</article-title>
          , arXiv preprint arXiv:
          <year>1810</year>
          .
          <volume>04805</volume>
          (
          <year>2018</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref17">
        <mixed-citation>
          [17]
          <string-name>
            <given-names>S.</given-names>
            <surname>Prabhu</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Mohamed</surname>
          </string-name>
          ,
          <string-name>
            <surname>H.</surname>
          </string-name>
          <article-title>Misra, Multi-class text classification using bert-based active learning</article-title>
          ,
          <source>arXiv preprint arXiv:2104.14289</source>
          (
          <year>2021</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref18">
        <mixed-citation>
          [18]
          <string-name>
            <given-names>S.</given-names>
            <surname>González-Carvajal</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. C.</given-names>
            <surname>Garrido-Merchán</surname>
          </string-name>
          ,
          <article-title>Comparing bert against traditional machine learning text classification</article-title>
          , arXiv preprint arXiv:
          <year>2005</year>
          .
          <volume>13012</volume>
          (
          <year>2020</year>
          ).
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>