Logo Lanfrica
  • Home
  • Atlas
  • Insights
  • Docs
  • Sign in

© 2026 Lanfrica. All rights reserved. All copyrights of the resources shown on the Lanfrica website belong to the original copyright holders, unless explicitly stated otherwise.

Detection of Hate Speech Code Mix Involving English and Other Nigerian Languages

Domain:

natural language processing

Record type:

paper
Creator:
JosOyeFai
Publisher:
Aso
Host:
Hate speech is a recurrent event and has become a cause for global concern. The proliferation of hate speech has recently become prevalent, breeding room for violence and discrimination against specific individuals or groups. In Nigeria, message masking (use of language-mix) has become the new normal, especially in disseminating hateful and inciting comments. Hence, there is a need to curb the spread over social media. Therefore, this research focuses on detecting hate speech on social media with a code-mix of English, Pidgin and any of the three major Nigerian languages (Hausa, Igbo and Yoruba). The research used two machine learning algorithms: Support Vector Machine (SVM) and Random Forest (RF). Data were collected from tweets on the EndSARS protest and the 2023 Nigerian elections. The major features were extracted, and the text was converted into vectors using TF-IDF and Bag-of-words (BoW), which were used to train and test the model. The result showed that SVM performed better in classifying hate speech than RF on both TF-IDF and BoW features, averaging 93.43% for accuracy, 93.70% for precision, 93.43% for recall, and 93.57% for F1-score.

Visit

doi.org

Tasks

code switchinghate speech detectiontext classification

Languages

HausaYoruba

Licenses

http://creativecommons.org/licenses/by/4.0

Similar

SWAHILI AND CODE-SWITCHED ENGLISH-SWAHILI POLITICAL HATE SPEECH DETECTION TEXTUAL DATASETPsychosocial Features for Hate Speech Detection in Code-switched TextsDataScience-ArtificialIntelligence/Hate-speech-detection-for-Low-resource-languagesHate speech detection in Hausa code-mixed tweets using machine learningNigerian Multilingual Hate SpeechA Comparative Study of Transformer-based Models for Hate-Speech Detection in English-Kiswahili Code-Switched Social Media Text

SWAHILI AND CODE-SWITCHED ENGLISH-SWAHILI POLITICAL HATE SPEECH DETECTION TEXTUAL DATASET

This dataset consist of swahili and code switched English-Swahili tweets labeled for hate speech typ

Psychosocial Features for Hate Speech Detection in Code-switched Texts

This study examines the problem of hate speech identification in codeswitched text from social media

DataScience-ArtificialIntelligence/Hate-speech-detection-for-Low-resource-languages

# Hate-speech-detection-for-Low-resource-languages ## Overview This project aims to develop machine

Hate speech detection in Hausa code-mixed tweets using machine learning

Code-mixed communication in Nigeria, involving English, Nigerian Pidgin, Hausa, Yoruba, and Igbo, po

Nigerian Multilingual Hate Speech

Multilingual Hate Speech Dataset from Nigerian Tweets - Igbo, Yoruba and Hausa

A Comparative Study of Transformer-based Models for Hate-Speech Detection in English-Kiswahili Code-Switched Social Media Text

The transformer architecture, first introduced in 2017 by researchers at Google, has revolutionized