Skip to main content

Machine Learning or Lexicon Based Sentiment Analysis Techniques on Social Media Posts

  • Conference paper
  • First Online:
Intelligent Information and Database Systems (ACIIDS 2022)

Part of the book series: Lecture Notes in Computer Science ((LNAI,volume 13758))

Included in the following conference series:

  • 743 Accesses

Abstract

Social media provides an accessible and effective platform for individuals to offer thoughts and opinions across a wide range of interest areas. It also provides a great opportunity for researchers and businesses to understand and analyse a large volume of online data for decision-making purposes. Opinions on social media platforms, such as Twitter, can be very important for many industries due to the wide variety of topics and large volume of data available. However, extracting and analysing this data can prove to be very challenging due to its diversity and complexity. Recent methods of sentiment analysis of social media content rely on Natural Language Processing techniques on a fundamental sentiment lexicon, as well as machine learning oriented techniques. In this work, we evaluate representatives of different sentiment analysis methods, make recommendations and discuss advantages and disadvantages. Specifically we look into: 1) variation of VADER, a lexicon based method; 2) a machine learning neural network based method; and 3) a Sentiment Classifier using Word Sense Disambiguation, Maximum Entropy and Naive Bayes Classifiers. The results indicate that there is a significant correlation among all three sentiment analysis methods, which demonstrates their ability to accurately determine the sentiment of social media posts. Additionally, the modified version of VADER, a lexicon based method, is considered to be the most accurate and most appropriate method to use for the semantic analysis of social media posts, based on its strong correlation and low computational time. Obtained findings and recommendations can be valuable for researchers working on sentiment analysis techniques for large data sets.

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

    https://github.com/cjhutto/vaderSentiment#citation-information.

  2. 2.

    see https://github.com/kevincobain2000/sentiment_classifier for further explanation and the code used.

References

  1. Alaei, A.R., Becken, S., Stantic, B.: Sentiment analysis in tourism: capitalizing on big data. J. Travel Res. 58(2), 175–191 (2019)

    Article  Google Scholar 

  2. AliciaAdamczyk: What’s behind dogecoin’s price surge-and why seemingly unrelated brands are capitalizing on its popularity (May 2021). https://www.cnbc.com/2021/05/12/dogecoin-price-surge-elon-musk-slim-jim.html

  3. Baccianella, S., Esuli, A., Sebastiani, F.: Sentiwordnet 3.0: an enhanced lexical resource for sentiment analysis and opinion mining. In: Lrec, vol. 10, pp. 2200–2204 (2010)

    Google Scholar 

  4. Cagan, T., Frank, S.L., Tsarfaty, R.: Generating subjective responses to opinionated articles in social media: An agenda-driven architecture and a Turing-like test. In: Proceedings of the Joint Workshop on Social Dynamics and Personal Attributes in Social Media, pp. 58–67. Association for Computational Linguistics, Baltimore, Maryland (Jun 2014). https://doi.org/10.3115/v1/W14-2708, https://aclanthology.org/W14-2708

  5. Chen, J., Becken, S., Stantic, B.: Lexicon based chinese language sentiment analysis method. Comput. Sci. Inf. Syst. 16(2), 639–655 (2019)

    Article  Google Scholar 

  6. Hutto, C., Gilbert, E.: Vader: A parsimonious rule-based model for sentiment analysis of social media text. In: Proceedings of the International AAAI Conference on Web and Social Media, vol. 8 (2014)

    Google Scholar 

  7. Kathuria, P.: Sentiment classification using wsd, maximum entropy and naive bayes classifiers (2014). https://github.com/kevincobain2000/sentiment_classifier

  8. Learn, M.: Sentiment analysis: The go-to guide (2021). https://monkeylearn.com/sentiment-analysis/

  9. Liu, B.: Sentiment analysis: Mining opinions, sentiments, and emotions. Cambridge University Press (2020)

    Google Scholar 

  10. Liu, B., et al.: Sentiment analysis and subjectivity. Handbook Nat. Lang. Process. 2(2010), 627–666 (2010)

    Google Scholar 

  11. Pathmind: A beginner’s guide to neural networks and deep learning (2021). https://wiki.pathmind.com/neural-network

  12. Ruz, G.A., Henríquez, P.A., Mascareño, A.: Sentiment analysis of twitter data during critical events through bayesian networks classifiers. Futur. Gener. Comput. Syst. 106, 92–104 (2020)

    Article  Google Scholar 

  13. Stantic, B., Mandal, R., Chen, J.: Target sentiment and target analysis. Report to the National Environmental Science Program (2020) https://nesptropical.edu.au/wpcontent/uploads/2020/02/NESPTWQ-Project5.5-TechnicalReport1.pdf

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Bela Stantic .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

John, D.L., Stantic, B. (2022). Machine Learning or Lexicon Based Sentiment Analysis Techniques on Social Media Posts. In: Nguyen, N.T., Tran, T.K., Tukayev, U., Hong, TP., Trawiński, B., Szczerbicki, E. (eds) Intelligent Information and Database Systems. ACIIDS 2022. Lecture Notes in Computer Science(), vol 13758. Springer, Cham. https://doi.org/10.1007/978-3-031-21967-2_1

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-21967-2_1

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-21966-5

  • Online ISBN: 978-3-031-21967-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics