Generating key points…
Answers are grounded in this paper and cite their sources.
Online platforms increasingly host hate and offensive content, motivating reliable automatic detection for moderation and safety. This study evaluates classical machine learning (Naïve Bayes (NB), Random Forest (RF), Support Vector Machine (SVM), and Logistic Regression (LR)) and neural models (Long Short-Term Memory (LSTM) and Multi-Layer Perceptron (MLP)) on three Roman Urdu benchmarks: Roman Urdu Hate-speech and Offensive Language Detection (RUHSOLD), Violent Views Detection Dataset in Urdu (VVD-21), and Hate Speech Roman Urdu (HS-RU-20). Experiments were conducted at word and sentence levels, and performance was assessed using accuracy, precision, recall, and F1-score. On RUHSOLD, LSTM achieved the highest accuracy (90%) at both word- and sentence-levels. On VVD-21 and HS-RU-20, SVM attained the best sentence-level accuracy (83%), with strong hostile-class F1, but weak neutral-class recall. Overall, LSTM favored sequential inputs, whereas SVM performed effectively on structured representations. Neutral detection remained challenging, reflecting class imbalance and subtle contextual usage. The findings underscore the need for improved feature representations and context-aware models. Future work should incorporate transformer-based encoders and adversarial training to enhance robustness and reduce bias.
No takes yet. Share an insight, caveat, or question.
Butt et al. (2026) studied this question.
Synapse has enriched 10 related papers. Consider them for comparative context: