Twitter (X) as an electoral barometer: systematic evidence from sentiment analysis of Twitter data

1Citations
Citations of this article
33Readers
Mendeley users who have this article in their library.

This article is free to access.

Abstract

Twitter (X) has emerged as a vital platform for understanding public opinion and forecasting election outcomes through real-time sentiment analysis. This study systematically reviews machine learning (ML) and deep learning (DL) techniques applied to Twitter data for election prediction. Following PRISMA guidelines, 275 studies were screened, and 76 met the inclusion criteria. The review identifies dominant methods, performance trends, and research gaps in this field. Results show that pre-election data are most frequently analyzed, with the United States, India, and Indonesia leading the research landscape. Term Frequency–Inverse Document Frequency (TF–IDF), often paired with n-gram models, remains the most widely adopted feature extraction technique. Naïve Bayes and Support Vector Machines consistently deliver strong predictive performance, while newer DL models such as BERT and Bi-LSTM demonstrate improved contextual understanding. Approximately 78% of reviewed studies correctly predicted real election outcomes. This review consolidates methodological evidence, highlights emerging transformer-based innovations, and outlines directions for multilingual, cross-platform, and explainable AI approaches in electoral forecasting.

Cite

CITATION STYLE

APA

Asokere, M., Wusu, A., & Olabanjo, O. (2025). Twitter (X) as an electoral barometer: systematic evidence from sentiment analysis of Twitter data. International Journal of Information Technology (Singapore). https://doi.org/10.1007/s41870-025-03039-1

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free