Urdu Toxic Comment Classification With PURUTT Corpus Development
Open Access
- 28 January 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 13, 21635-21651
Abstract
This study addresses the critical gap in toxic comment classification in Urdu, a widely spoken language devoid of high-quality standard datasets. To address this gap, we employed an existing labeled Roman Urdu (RU) corpus, which was developed originally for Roman Urdu toxic comment classification, and supplemented that corpus by adding its Urdu equivalent transliterations. The motivation behind such an extension is twofold: firstly, to provide a large comprehensive dataset for the classification of toxic comments in Urdu; secondly, to facilitate bidirectional transliteration between Urdu and RU, however, transliteration is currently outside the scope of this study and is envisioned as a future research direction. We introduce the extended corpus as PURUTT (Parallel Urdu and Roman Urdu Corpus for Toxic Comments and Transliteration), boasting 72,771 labeled comments as parallel comments in both Urdu and Roman Urdu scripts. Specific to Urdu toxic comment classification, our methodology begins by training those classification models that were trained on the original Roman Urdu corpus. We leverage pre-trained Word2Vec and FastText Urdu word embeddings to evaluate model performance through transfer learning. Furthermore, we fine-tune five multilingual large language models capitalizing on their inherent multilingual capabilities. To further enhance the classification performance, we propose an ensemble approach that aggregates the strengths of multiple base models. Our extensive empirical validation demonstrates the superiority of the ensemble model, achieving a state-of-the-art F1-score of 91.65% on PURUTT, setting a benchmark F1-score on PURUTT corpus for Urdu toxic comment classification.Keywords
This publication has 59 references indexed in Scilit:
- Detecting Virtual Harassment in Social Media Using Machine Learning2024
- Filtering offensive language from multilingual social media contents: A deep learning approachEngineering Applications of Artificial Intelligence, 2024
- Detection of violence incitation expressions in Urdu tweets using convolutional neural networkExpert Systems with Applications, 2024
- UHated: hate speech detection in Urdu language using transfer learningLanguage Resources and Evaluation, 2023
- Hate speech detection on Twitter using transfer learningComputer Speech & Language, 2022
- A Bi-GRU with attention and CapsNet hybrid model for cyberbullying detection on social mediaWorld Wide Web, 2021
- Automatic Cyberbullying Detection on Twitter Using Bullying Expression Dictionary2021
- Roman Urdu toxic comment classificationLanguage Resources and Evaluation, 2021
- Deep Learning for Detecting Cyberbullying Across Multiple Social Media Platforms2018
- Urdu language processing: a surveyArtificial Intelligence Review, 2016