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.

Twitter Sentiment Analysis of Lagos State 2023 Gubernatorial Election using BERT

Domain:

natural language processing

Record type:

paper
Creator:
AshOluRebMan
Publisher:
MDP
Host:
Election outcomes have been predicted in the past with the help of various state-of-the-art language models. Sentiment analysis helps in establishing the opinions of the public about a particular subject, a popular experiment known as opinion mining. Twitter has grown in popularity and proven to be a key tool in mining people’s sentiments concerning election and other trending subjects of interest. The outcome of the just concluded Presidential election in Nigeria shifts the focus on Lagos State governorship election. In this study, we propose a Bidirectional Encoder Representations from Transformers (BERT) model for the sentiment analysis of governorship election in Lagos State Nigeria using Twitter data. A total of 800,000 personal and public tweets were scraped from twitter concerning the three prominent contesting candidates using carefully selected search queries. The tweets were preprocessed to avoid noise and inconsistencies. The preprocessed tweets were passed into the pretrained and finetuned BERT model. The result was analyzed to establish the sentiments of the public about the candidates. The social networks of the candidates were also analyzed. The parameter-tuning yield different results with different learning rates (LR). Results showed that the learning rate at 1e-7 gave the best performance and that the smaller the learning rate, the higher the accuracy but the larger the epoch size, the higher the accuracy.

Visit

doi.org

Tasks

sentiment analysistext classification

Licenses

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

Similar

rohit211-s/Sentiment-Analysis-of-2023-Nigerian-Presidential-Election-Tweets-Using-PowerBITobibiggest/Ashluxe-Sentiment-Analysis-using-Twitter-APiTrinity at SemEval-2023 Task 12: Sentiment Analysis for Low-resource African Languages using Twitter DatasetMangutJ/twitter-sentiment-analysisTwitter Sentiment Analysis - XitsongaDuluthNLP at SemEval-2023 Task 12: AfriSenti-SemEval: Sentiment Analysis for Low-resource African Languages using Twitter Dataset

rohit211-s/Sentiment-Analysis-of-2023-Nigerian-Presidential-Election-Tweets-Using-PowerBI

This project analyzes public opinion on the main candidates in the 2023 election using Twitter data.

Tobibiggest/Ashluxe-Sentiment-Analysis-using-Twitter-APi

A data science project using the Twitter API v2 to analyze sentiment around the Ashluxe fashion bran

Trinity at SemEval-2023 Task 12: Sentiment Analysis for Low-resource African Languages using Twitter Dataset

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

DuluthNLP at SemEval-2023 Task 12: AfriSenti-SemEval: Sentiment Analysis for Low-resource African Languages using Twitter Dataset