Abstract
This work investigates empirically the impact of political party control over its candidates or vice versa on winning an election using a natural language processing technique called sentiment analysis (SA). To do this, a set of 7430 tweets bearing or related to #AnambraDecides2017 was streamed during the November 18, 2017, Anambra State gubernatorial election. These are Twitter discussions on the top five political parties and their candidates termed political actors in this paper. We conduct polarity and subjectivity sentiment analyses on all the tweets considering time as a useful dimension of SA. Furthermore, we use the word frequency to find words most associated with the political actors in a given time. We find most talked about topics using a topic modeling algorithm and how the computed sentiments and most frequent words are related to the topics per political actor. Among other things, we deduced from the experimental results that even though a political party serves as a platform that sales the personality of a candidate, the acceptance of the candidate/party adds to the winning of an election. For example, we found the winner of the election Willie Obiano benefiting from the values his party share among the people of the State. Associating his name with his party, All Progressive Grand Alliance (APGA) displays more positive sentiments and the subjective sentiment analysis indicates that Twitter users mentioning APGA are less emotionally subjective in their tweets than the other parties.
Similar content being viewed by others
Notes
A special kind of a simple interface that is present in NLTK to look up words in WordNet.
Political candidates and their parties.
referring to election materials.
References
ACE (2012) Parties and candidates in the electoral process—ace, ACE-the electoral knowledge network. http://aceproject.org/ace-en/topics/pc/pcc/pcc06/default. Accessed 19 July 2019
Bettina P (2009) The media’s role: covering or covering up corruption? In: Transparency international, global corruption report 2003. Transparency International, Berlin
Blei David M, Ng Andrew Y, Jordan Michael I (2003) Latent dirichlet allocation. J Mach Learn Res 3(Jan):993–1022
Boutet A, Kim H, Yoneki E (2013) What’s in Twitter, I know what parties are popular and who you are supporting now!. Soc Netw Anal Min 3:1379–1391. https://doi.org/10.1007/s13278-013-0120-1
Conover MD, Ratkiewicz J, Francisco M, Gonçalves B, Menczer F Flammini A (2011) Political polarization on twitter. In: Fifth international AAAI conference on weblogs and social media
Dahal B, Kumar SAP, Li Z (2019) Topic modeling and sentiment analysis of global climate change tweets. Soc Netw Anal Min 9:24. https://doi.org/10.1007/s13278-019-0568-8
Esuli A, Sebastiani F (2007) SentiWordNet: a high-coverage lexical resource for opinion mining. Evaluation 17(1):26
de França FO, Goya DH, de Camargo Penteado CL (2018) User profiling of the Twitter Social Network during the impeachment of Brazilian President. Soc Netw Anal Min 8:5. https://doi.org/10.1007/s13278-017-0482-x
Giachanou A, Crestani F (2016) Like it or not: a survey of twitter sentiment analysis methods. ACM Comput Surv 49(2):28:1–28:41. https://doi.org/10.1145/2938640
Giachanou A, Crestani F (2016) Tracking sentiment by time series analysis. In: Proceedings of the 39th international ACM SIGIR conference on research and development in information retrieval, pp 1037–1040
Gilbert CJHE (2014) Vader: a parsimonious rule-based model for sentiment analysis of social media text. In: Eighth international conference on weblogs and social media (ICWSM-14). Available at (20/04/16)
Hatzivassiloglou V, McKeown K (1997) Predicting the semantic orientation of adjectives. In: Proceedings of the joint ACLEACL conference, pp 174–181
Hatzivassiloglou V, Wiebe J (2000) Effects of adjective orientation and gradability on sentence subjectivity. In: Proceedings of the international conference on computational linguistics (COLING)
Heredia B, Prusa JD, Khoshgoftaar TM (2018) Social media for polling and predicting United States election outcome. Soc Netw Anal Min 8:48. https://doi.org/10.1007/s13278-018-0525-y
Hoegg Joandrea, Lewis Michael V (2011) The impact of candidate appearance and advertising strategies on election results. J Mark Res 48(5):895–909
Hu M, Liu B (2004) Mining and summarizing customer reviews. In: Proceedings of the tenth ACM SIGKDD international conference on knowledge discovery and data mining. ACM, pp 168–177
Kharde V, Sonawane P et al (2016) Sentiment analysis of twitter data: a survey of techniques. arXiv preprint arXiv:1601.06971
Kim SM, Hovy E (2004) Determining the sentiment of opinions. In: Proceedings of the 20th international conference on computational linguistics, association for computational linguistics, p 1367
Kumar S, Morstatter F, Liu H (2014) Twitter data analytics. In: Lecture notes on social networks series. Springer, New York, X, 77
Liu B (2010) Sentiment analysis and subjectivity. In: Handbook of natural language processing, No. 2, pp 627–666
Makazhanov A, Rafiei D, Waqar M (2014) Predicting political preference of Twitter users. Soc Netw Anal Min 4:193. https://doi.org/10.1007/s13278-014-0193-5
Nwagbo S, Okafor U, Obiora C (2016) Politics and democratic challenges: re-visiting the role of the media in the nigeria’s fourth republic, Social Science Research Nnamdi Azikiwe University. Awka Nigeria (Spec Issue) 3(2):51–64
Nwagbo S, Okafor U, Obiora C (2012) Predicting collective sentiment dynamics from time-series social media. In: Proceedings of the first international workshop on issues of sentiment discovery and opinion mining, pp 1–8
Pak A, Paroubek P (2010) Twitter as a corpus for sentiment analysis and opinion mining. In: LREC
Pang B, Lee L (2004) A sentimental education: sentiment analysis using subjectivity summarization based on minimum cuts. In: Proceedings of the 42nd annual meeting on association for computational linguistics. Association for Computational Linguistics, p 271
Razzaq MA, Qamar AM, Bilal HSM (2014) Prediction and analysis of Pakistan election 2013 based on sentiment analysis. In: Proceedings of the 2014 IEEE/ACM international conference on advances in social networks analysis and mining. IEEE Press, pp 700–703
Riloff E, Wiebe J (2003) Learning extraction patterns for subjective expressions. In: Proceedings of the conference on empirical methods in natural language processing (EMNLP)
Riloff E, Patwardhan S, Wiebe J (2006) Feature subsumption for opinion analysis. In: Proceedings of the conference on empirical methods in natural language processing (EMNLP)
Tumasjan A, Sprenger TO, Sandner PG, Welpe IM (2010) Predicting elections with twitter: what 140 characters reveal about political sentiment. In: Fourth international AAAI conference on weblogs and social media
Turney PD (2002) Thumbs up or thumbs down? Semantic orientation applied to unsupervised classification of reviews. In: Proceedings of the 40th annual meeting on association for computational linguistics. Association for Computational Linguistics, pp 417–424
Vilares D, Thelwall M, Alonso MA (2015) The megaphone of the people? Spanish sentistrength for real-time analysis of political tweets. J Inf Sci 41(6):799–813
Wang H, Can D, Kazemzadeh A, Bar F, Narayanan S (2012) A system for real-time twitter sentiment analysis of 2012 us presidential election cycle. In: Proceedings of the ACL 2012 system demonstrations. Association for Computational Linguistics, pp 115–120
Wiebe J (2000) Learning subjective adjectives from corpora. In: Proceedings of AAAI
Yaqub U, Sharma N, Pabreja R, Chun SA, Atluri V, Vaidya J (2018) Analysis and visualization of subjectivity and polarity of Twitter location data. In: Proceedings of the 19th annual international conference on digital government research: governance in the data age, pp 1–10
Author information
Authors and Affiliations
Corresponding author
Ethics declarations
Conflict of interest
On behalf of all authors, the corresponding author states that there is no conflict of interest.
Additional information
Publisher's Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Disclaimer: This paper is an academic research. It is not politically motivated.
Rights and permissions
About this article
Cite this article
Onyenwe, I., Nwagbo, S., Mbeledogu, N. et al. The impact of political party/candidate on the election results from a sentiment analysis perspective using #AnambraDecides2017 tweets. Soc. Netw. Anal. Min. 10, 55 (2020). https://doi.org/10.1007/s13278-020-00667-2
Received:
Revised:
Accepted:
Published:
DOI: https://doi.org/10.1007/s13278-020-00667-2