Opinion and Emotion Mining for Pakistan General Election 2018 on Twitter Data | SpringerLink
Skip to main content

Opinion and Emotion Mining for Pakistan General Election 2018 on Twitter Data

  • Conference paper
  • First Online:
Intelligent Technologies and Applications (INTAP 2018)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 932))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
¥17,985 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
JPY 3498
Price includes VAT (Japan)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
JPY 11439
Price includes VAT (Japan)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
JPY 14299
Price includes VAT (Japan)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

References

  1. RStudio – Open source and enterprise-ready professional software for R. https://www.rstudio.com/. Accessed 5 May 2018

  2. Kaplan, A.M., Haenlein, M.: Users of the world, unite! The challenges and opportunities of social media. Bus. Horiz. 53(1), 59–68 (2010)

    Google Scholar 

  3. Dunnmon, J., et al.: Predicting state-level agricultural sentiment with tweets from farming communities

    Google Scholar 

  4. 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)

    Google Scholar 

  5. 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)

    Google Scholar 

  6. Bedi, P., Sharma, C.: Community detection in social networks. Wiley Interdisc. Rev.: Data Min. Knowl. Discov. 6(3), 115–135 (2016)

    Google Scholar 

  7. 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)

    Google Scholar 

  8. Khan, M.T., Khalid, S.: Sentiment analysis for health care. In: Big Data: Concepts, Methodologies, Tools, and Applications, pp. 676–689. IGI Global (2016)

    Google Scholar 

  9. Mergel, I.: Social media institutionalization in the US federal government. Govern. Inf. Q. 33(1), 142–148 (2016)

    Google Scholar 

  10. 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)

    Google Scholar 

  11. Twitter Statisitics. http://www.statisticbrain.com/twitter-statistics/. Accessed 5 May 2018

  12. Spengler, C., Wirth, W., Sigrist, R.: 360-grad-touchpoint-management—Muss unsere Marke jetzt twittern. Mark. Rev. St. Gallen 27(2), 14–20 (2010)

    Google Scholar 

  13. 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)

    Google Scholar 

  14. Hao, M., et al.: Visual sentiment analysis on Twitter data streams. In: 2011 IEEE Conference on Visual Analytics Science and Technology (VAST). IEEE (2011)

    Google Scholar 

  15. Tweet Feel. http://www.tweetfeel.com/. Accessed 15 May 2018

  16. Pakistan General Elections. https://en.wikipedia.org/wiki/Pakistani_general_election,_2018. Accessed 15 May 2018

  17. Agrawal, A., Hamling, T.: Sentiment analysis of tweets to gain insights into the 2016 US election. Columbia Undergrad. Sci. J. 11 (2017)

    Google Scholar 

  18. 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)

    Google Scholar 

  19. Twitter Political Index. http://www.topsylabs.com/election/. Accessed 25 May 2018

  20. A new barometer for the election – Twitter Political Index. https://blog.twitter.com/2012/new-barometer-election. Accessed 25 May 2018

  21. 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)

    Google Scholar 

  22. Granka, L.: Using online search traffic to predict US presidential elections. PS Polit. Sci. Polit. 46(2), 271–279 (2013)

    Google Scholar 

  23. 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)

    Google Scholar 

  24. 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)

    Google Scholar 

  25. Belgian Elections – Twitter Opinion Mining. http://www.clips.ua.ac.be/pages/pattern-examples-elections. Accessed 25 May 2018

  26. 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)

    Google Scholar 

  27. Gayo-Avello, D.: A meta-analysis of state-of-the-art electoral prediction from Twitter data. CoRR, abs/1206.5851 (2012)

    Google Scholar 

  28. 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)

    Google Scholar 

  29. 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)

    Google Scholar 

  30. 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)

    Google Scholar 

  31. Oauth with the Twitter API. https://developer.twitter.com/en/docs/basics/authentication/overview/oauth. Accessed 25 May 2018

  32. Bioconductor – Install. https://www.bioconductor.org. Accessed 25 May 2018

  33. R package for sentiment text analysis. https://github.com/okugami79/sentiment140. Accessed 25 May 2018

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Syed Atif Moqurrab .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics