Offensive Text Detection Using Hybrid Ensemble Text Classifier: An Experimental Study

Read full text
Authors: P. Amalraj, A. Haripriya, S. Burhana Thaj, S. Suryapriya
Cited by: 0
References: 15

Abstract

Social media platforms’ rapid expansion has given users the freedom to voice their thoughts, promoting international cooperation and communication. However, this freedom has also contributed to the spread of abusive language and hate speech, which can have negative impacts on both individuals and communities. Maintaining safe online spaces while upholding the right to free speech has made identifying such content a crucial task. Recent developments in machine learning (ML) provide encouraging solutions by making it possible to automatically identify inappropriate language with a high degree of accuracy. However, because hate speech and offensive language are complex and heavily influenced by context, intent, and cultural variables, it is still difficult to discriminate between them with precision. The dataset used in this work contains labeled tweets categorized into three classes: hate speech, offensive language, and neutral language. Initially, an analysis of individual ML models, including classical algorithms, was performed. The performance of these algorithms was evaluated using recall, precision, F1-score, and accuracy metrics. To further improve detection accuracy, a novel ensemble strategy is proposed that combines the three best-performing models. The ensemble offers a robust solution for offensive language detection by leveraging the strengths of its component models. Experimental evaluations show that the ensemble model achieves superior performance compared to individual classifiers, which had accuracies between 85% and 89%, achieving an accuracy of 90% with high recall across all categories.

Fields of Study & Subjects

Hate Speech and Cyberbullying Detection Text and Document Classification Technologies Sentiment Analysis and Opinion Mining

Publication details

Journal / source
Premier journal of science.
Publication date
30 January 2026
Language
EN