Integrating Handcrafted Features with Machine Learning for Hate Speech Detection in Albanian Social Media

Online social media has seen a significant increase in usage over the last decade, enabling people to communicate more easily. The vast amount of data generated by these platforms is mostly uncontrolled and unmanageable. This has also provided opportunities for individuals to engage in hate speech a...

Full description

Saved in:
Bibliographic Details
Main Authors: Fetahi Endrit, Hamiti Mentor, Susuri Arsim, Zenuni Xhemal, Ajdari Jaumin
Format: Article
Language:English
Published: Sciendo 2024-12-01
Series:SEEU Review
Subjects:
Online Access:https://doi.org/10.2478/seeur-2024-0025
Tags: Add Tag
No Tags, Be the first to tag this record!
Description
Summary:Online social media has seen a significant increase in usage over the last decade, enabling people to communicate more easily. The vast amount of data generated by these platforms is mostly uncontrolled and unmanageable. This has also provided opportunities for individuals to engage in hate speech and offensive language on these platforms. To address this issue, this research aims to conduct extensive experiments using machine learning models and handcrafted feature extraction in the low-resource language Albanian. We utilized several machine-learning algorithms, including Support Vector Machine (SVM), Naive Bayes (NB), Random Forest (RF), and Logistic Regression (LR), and extracted a considerable number of handcrafted features. To improve accuracy, we carefully performed feature selection to identify the most relevant features for detecting hate speech in the Albanian language. The results show that LR performed best in terms of accuracy, with an F1 score of 76.77. Using Random Forest feature ranking and SHAP analysis revealed that many comments on Albanian social media exhibit unique characteristics, resulting in a large feature set. This suggests that there is no clear pattern for the machine learning models to accurately flag the comments, indicating that Albanian is linguistically challenging to analyze.
ISSN:1857-8462