Cargando…
From Twitter to Aso-Rock: A sentiment analysis framework for understanding Nigeria 2023 presidential election
INTRODUCTION: Social media platforms such as Facebook, LinkedIn, Twitter, among others have been used as tools for staging protests, opinion polls, campaign strategy, medium of agitation and a place of interest expression especially during elections. AIM: In this work, a Natural Language Processing...
Autores principales: | , , , , , , , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Elsevier
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10199181/ https://www.ncbi.nlm.nih.gov/pubmed/37215756 http://dx.doi.org/10.1016/j.heliyon.2023.e16085 |
_version_ | 1785044876488867840 |
---|---|
author | Olabanjo, Olusola Wusu, Ashiribo Afisi, Oseni Asokere, Mauton Padonu, Rebecca Olabanjo, Olufemi Ojo, Oluwafolake Folorunso, Olusegun Aribisala, Benjamin Mazzara, Manuel |
author_facet | Olabanjo, Olusola Wusu, Ashiribo Afisi, Oseni Asokere, Mauton Padonu, Rebecca Olabanjo, Olufemi Ojo, Oluwafolake Folorunso, Olusegun Aribisala, Benjamin Mazzara, Manuel |
author_sort | Olabanjo, Olusola |
collection | PubMed |
description | INTRODUCTION: Social media platforms such as Facebook, LinkedIn, Twitter, among others have been used as tools for staging protests, opinion polls, campaign strategy, medium of agitation and a place of interest expression especially during elections. AIM: In this work, a Natural Language Processing framework is designed to understand Nigeria 2023 presidential election based on public opinion using Twitter dataset. METHODS: Two million tweets with 18 features were collected from Twitter containing public and personal tweets of the three top contestants – Atiku Abubakar, Peter Obi and Bola Tinubu – in the forthcoming 2023 Presidential election. Sentiment analysis was performed on the preprocessed dataset using three machine learning models namely: Long Short-Term Memory (LSTM) Recurrent Neural Network, Bidirectional Encoder Representations from Transformers (BERT) and Linear Support Vector Classifier (LSVC) models. This study spanned ten weeks starting from the candidates’ declaration of intent to run for Presidency. RESULTS: The sentiment models gave an accuracy, precision, recall, AUC and f-measure of 88%, 82.7%, 87.2%, 87.6% and 82.9% respectively for LSTM; 94%, 88.5%, 92.5%, 94.7% and 91.7% respectively for BERT and 73%, 81.4%, 76.4%, 81.2% and 79.2% respectively for LSVC. Result also showed that Peter Obi has the highest total impressions the highest positive sentiments, Tinubu has the highest network of active friends while Atiku has the highest number of followers. CONCLUSION: Sentiment analysis and other Natural Language Understanding tasks can aid in the understanding of the social media space in terms of public opinion mining. We conclude that opinion mining from Twitter can form a general basis for generating insights for election as well as modeling election outcomes. |
format | Online Article Text |
id | pubmed-10199181 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | Elsevier |
record_format | MEDLINE/PubMed |
spelling | pubmed-101991812023-05-21 From Twitter to Aso-Rock: A sentiment analysis framework for understanding Nigeria 2023 presidential election Olabanjo, Olusola Wusu, Ashiribo Afisi, Oseni Asokere, Mauton Padonu, Rebecca Olabanjo, Olufemi Ojo, Oluwafolake Folorunso, Olusegun Aribisala, Benjamin Mazzara, Manuel Heliyon Research Article INTRODUCTION: Social media platforms such as Facebook, LinkedIn, Twitter, among others have been used as tools for staging protests, opinion polls, campaign strategy, medium of agitation and a place of interest expression especially during elections. AIM: In this work, a Natural Language Processing framework is designed to understand Nigeria 2023 presidential election based on public opinion using Twitter dataset. METHODS: Two million tweets with 18 features were collected from Twitter containing public and personal tweets of the three top contestants – Atiku Abubakar, Peter Obi and Bola Tinubu – in the forthcoming 2023 Presidential election. Sentiment analysis was performed on the preprocessed dataset using three machine learning models namely: Long Short-Term Memory (LSTM) Recurrent Neural Network, Bidirectional Encoder Representations from Transformers (BERT) and Linear Support Vector Classifier (LSVC) models. This study spanned ten weeks starting from the candidates’ declaration of intent to run for Presidency. RESULTS: The sentiment models gave an accuracy, precision, recall, AUC and f-measure of 88%, 82.7%, 87.2%, 87.6% and 82.9% respectively for LSTM; 94%, 88.5%, 92.5%, 94.7% and 91.7% respectively for BERT and 73%, 81.4%, 76.4%, 81.2% and 79.2% respectively for LSVC. Result also showed that Peter Obi has the highest total impressions the highest positive sentiments, Tinubu has the highest network of active friends while Atiku has the highest number of followers. CONCLUSION: Sentiment analysis and other Natural Language Understanding tasks can aid in the understanding of the social media space in terms of public opinion mining. We conclude that opinion mining from Twitter can form a general basis for generating insights for election as well as modeling election outcomes. Elsevier 2023-05-12 /pmc/articles/PMC10199181/ /pubmed/37215756 http://dx.doi.org/10.1016/j.heliyon.2023.e16085 Text en © 2023 The Authors https://creativecommons.org/licenses/by/4.0/This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/). |
spellingShingle | Research Article Olabanjo, Olusola Wusu, Ashiribo Afisi, Oseni Asokere, Mauton Padonu, Rebecca Olabanjo, Olufemi Ojo, Oluwafolake Folorunso, Olusegun Aribisala, Benjamin Mazzara, Manuel From Twitter to Aso-Rock: A sentiment analysis framework for understanding Nigeria 2023 presidential election |
title | From Twitter to Aso-Rock: A sentiment analysis framework for understanding Nigeria 2023 presidential election |
title_full | From Twitter to Aso-Rock: A sentiment analysis framework for understanding Nigeria 2023 presidential election |
title_fullStr | From Twitter to Aso-Rock: A sentiment analysis framework for understanding Nigeria 2023 presidential election |
title_full_unstemmed | From Twitter to Aso-Rock: A sentiment analysis framework for understanding Nigeria 2023 presidential election |
title_short | From Twitter to Aso-Rock: A sentiment analysis framework for understanding Nigeria 2023 presidential election |
title_sort | from twitter to aso-rock: a sentiment analysis framework for understanding nigeria 2023 presidential election |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10199181/ https://www.ncbi.nlm.nih.gov/pubmed/37215756 http://dx.doi.org/10.1016/j.heliyon.2023.e16085 |
work_keys_str_mv | AT olabanjoolusola fromtwittertoasorockasentimentanalysisframeworkforunderstandingnigeria2023presidentialelection AT wusuashiribo fromtwittertoasorockasentimentanalysisframeworkforunderstandingnigeria2023presidentialelection AT afisioseni fromtwittertoasorockasentimentanalysisframeworkforunderstandingnigeria2023presidentialelection AT asokeremauton fromtwittertoasorockasentimentanalysisframeworkforunderstandingnigeria2023presidentialelection AT padonurebecca fromtwittertoasorockasentimentanalysisframeworkforunderstandingnigeria2023presidentialelection AT olabanjoolufemi fromtwittertoasorockasentimentanalysisframeworkforunderstandingnigeria2023presidentialelection AT ojooluwafolake fromtwittertoasorockasentimentanalysisframeworkforunderstandingnigeria2023presidentialelection AT folorunsoolusegun fromtwittertoasorockasentimentanalysisframeworkforunderstandingnigeria2023presidentialelection AT aribisalabenjamin fromtwittertoasorockasentimentanalysisframeworkforunderstandingnigeria2023presidentialelection AT mazzaramanuel fromtwittertoasorockasentimentanalysisframeworkforunderstandingnigeria2023presidentialelection |