Logo Lanfrica
  • Accueil
  • Atlas
  • Analyses
  • Documentation
  • Sign in

© 2026 Lanfrica. Tous droits réservés. Tous les droits d'auteur des ressources affichées sur le site Web Lanfrica appartiennent aux détenteurs de droits d'auteur d'origine, sauf indication contraire explicite.

ziqubusibusiso-svg/Sentiment-Analysis-on-South-African-Twitter-Data

Domaine:

natural language processingpeace and security

Type de record:

project
Créateur:
ziq
Hôte:
Predicting Xenophobic Attacks: Sentiment Analysis on South African Twitter Data # Sentiment-Analysis-on-South-African-Twitter-Data This project investigates the role of Twitter in shaping online communication since its launch in 2006, with particular attention to its influence in political and corporate discourse and its potential to facilitate the spread of hate speech. The study focuses on xenophobic content within South African Twitter conversations, highlighting the need for automated offensive language and sentiment detection. Using machine learning techniques, the project implements a Support Vector Classification (SVC) model combined with TF-IDF feature extraction to classify tweets into negative, positive, and neutral sentiment categories. The results indicate a strong prevalence of negative sentiment in discussions related to xenophobia. Temporal analysis further reveals shifts in narrative intensity over time. Key thematic patterns are identified through word cloud visualization and frequent word analysis, with prominent terms such as “foreigners” and “immigrants” emerging as central to the discourse. The model achieves an overall accuracy of 61%, demonstrating strong performance in detecting negative sentiment while highlighting limitations in distinguishing positive and neutral classes. This repository contributes to a deeper understanding of xenophobic sentiment on social media and emphasizes the importance of continuous model refinement and advanced natural language processing techniques. The proposed automated approach shows potential for applications in social media monitoring, sentiment analysis, and content moderation, supporting efforts to promote safer and more inclusive online environments.

Visit

github.com

Tasks

hate speech detectionsentiment analysistext classification

Similaires

frankraDIUM/Sentiment-Analysis-X-Twitter-dataMangutJ/twitter-sentiment-analysisTwitter Sentiment Analysis - XitsongaHmati/Twitter-Sentiment-Analysis-on-Kenyan-Politics-May2025AfriSenti: A Twitter Sentiment Analysis Benchmark for African LanguagesA data science analysis of the South African COVID-19 infodemic on Twitter

frankraDIUM/Sentiment-Analysis-X-Twitter-data

Sentiment analysis of flood risk perception in the Greater Accra Region of Ghana using X(Twitter) da

MangutJ/twitter-sentiment-analysis

I did a sentiment analysis of the tweets on the tweeter handle of the Covid-19 Presidential Task For

Twitter Sentiment Analysis - Xitsonga

Xitsonga Twitter Sentiment Analysis Dataset

Hmati/Twitter-Sentiment-Analysis-on-Kenyan-Politics-May2025

The goal of this project is to analyze public sentiment around Kenyan politics by extracting, cleani

AfriSenti: A Twitter Sentiment Analysis Benchmark for African Languages

Africa is home to over 2000 languages from over six language families and has the highest linguistic diversity among all continents. This includes 75 languages with at least one million speakers each. Yet, there is little NLP research conducted on African languages

A data science analysis of the South African COVID-19 infodemic on Twitter

The rapid dissemination of information on Twitter (X), particularly during COVID-19, has exacerbated