Skip to main content
Log in

Sentiment analysis on social campaign “Swachh Bharat Abhiyan” using unigram method

  • Student Forum
  • Published:
AI & SOCIETY Aims and scope Submit manuscript

Abstract

Sentiment analysis is the field of natural language processing to analyze opinionated data, for the purpose of decision making. An opinion is a statement about a subject which expresses the sentiments as well as the emotions of the opinion makers on the topic. In this paper, we develop a sentiment analysis tool namely SENTI-METER. This tool estimates the success rate of social campaigns based on the algorithms we developed that analyze the sentiment of word as well as blog. Social campaigns have a huge impact on the mindset of people. One such campaign was launched in India on October 2, 2014, named Swachh Bharat Abhiyan (SBA). Our tool computes an elaborated analysis of Swachh Bharat Abhiyan, which examines the success rate of this social campaign. Here, we performed the location-wise analysis of the campaign and predict the degree of polarity of tweets along with the monthly and weekly analysis of the tweets. The experiments were conducted in five phases namely extraction and preprocessing of tweets, tokenization, sentiment evaluation of a line, sentiment evaluation of a blog (document) and analysis. Our tool is also capable of handling transliterated words. Unbiased tweets were extracted from Twitter related to this specific campaign, and on comparing with manual tagging we were able to achieve 84.47 % accuracy using unigram machine learning approach. This approach helps the government to implement the social campaigns effectively for the betterment of the society.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8
Fig. 9
Fig. 10
Fig. 11

Similar content being viewed by others

Notes

  1. http://epi.yale.edu/chapter/water-and-sanitation.

  2. http://epi.yale.edu/sites/default/files/EPI2016_FINAL%20REPORT.pdf.

  3. www.cseindia.org/news.

  4. http://www.ennovent.com/images/presentation/Outcome%20Report_Sanitation%20Workshop.pdf.

  5. https://swachhbharat.mygov.in/.

  6. https://gramener.com/swachhbharat.

  7. http://swachhbharaturban.gov.in.

  8. http://arxiv.org/abs/1103.2903v1.

  9. http://ravikiranj.net/posts/2012/code/how-build-twitter-sentiment-analyzer.

  10. http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6010.

References

  • Al-Osaimi S, Badruddin KM (2014) Role of emotion icons in Sentiment classification of Arabic tweets. In: Proceedings of the 6th international conference on management of emergent digital ecosystems, pp 167–171

  • Alsaleem S (2011) Automated Arabic text categorization using SVM and NB. Int Arab J e-Technol 2(2):124–128

    Google Scholar 

  • Altheneyan AS, Menai MEB (2014) Naïve Bayes classifiers for authorship attribution of Arabic texts. J King Saud Univ-Comput Inf Sci 26(4):473–484

    Google Scholar 

  • Baccianella S, Esuli A, Sebastiani F (2010) SentiWordNet 3.0: an enhanced lexical resource for sentiment analysis and opinion mining. InLREC 10:2200–2204

    Google Scholar 

  • Barbosa L, Feng J (2010) Robust sentiment detection on twitter from biased and noisy data. In: Proceedings of the 23rd international conference on computational linguistic, pp 36–44

  • Benamara F, Cesarano C, Picariello A, Recupero DR, Subrahmanian VS (2007) Sentiment analysis: adjectives and adverbs are better than adjectives alone. ICWSM 26 Mar 2007, pp 1–7

  • Bertrand KZ, Bialik M, Virdee K, Gros A, Bar-Yam Y (2013) Sentiment in New York City: a high resolution spatial and temporal view. arXiv preprint arXiv:1308.5010

  • Bhuta S, Doshi U (2014) A review of techniques for sentiment analysis of twitter data. In: 2014 International conference on issues and challenges in intelligent computing techniques (ICICT), 7 Feb 2014. IEEE, pp 583–591

  • Bosco C, Patti V, Bolioli A (2013) Developing corpora for sentiment analysis: the case of irony and senti-tut. IEEE Intell Syst 1(2):55–63

    Article  Google Scholar 

  • Ceron A, Curini L, Lacus SM (2015) Using sentiment analysis to monitor electoral campaigns method matters—evidence from the United States and Italy. Soc Sci Comput Rev 33(1):3–20

    Article  Google Scholar 

  • Chew C, Eysenbach G (2010) Pandemics in the age of twitter: content analysis of tweets during the 2009 H1N1 outbreak. PLoS One 5(11):e14118

    Article  Google Scholar 

  • Colleoni E, Arvidsson A, Hansen LK, Marchesini A (2011) Measuring corporate reputation using sentiment analysis. In: Proceedings of the 15th international conference on corporate reputation: navigating the reputation economy

  • Dang Y, Zhang Y, Chen H (2010) A lexicon-enhanced method for sentiment classification: an experiment on online product reviews. Intell Syst 25(4):46–53

    Article  Google Scholar 

  • Davidov D, Tsur O, Rappoport A (2010) Enhanced sentiment learning using twitter hash tags and smileys. In: Proceedings of the 23rd international conference on computational linguistics, pp 241–249

  • Desmet B, Hoste V (2013) Emotion detection in suicide notes. Expert Syst with Appl 40(16):6351–6358

    Article  Google Scholar 

  • Gupta N, Di Fabbrizio G, Haffner P (2010) Capturing the stars: predicting ratings for service and product reviews. In: Proceedings of the NAACL HLT 2010 workshop on semantic search, pp 36–43

  • Go A, Bhayani R, Huang L (2009) Twitter sentiment classification using distant supervision. CS224N project report stanford. 1: 12

  • Hai Z, Chang K, Kim JJ, Yang CC (2014) Identifying features in opinion mining via intrinsic and extrinsic domain relevance. IEEE Trans Knowl Data Eng 3:623–634

    Article  Google Scholar 

  • Hu N, Bose I, Koh NS, Liu L (2012) Manipulation of online reviews: analysis of ratings, readability, and sentiments. Decis Support Syst 52(3):674–684

    Article  Google Scholar 

  • Kim S, Zhang J, Chen Z, Oh A, Liu S (2013) A hierarchical aspect-sentiment model for online reviews. AAAI

  • Li YM, Shiu YL (2012) A diffusion mechanism for social advertising over microblogs. Decis Support Syst 54(1):9–22

    Article  Google Scholar 

  • Liu H, He J, Wang T, Song W, Du X (2013) Combining user preferences and user opinions for accurate recommendation. Electron Commer Res Appl 12(1):14–23

    Article  Google Scholar 

  • Mahyoub FH, Siddiqui MA, Dahab MY (2014) Building an Arabic sentiment lexicon using semi-supervised learning. J King Saud Univ-Comput Inf Sci 26(4):417–424

    Google Scholar 

  • Maks I, Vossen P (2012) A lexicon model for deep sentiment analysis and opinion mining applications. Decis Support Syst 53(4):680–688

    Article  Google Scholar 

  • Malisiewicz T, Gupta A, Efros AA (2011) Ensemble of exemplar-svms for object detection and beyond. In: Computer vision (ICCV), 2011 IEEE international conference on 6 Nov 2011, pp 89–96

  • McDonald R, Hannan K, Neylon T, Wells M, Reynar J (2007) Structured models for fine-to-coarse sentiment analysis. In: Annual meeting-association for computational linguistics, vol 45, no. 1, p 432

  • Mehta Rushabh et al (2012) Sentiment analysis and influence tracking using twitter. Int J Adv Res Comput Sci Electron Eng (IJARCSEE) 1(2):72

    Google Scholar 

  • Mishne G, De Rijke M (2006) A study of blog search. Advances in information retrieval. Springer, Berlin, pp 289–301

    Chapter  Google Scholar 

  • Moreo A, Romero M, Castro JL, Zurita JM (2012) Lexicon-based comments-oriented news sentiment analyzer system. Expert Syst Appl 39(10):9166–9180

    Article  Google Scholar 

  • Narayanan R, Liu B, Choudhary A (2009) Sentiment analysis of conditional sentences. In: Proceedings of the 2009 conference on empirical methods in natural language processing, vol 1. pp 180–189

  • Nassirtoussi AK, Aghabozorgi S, Wah TY, Ngo DC (2015) Text mining of news-headlines for FOREX market prediction: a multi-layer dimension reduction algorithm with semantics and sentiment. Expert Syst Appl 42(1):306–324

    Article  Google Scholar 

  • Nasukawa T, Yi J (2003) Sentiment analysis: capturing favorability using natural language processing. In: Proceedings of the 2nd international conference on knowledge capture, pp 70–77

  • Pak A, Paroubek P (2010) Twitter as a corpus for sentiment analysis and opinion mining. InLREc 10:1320–1326

    Google Scholar 

  • Pang B, Lee L (2008) Opinion mining and sentiment analysis. Found Trends Inf Retr 2(1-2):1–135

    Article  Google Scholar 

  • Park SC (2014) Competition and innovation for smart and creative society (CISCS). AI Soc 29(3):283

    Article  Google Scholar 

  • Poria S, Cambria E, Winterstein G, Huang GB (2014) Sentic patterns: dependency-based rules for concept-level sentiment analysis. Knowl-Based Syst 69:45–63

    Article  Google Scholar 

  • Raj S, Kajla T (2015) Sentiment analysis of Swachh Bharat Abhiyan. Business analyt intel 3(1):32

    Google Scholar 

  • Ravi K, Ravi V (2015) A survey on opinion mining and sentiment analysis: tasks, approaches and applications. Knowl-Based Syst 30(89):14–46

    Article  Google Scholar 

  • Sabat A (2015) Corporate social responsibility and Swachh Bharat Abhiyan. J Arts Humanit Manag 9(2):71–84

    Google Scholar 

  • Saxena VN (2015) A unique model recommended to be implemented in religious shrines across India as a part of ‘Swachh Bharat Abhiyan’. Int J Technol Innov Res 16:1–4

    Google Scholar 

  • Taboada M, Brooke J, Tofiloski M, Voll K, Stede M (2011) Lexicon based methods for sentiment analysis. Comput Linguist 37(2):267–307

    Article  Google Scholar 

  • Taddy M (2013) Measuring political sentiment on Twitter: factor optimal design for multinomial inverse regression. Technometrics 55(4):415–425

    Article  MathSciNet  Google Scholar 

  • Tayal DK, Yadav S, Gupta K, Rajput B, Kumari K (2014) Polarity detection of sarcastic political tweets. In: 2014 International conference on computing for sustainable global development (INDIACom), 5 Mar 2014. IEEE, pp 625–628

  • Tayal DK, Jain A, Arora S, Agarwal S, Gupta T, Tyagi N (2015) Crime detection and criminal identification in India using data mining techniques. AI Soc 30(1):117–127

    Article  Google Scholar 

  • 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, pp 417–424

  • Tumasjan A et al. (2010) Predicting elections with twitter: what 140 characters reveal about political sentiment. ICWSM 10: 178–185

  • Van de Camp M, Van den Bosch A (2012) The socialist network. Decis Support Syst 53(4):761–769

    Article  Google Scholar 

  • Vishwakarma D (2016) Swachh Bharat Abhiyan Clean India Abhiyan. Int Res J Manag IT Soc Sci 3(3):110–122

    Google Scholar 

  • Xuan HNT, Le AC, Nguyen LM (2012) Linguistic features for subjectivity classification. In: 2012 International conference on Asian language processing (IALP), 13 Nov 2012. IEEE, pp 17–20

  • Yu Y, Duan W, Cao Q (2013) The impact of social and conventional media on firm equity value: a sentiment analysis approach. Decis Support Syst 55(4):919–926

    Article  Google Scholar 

  • Zhang K, Xie Y, Yang Y, Sun A, Liu H, Choudhary A (2014) Incorporating conditional random fields and active learning to improve sentiment identification. Neural Netw 58:60–67

    Article  Google Scholar 

  • Zheng X, Lin Z, Wang X, Lin KJ, Song M (2014) Incorporating appraisal expression patterns into topic modeling for aspect and sentiment word identification. Knowl-Based Syst 61:29–47

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Devendra K. Tayal.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Tayal, D.K., Yadav, S.K. Sentiment analysis on social campaign “Swachh Bharat Abhiyan” using unigram method. AI & Soc 32, 633–645 (2017). https://doi.org/10.1007/s00146-016-0672-5

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00146-016-0672-5

Keywords

Navigation