Oyewola David Opeoluwa, Oladimeji Lawal Abdullahi, Julius Sowore Olatunji, Kachalla Lummo Bala, Dada Emmanuel Gbenga
Department of Mathematics and Statistics, Federal University Kashere, Gombe State, Nigeria.
Department of Public Administration, Gombe State University, Gombe State, Nigeria.
Heliyon. 2023 Mar 30;9(4):e14836. doi: 10.1016/j.heliyon.2023.e14836. eCollection 2023 Apr.
Sentiment analysis is the process of recognizing positive or negative attitudes in text. This technique makes use of computational linguistics, text analysis, and natural language processing. The 2023 presidential election in Nigeria is a significant event for the country, as it will determine the leader of the nation for the next four years. As such, it is important to understand the sentiment of the public towards the different candidates. In this research, we aimed to understand the sentiment of the public towards the three main candidates in the 2023 presidential election in Nigeria, Atiku, Tinubu, and Obi, by conducting a sentiment analysis on tweets related to the candidates. We used the long short-term memory (LSTM), peephole long short term memory (PLSTM), and two-stage residual long short-term memory (TSRLSTM) models to classify tweets as positive, neutral, or negative. Our dataset consisted of a large number of tweets that were preprocessed to remove noise and irrelevant information. Results showed that TSRLSTM performed excellently well in classifying the tweets and in identifying the sentiment towards each candidate individually. Our findings provide valuable insights into the public's opinion on the candidates and their campaign strategies, which can be useful for researchers, political analysts, and decision-makers. Our study highlights the importance of sentiment analysis in understanding public opinion and its potential applications in the field of political science.
情感分析是识别文本中积极或消极态度的过程。这项技术利用了计算语言学、文本分析和自然语言处理。2023年尼日利亚总统选举对该国来说是一个重大事件,因为它将决定未来四年国家的领导人。因此,了解公众对不同候选人的态度很重要。在这项研究中,我们旨在通过对与候选人相关的推文进行情感分析,来了解尼日利亚2023年总统选举中公众对三位主要候选人阿提库、蒂努布和奥比的态度。我们使用长短期记忆(LSTM)、窥视孔长短期记忆(PLSTM)和两阶段残差长短期记忆(TSRLSTM)模型将推文分类为积极、中性或消极。我们的数据集由大量经过预处理以去除噪声和无关信息的推文组成。结果表明,TSRLSTM在对推文进行分类以及单独识别对每位候选人的态度方面表现出色。我们的研究结果为公众对候选人及其竞选策略的看法提供了有价值的见解,这对研究人员、政治分析师和决策者可能有用。我们的研究强调了情感分析在理解公众舆论方面的重要性及其在政治学领域的潜在应用。