3rd IEEE International Conference on Electronic Engineering (ICEEM-2023)
Hate speech detection by classic machine learning
Paper ID : 1038-ICEEM2023 (R2)
Authors:
Tharwat Elsayed Ismail Abdalla *1, Abdalla Moustafa Nabil2, Mohamed M Elrashidy2, Ayman EL-SAYED3
141511
2Menoufia university
3Menoufia University
Abstract:
It is becoming increasingly important for society to identify hate speech on social media. Differentiating hate speech from other instances involving offensive language is a significant difficulty for automatic hate speech tracking on social media. To distinguish between these categories, we train various classical machine learning models such as logistic regression, decision trees, random forest, naive Bayes, k-nearest neighbors, and support vector machines on a dataset divided into three groups: those containing hate speech, those containing only offensive language, and those containing neither. From our practical trials, we found that the Logistic Regression algorithm and the SVM-SVC algorithm perform well in detecting hate speech and offensive language.
Keywords:
Artificial Intelligence; Machine Learning; Natural Language Processing; People with special needs; Hate speech; Offensive language.
Status : Paper Accepted (Oral Presentation)