Skip to content
Conference Open access

Cyberbullying Detection on Twitter Using Hurtlex-Based Pseudo Labelling and Machine Learning-Based Text Classification

Sep 2026 · 2026 IEEE International Conference on Industrial Technology & Computer Engineering (ICITCE) · pp. 1-6 · 0 citations · 24 references

Abstract

Cyberbullying remains a significant concern on social-media platforms, where the large volume of usergenerated content makes manual moderation insufficient. This study evaluates a lightweight machine-learning approach for detecting directed cyberbullying in comments manually collected from three public Twitter discussion threads. Because the comments were initially unlabelled, a rule-based pseudo-labelling procedure was applied. A comment was labelled as cyberbullying only when it contained both an offensive lemma from the English HurtLex lexicon and a target indicator. The operational HurtLex file contained 11,007 entries representing 8,156 unique lemmas, while the target-indicator file contained 71 entries representing 60 unique expressions. Following text preprocessing and TF-IDF feature extraction, Naive Bayes, Logistic Regression, and Decision Tree classifiers were evaluated using an 80:20 train-test split. Logistic Regression achieved the highest cyberbullying-class F1-score for the BladeofTheSun (0.5556), Andrew Tate (0.6038), and Benjamin Netanyahu (0.5185) datasets. Nevertheless, the results indicate modest performance against automatically generated pseudo-labels rather than independently verified real-world cyberbullying accuracy. The absence of human-labelled ground truth and cross-validation remains an important limitation. A web-based prototype was also developed to demonstrate real-time classification, confidence indicators, and safer-text suggestions.

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.