Abstract
Online social networks such as Twitter, Facebook, Google+ and LinkedIn are the major sources to get massive data of people, communities and events. In the recent years, opinion mining received a huge amount of attention from researchers to understand the views of people and to extract useful patterns regarding any event or topic. These useful patterns help to predict upcoming events, user behavior, product sale and political elections etc. In this paper, we performed sentimental analysis of people on twitter data for upcoming general election of 2018 of Pakistan. We have chosen three major political parties PPP (Pakistan People Party), PMLN (Pakistan Muslim League Nawaz) and PTI (Pakistan Tehreek-e-Insaf) and their activists to find which party is the most favorable (for win) during upcoming elections. We have generated extensive results to understand the views of users with different aspects shown in the experimental results section. We used R-Studio [1] and its built-in libraries for generating different types of results. According to the results based on positive reviews, PTI and PPP have great competition, but according to the negative reviews PMLN will be the leading party.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
RStudio – Open source and enterprise-ready professional software for R. https://www.rstudio.com/. Accessed 5 May 2018
Kaplan, A.M., Haenlein, M.: Users of the world, unite! The challenges and opportunities of social media. Bus. Horiz. 53(1), 59–68 (2010)
Dunnmon, J., et al.: Predicting state-level agricultural sentiment with tweets from farming communities
Ayub, U., Moqurrab, S.A.: Predicting crop diseases using data mining approaches: classification. In: 2018 1st International Conference on Power, Energy and Smart Grid (ICPESG). IEEE (2018)
Fiarni, C., Maharani, H., Pratama, R.: Sentiment analysis system for Indonesia online retail shop review using hierarchy Naive Bayes technique. In: 2016 4th International Conference on Information and Communication Technology (ICoICT). IEEE (2016)
Bedi, P., Sharma, C.: Community detection in social networks. Wiley Interdisc. Rev.: Data Min. Knowl. Discov. 6(3), 115–135 (2016)
Balahadia, F.F., Fernando, M.C.G., Juanatas, I.C.: Teacher’s performance evaluation tool using opinion mining with sentiment analysis. In: 2016 IEEE on Region 10 Symposium (TENSYMP). IEEE (2016)
Khan, M.T., Khalid, S.: Sentiment analysis for health care. In: Big Data: Concepts, Methodologies, Tools, and Applications, pp. 676–689. IGI Global (2016)
Mergel, I.: Social media institutionalization in the US federal government. Govern. Inf. Q. 33(1), 142–148 (2016)
Ghiassi, M., Skinner, J., Zimbra, D.: Twitter brand sentiment analysis: a hybrid system using n-gram analysis and dynamic artificial neural network. Expert Syst. Appl. 40(16), 6266–6282 (2013)
Twitter Statisitics. http://www.statisticbrain.com/twitter-statistics/. Accessed 5 May 2018
Spengler, C., Wirth, W., Sigrist, R.: 360-grad-touchpoint-management—Muss unsere Marke jetzt twittern. Mark. Rev. St. Gallen 27(2), 14–20 (2010)
Bae, Y., Lee, H.: Sentiment analysis of Twitter audiences: measuring the positive or negative influence of popular Twitterers. J. Assoc. Inf. Sci. Technol. 63(12), 2521–2535 (2012)
Hao, M., et al.: Visual sentiment analysis on Twitter data streams. In: 2011 IEEE Conference on Visual Analytics Science and Technology (VAST). IEEE (2011)
Tweet Feel. http://www.tweetfeel.com/. Accessed 15 May 2018
Pakistan General Elections. https://en.wikipedia.org/wiki/Pakistani_general_election,_2018. Accessed 15 May 2018
Agrawal, A., Hamling, T.: Sentiment analysis of tweets to gain insights into the 2016 US election. Columbia Undergrad. Sci. J. 11 (2017)
Salloum, S.A., et al.: A survey of text mining in social media: Facebook and Twitter perspectives. Adv. Sci. Technol. Eng. Syst. J. 2(1), 127–133 (2017)
Twitter Political Index. http://www.topsylabs.com/election/. Accessed 25 May 2018
A new barometer for the election – Twitter Political Index. https://blog.twitter.com/2012/new-barometer-election. Accessed 25 May 2018
Malinský, R., Jelínek, I.: Sentiment analysis: popularity of candidates for the president of the united states. Proc. World Acad. Sci. Eng. Technol. 72, 1382–1384 (2012)
Granka, L.: Using online search traffic to predict US presidential elections. PS Polit. Sci. Polit. 46(2), 271–279 (2013)
DiGrazia, J., McKelvey, K., Bollen, J., Rojas, F.: More tweets, more votes: social media as a quantitative indicator of political behavior. PLoS One 8(11), e79449 (2013)
Tumasjan, A., Sprenger, T.O., Sandner, P.G., Welpe, I.M.: Predicting elections with Twitter: what 140 characters reveal about political sentiment. In: International AAAI Conference on Weblogs and Social Media (2010)
Belgian Elections – Twitter Opinion Mining. http://www.clips.ua.ac.be/pages/pattern-examples-elections. Accessed 25 May 2018
Skoric, M., Poor, N., Achananuparp, P., Lim, E.P., Jiang, J.: Tweets and votes: a study of the 2011 Singapore general election. In: 45th Hawaii International Conference on System Sciences, pp. 2583–2591 (2012)
Gayo-Avello, D.: A meta-analysis of state-of-the-art electoral prediction from Twitter data. CoRR, abs/1206.5851 (2012)
Chung, J., Mustafaraj, E.: Can collective sentiment expressed on Twitter predict political elections? In: Proceedings of the Twenty-Fifth AAAI Conference on Artificial Intelligence (2011)
Karami, A., Bennett, L.S., He, X.: Mining public opinion about economic issues: Twitter and the US presidential election. Int. J. Strateg. Decis. Sci. (IJSDS) 9(1), 18–28 (2018)
Sharma, N., et al.: Web-based application for sentiment analysis of live tweets. In: Proceedings of the 19th Annual International Conference on Digital Government Research: Governance in the Data Age. ACM (2018)
Oauth with the Twitter API. https://developer.twitter.com/en/docs/basics/authentication/overview/oauth. Accessed 25 May 2018
Bioconductor – Install. https://www.bioconductor.org. Accessed 25 May 2018
R package for sentiment text analysis. https://github.com/okugami79/sentiment140. Accessed 25 May 2018
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2019 Springer Nature Singapore Pte Ltd.
About this paper
Cite this paper
Khan, S., Moqurrab, S.A., Sehar, R., Ayub, U. (2019). Opinion and Emotion Mining for Pakistan General Election 2018 on Twitter Data. In: Bajwa, I., Kamareddine, F., Costa, A. (eds) Intelligent Technologies and Applications. INTAP 2018. Communications in Computer and Information Science, vol 932. Springer, Singapore. https://doi.org/10.1007/978-981-13-6052-7_9
Download citation
DOI: https://doi.org/10.1007/978-981-13-6052-7_9
Published:
Publisher Name: Springer, Singapore
Print ISBN: 978-981-13-6051-0
Online ISBN: 978-981-13-6052-7
eBook Packages: Computer ScienceComputer Science (R0)