Skip to main content

Sentiment Detection in Online Content: A WordNet Based Approach

  • Conference paper
  • First Online:
Swarm, Evolutionary, and Memetic Computing (SEMCCO 2014)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 8947))

Included in the following conference series:

Abstract

Online Social Networks (OSN), such as Facebook, Twitter, Youtube and so on, are important sources of online content today. These platforms are used by millions of people world-wide, to share information and express their sentiment and opinion on various social issues. Sentiment analysis of online content – automatically inferring whether a particular textual content reflects a positive (e.g., happy) or negative (e.g., sad) sentiment of the person who posted the content – is an important research problem today, and has several potential applications such as analysing public opinion on various products or social issues. In this paper, we propose a simple but effective methodology of inferring the sentiment of textual content posted in online social media. Our approach is based on first identifying the positive / negative polarity of terms, i.e., whether a certain term (e.g., a word) is normally used in a positive or negative context, and then to infer the sentiment of a given text based on the polarity of the terms present in the text. A key challenge in this approach is that in online social media, different users use different words while expressing similar opinion. To address this, we use the well-known lexical database WordNet to identify groups of words which are synonymous to each other. We apply our proposed methodology on a large publicly available dataset containing content from six different online social media, which has been labeled as positive / negative by human annotators, and find that our methodology achieves better performance than several approaches developed earlier.

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 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • 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

Notes

  1. 1.

    Messages having equal number of positive and negative emoticons are ignored.

  2. 2.

    Note that the study [9] studied one more approach (apart from the ones shown in Table 6), where the polarity of a text is directly given based on the emoticons contained in the text. Since less than 10 % of the text messages in this dataset (as well as in online social media in general) contain emoticons [9, 13], this approach can be used for only 10 % of the messages (as also observed in [9]). Hence, we do not consider this approach for comparison.

  3. 3.

    Error analysis on the other datasets also yielded similar observations (omitted for brevity).

References

  1. Bermingham, A., Smeaton, A.F.: Classifying sentiment in microblogs: is brevity an advantage? In: Proceedings of the ACM Conference on Information and Knowledge Management, pp. 1833–1836 (2010)

    Google Scholar 

  2. Bollen, J., Pepe, A., Mao, H.: Modeling public mood and emotion: twitter sentiment and socio-economic phenomena. CoRR abs/0911.1583 (2009)

    Google Scholar 

  3. Bradley, M.M., Lang, P.J.: Affective norms for english words (ANEW): instruction manual and affective ratings. Technical report C-1, Center for Research in Psychophysiology, University of Florida (1999)

    Google Scholar 

  4. Derks, D., Bos, A.E., von Grumbkow, J.: Emoticons and social interaction on the internet: the importance of social context. Comput. Hum. Behav. 23(1), 842–849 (2007)

    Article  Google Scholar 

  5. List of text emoticons: The ultimate resource. http://www.cool-smileys.com/text-emoticons

  6. Msn messenger emoticons. http://www.messenger.msn.com/Resource/Emoticons.aspx

  7. Yahoo messenger emoticons. http://www.messenger.yahoo.com/features/emoticons

  8. Go, A., Bhayani, R., Huang, L.: Twitter sentiment classification using distant supervision. Technical report, Stanford University (2009)

    Google Scholar 

  9. Gonçalves, P., Araújo, M., Benevenuto, F., Cha, M.: Comparing and combining sentiment analysis methods. In: Proceeding of the ACM Conference on Online Social Networks (COSN), pp. 27–38 (2013)

    Google Scholar 

  10. Hannak, A., Anderson, E., Barrett, L.F., Lehmann, S., Mislove, A., Riedewald, M.: Tweetin’ in the rain: exploring societal-scale effects of weather on mood. In: Proceedings of the AAAI Conference on Weblogs and Social Media (ICWSM), June 2012

    Google Scholar 

  11. Liu, B.: Web Data Mining: Exploring Hyperlinks Contents and Usage Data. Springer, Heidelberg (2006)

    Google Scholar 

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

    Article  Google Scholar 

  13. Park, J., Barash, V., Fink, C., Cha, M.: Emoticon style: interpreting differences in emoticons across cultures. In: Proceedings of the AAAI Conference on Weblogs and Social Media (ICWSM) (2013)

    Google Scholar 

  14. TextBlob: Simplified Text Processing. http://textblob.readthedocs.org/en/dev/

  15. Read, J.: Using emoticons to reduce dependency in machine learning techniques for sentiment classification. In: Proceedings of the ACL Student Research Workshop (2005)

    Google Scholar 

  16. Sarigiannidis, P.G., Papadimitriou, G.I., Pomportsis, A.S.: Sasa: a synthesis scheduling algorithm with prediction and sorting features. In: Proceedings of the IEEE Symposium on Computers and Communications, pp. 628–633 (2006)

    Google Scholar 

  17. Tausczik, Y.R., Pennebaker, J.W.: The psychological meaning of words: LIWC and computerized text analysis methods. J. Lang. Soc. Psychol. 29(1), 24–54 (2010)

    Article  Google Scholar 

  18. Teevan, J., Ramage, D., Morris, M.R.: #twittersearch: a comparison of microblog search and web search. In: Proceedings of the ACM Conference on Web Search and Data Mining (WSDM), pp. 35–44 (2011)

    Google Scholar 

  19. Thelwall, M.: Heart and Soul: Sentiment Strength Detection in the Social Web with SentiStrength. http://sentistrength.wlv.ac.uk/

  20. Thelwall, M., Buckley, K., Paltoglou, G.: Sentiment strength detection for the social web. J. Am. Soc. Inf. Sci. Technol. 63(1), 163–173 (2012). http://dx.doi.org/10.1002/asi.21662

    Article  Google Scholar 

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

    Google Scholar 

  22. Wordnet - a lexical database for English. http://wordnet.princeton.edu/

Download references

Acknowledgement

The authors thank the anonymous reviewers for their constructive suggestions, and the authors of [9] for sharing the annotated datasets.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Soumi Dutta .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2015 Springer International Publishing Switzerland

About this paper

Cite this paper

Dutta, S., Roy, M., Das, A.K., Ghosh, S. (2015). Sentiment Detection in Online Content: A WordNet Based Approach. In: Panigrahi, B., Suganthan, P., Das, S. (eds) Swarm, Evolutionary, and Memetic Computing. SEMCCO 2014. Lecture Notes in Computer Science(), vol 8947. Springer, Cham. https://doi.org/10.1007/978-3-319-20294-5_36

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-20294-5_36

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-20293-8

  • Online ISBN: 978-3-319-20294-5

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics