Automatic Abusive Language Detection in Urdu Tweets

Maaz Amjad, Noman Ashraf, Grigori Sidorov, Alisa Zhila, Liliana Chanona-Hernandez, Alexander Gelbukh

Research output: Contribution to journalArticlepeer-review

2 Scopus citations

Abstract

Abusive language detection is an essential task in our modern times. Multiple studies have reported this task, in various languages, because it is essential to validate methods in many different languages. In this paper, we address the automatic detection of abusive language for tweets in the Urdu language. The study introduces the first dataset of tweets in the Urdu language, annotated for offensive expressions and evaluates it by comparing several machine learning methods. The Twitter dataset contains 3,500 tweets, all manually annotated by human experts. This research uses three text representation techniques: two count-based feature vectors and the pre-trained fastText word embeddings. The count-based features contain the character and word n-gram, while the pre-trained fastText model comprises word embeddings extracted from the Urdu tweets dataset. Moreover, this study uses four non-neural network models (SVM, LR, RF, AdaBoost) and two neural networks (CNN, LSTM). The study finding reveals that SVM outperforms other classifiers and obtains the best results for any text representation. Character tri-grams perform well with SVM and get an 82.68% of F1 score. The best-performing words n-grams are unigrams with SVM, which obtain 81.85% F1 score. The fastText word embeddings-based representation yields insignificant results.

Original languageEnglish
Pages (from-to)143-163
Number of pages21
JournalActa Polytechnica Hungarica
Volume19
Issue number10
DOIs
StatePublished - 2022

Keywords

  • Abusive language detection
  • Machine learning
  • Twitter corpus
  • Urdu language

Fingerprint

Dive into the research topics of 'Automatic Abusive Language Detection in Urdu Tweets'. Together they form a unique fingerprint.

Cite this