EUVIMEDEUVIMED entdecken
Open Access · CC BY 4.0

Urdu Toxicity Detection: A Multi-Stage and Multi-Label Classification Approach

Ayesha Rashid, Sajid Mahmood, Usman Inayat, Muhammad Fahad Zia

AI · 21.08.2025 · 6 (8) · 194

DOI: 10.3390/ai6080194 ↗

Kurz gefasst

Fachartikel in der Zeitschrift AI, online erschienen am 21.08.2025. Verfasst von Ayesha Rashid und 3 weiteren Autor:innen. Die Arbeit wurde bisher 6-mal zitiert (Crossref) und nennt 49 Literaturangaben. Der Volltext ist frei zugänglich (Open Access, CC BY 4.0).

AbstractBibliografische AngabenZitierenVerwandte Studien

Abstract (Originalsprache)

Social media empowers freedom of expression but is often misused for abuse and hate. The detection of such content is crucial, especially in under-resourced languages like Urdu. To address this challenge, this paper designed a comprehensive multilabel dataset, the Urdu toxicity corpus (UTC). Second, the Urdu toxicity detection model is developed, which detects toxic content from an Urdu dataset presented in Nastaliq Font. The proposed framework initially processed the gathered data and then applied feature engineering using term frequency-inverse document frequency, bag-of-words, and N-gram techniques. Subsequently, the synthetic minority over-sampling technique is used to address the data imbalance problem, and manual data annotation is performed to ensure label accuracy. Four machine learning models, namely logistic regression, support vector machine, random forest, and gradient boosting, are applied to preprocessed data. The results indicate that the RF outperformed all evaluation metrics. Deep learning algorithms, including long short-term memory (LSTM), Bidirectional LSTM, and gated recurrent unit, have also been applied to UTC for classification purposes. Random forest outperforms the other models, achieving a precision, recall, F1-score, and accuracy of 0.97, 0.99, 0.98, and 0.99, respectively. The proposed model demonstrates a strong potential to detect rude, offensive, abusive, and hate speech content from user comments in Urdu Nastaliq.

Zitieren

APA

Rashid, A., Mahmood, S., Inayat, U., & Zia, M. F. (2025). Urdu Toxicity Detection: A Multi-Stage and Multi-Label Classification Approach. AI, 6(8), 194. https://doi.org/10.3390/ai6080194

Vancouver

Rashid A, Mahmood S, Inayat U, Zia MF. Urdu Toxicity Detection: A Multi-Stage and Multi-Label Classification Approach. AI. 2025;6(8):194. doi:10.3390/ai6080194

BibTeX
@article{Rashid2025,
  author = {Rashid, Ayesha and Mahmood, Sajid and Inayat, Usman and Zia, Muhammad Fahad},
  title = {Urdu Toxicity Detection: A Multi-Stage and Multi-Label Classification Approach},
  journal = {AI},
  year = {2025},
  volume = {6},
  number = {8},
  pages = {194},
  doi = {10.3390/ai6080194}
}
Kostenlos starten →