Abstract:
Toxicity and hate speech on social media platforms can lead to cyber-crime, affecting social life on a personal and community
level. Therefore, automatic toxicity and hateful content detection are necessary to enhance web content quality and fight against
inappropriate speech spread through social media. This need is also a challenge when comments are posted and written in complex
languages, such as Arabic, which is recognised for its difficulties and lack of resources. This paper introduces a new dataset for
Algerian dialect toxic text detection, whereby we build an annotated multi-label dataset consisting of 14150 comments extracted from
Facebook, YouTube and Twitter, and labelled as hate speech, offensive language and cyberbullying. To assess the practical utility of
the created annotated dataset, several tests have been conducted using many classification models of traditional machine learning (ML),
namely, Random Forest, Na¨ıve Bayes, Linear Support Vector (SVC), Stochastic Gradient Descent (SGD) and Logistic Regression.
Furthermore, several assessments have been conducted using Deep Learning (DL) models such as Convolutional Neural Network
(CNN), Long Short-Term Memory (LSTM), Gated Recurrent Unit (GRU), Bidirectional-LSTM (Bi-LSTM) and Bidirectional-GRU
(Bi-GRU). Experimental tests demonstrate the success of the Bi-GRU model, which achieved the highest results for DL classification,
with 73.6% Accuracy and 75.8% F1-Score.