Skip to main content

Analyzing Political Sentiment Using Twitter Data

  • Conference paper
  • First Online:
Information and Communication Technology for Intelligent Systems

Part of the book series: Smart Innovation, Systems and Technologies ((SIST,volume 107))

Abstract

Today microblogging has become a very common platform for exchanging opinion among us. Many users exchange their thoughts on various aspects of their activity. Consequently, microblogging Web sites are the substantial origin of information for sentiment analysis and opinion mining. Twitter is a famous microblogging Web site where 500 million tweets are posted every day. In this manuscript, we summarize the data set of Twitter messages related to recent 14th Gujarat Legislative Assembly Election, 2017, for predicting the chances of winning party by utilizing public’s opinion. We use NRC Emotion Lexicon to determine the overall tone of the event by eight emotions. Furthermore, we use a deep learning tool named ParallelDots AI APIs by ParallelDots, Inc. that can analyze the sentiment into positive, negative, and neutral. This tool helped to extract various people’s sentiment and summarize the results for further decision making.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Hardcover Book
USD 219.99
Price excludes VAT (USA)
  • Durable hardcover 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

References

  1. Hussein, D.M.E.D.M.: A survey on sentiment analysis challenges. J. King Saud Univ. Eng. Sci. 1–9 (2016)

    Google Scholar 

  2. Haddia, E., Liua, X., Shib, Y.: The role of text pre-processing in sentiment analysis information technology quantitative management (ITQM2013). Proc. Comp. Sci. 17, 26–32 (2013)

    Article  Google Scholar 

  3. Mamgain, N., Mehta, E., Mittal, A., Bhatt, G.: Sentiment analysis of top colleges in India using twitter data. In: International Conference on Computational Techniques in Information and Communication Technologies, pp. 1–6 (2016)

    Google Scholar 

  4. Medhat, W., Hassan, A., Korashy, H.: Sentiment analysis algorithms and applications: a survey. Ain Shams Eng. J. 5, 1093–1113 (2014)

    Article  Google Scholar 

  5. Shamma, D.A., Kennedy, L., Churchill, E.F.: System and method for using topic messages to understand media relating to an event. US 8,396,874 B2, 1–17 (2013)

    Google Scholar 

  6. Turney, P.D.: 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 Philadelphia, pp. 417–424 (2002)

    Google Scholar 

  7. Pang, B., Lee, L., Vaithyanathan, S.: Thumbs up? Sentiment classification using machine learning techniques. In: Proceedings of the ACL-02 conference on Empirical Methods in Natural Language Processing, vol. 10, 79–86 (2002)

    Google Scholar 

  8. Chesley, P.: Using verbs and adjectives to automatically classify blog sentiment. In: Proceedings of AAAI-CAAW-06. The Spring Symposia on Computational Approaches, pp. 1–3 (2006)

    Google Scholar 

  9. Godbole, N., Srinivasaiah, M., Skiena, S.: Large-scale sentiment analysis for news and blogs. In: Proceedings of the International Conference on Weblogs and Social Media (ICWSM), pp. 1–6. Colorado, USA (2006)

    Google Scholar 

  10. Bermingham, A., Smeaton, A.F.: Classifying sentiment in microblogs: is brevity an advantage? In: Proceeding of the 19th ACM international conference on Information and Knowledge Management, pp. 1833–1836 (2010)

    Google Scholar 

  11. Pak, A., Paroubek, P.: Twitter as a corpus for sentiment analysis and opinion mining. In: Proceedings of the Seventh International Conference on Language Resources and Evaluation (LREC’10), pp. 1320–1326 (2010)

    Google Scholar 

  12. Davidov, D., Tsur, O.: Rappoport a: enhanced sentiment learning using twitter hashtags and smileys. In: Proceeding of the 23rd International Conference on Computational Linguistics: Posters, pp. 241–249 (2010)

    Google Scholar 

  13. Bakliwal, A., Arora, P., Madhappan, S., Kapre, N., Singh, M., Varma, V.: Mining sentiments from tweets. In: Proceeding of the WASSA’12 in Conjunction with ACL’12, pp. 11–18 (2012)

    Google Scholar 

  14. Tumasjan, A., Sprenger, T.O., Sandner, P.G., Welpe, I.G.: Predicting elections with twitter: what 140 characters reveal about political sentiment. In: Proceeding of the International Conference on Weblogs and Social Media, pp. 178–185 (2010)

    Google Scholar 

  15. Pennebaker, J.W., Chung, C.K., Ireland, M., Gonzales, A., Booth, R.J.: The Development and Psychometric Properties of LIWC2007. Technical Report, Austin, Texas, pp. 1–22 (2007)

    Google Scholar 

  16. O’Connor, B., Balasubramanyan, R., Routledge, B.R., Smith, N.A.: From tweets to polls: linking text sentiment to public opinion time series. In: Proceeding of the International Conference on Weblogs and Social Media (ICWSM), pp. 122–129 (2010)

    Google Scholar 

  17. Choy, M., Cheong, M. L.F., Laik, M.N., Shung, K.P.: A sentiment analysis of Singapore presidential election 2011 using twitter data with census correction. Res. Collect. Sch. Inf. Syst. 1–12 (2012)

    Google Scholar 

  18. Wang, H., Can, D., Kazemzadeh, A., Bar, F., Narayanan, S.: A system for realtime twitter sentiment analysis of 2012 U.S presidential election cycle. In: ACL ‘12 Proceedings of the ACL 2012 Systems Demonstrations, pp. 115–120 (2012)

    Google Scholar 

  19. Ringsquandl, M., Petković, D.: Analyzing political sentiment on twitter. Assoc. Adv. Artif. Intell. 40–47 (2013)

    Google Scholar 

  20. Elghazaly, T., Mahmoud, A., Hefny, H.A.: Political sentiment analysis using twitter data. In: Proceedings of the International Conference on Internet of things and Cloud Computing, p. 11 (2016)

    Google Scholar 

  21. Sharma, P., Moh, T-S.: Prediction of Indian election using sentiment analysis on Hindi twitter. In: 2016 IEEE International Conference on Big Data (Big Data), pp. 1966–1971 (2016)

    Google Scholar 

  22. Sharma, Y., Mangat, V., Kaur, M.: A practical approach to sentiment analysis of Hindi tweets. In: Proceedings of the 2015 1st International Conference on Next Generation Computing Technology (NGCT), pp. 677–680 (2015)

    Google Scholar 

  23. Agarwal, A.: How to Save Tweets for any Twitter Hashtag in a Google Sheet. Digital Inspiration (2015)

    Google Scholar 

  24. Gujarat Legislative Assembly election: 2017 Wikipedia (2017)

    Google Scholar 

  25. Kharde, V.A., Sonawane, S.S.: Sentiment analysis of twitter data: a survey of techniques. Int. J. Comput. Appl. 139(11), 5–15 (2016)

    Google Scholar 

  26. Niyogi, M., Pal, A.K.: Discovering conversational topics and emotions associated with demonetization tweets in India. arXiv:1711.04115v1 [cs.CL]. 1–6 (2017)

  27. Vijayarani, S., Ilamathi, J., Nithya, M.: Preprocessing techniques for text mining—an overview. Int. J. Comput. Sci. Commun. Netw. 5(1), 7–16 (2015)

    Google Scholar 

  28. Mohammad, S.M., Kiritchenko, S.: Using hashtags to capture fine emotion categories from tweets. Special issue on Semant. Anal. Soc. Med. Comput. Intell. 1–22 (2013)

    Google Scholar 

  29. Sharma, G.: Extract the context: sentiment analysis and opinion mining. ParallelDots (2017)

    Google Scholar 

  30. List of languages by number of native speakers in India. Wikipedia (2017)

    Google Scholar 

Download references

Declaration

The authors declare and solemnly affirm that this research has neither been funded by any political or religious groups nor are the authors in any way affiliated to any institutions with direct or indirect access to groups with biased interests. This research work has been carried out exclusively and independently by the authors in the interests of technology and progress of science in sentiment analysis and related fields.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sandip Roy .

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

Bose, R., Dey, R.K., Roy, S., Sarddar, D. (2019). Analyzing Political Sentiment Using Twitter Data. In: Satapathy, S., Joshi, A. (eds) Information and Communication Technology for Intelligent Systems . Smart Innovation, Systems and Technologies, vol 107. Springer, Singapore. https://doi.org/10.1007/978-981-13-1747-7_41

Download citation

Publish with us

Policies and ethics