Skip to main content

Comparative Analysis for Sentiment in Tweets Using LSTM and RNN

  • Conference paper
  • First Online:
International Conference on Innovative Computing and Communications

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 1387))

Abstract

In today’s world, the quantity of the users of social networking sites are increasing day by day so as the users of the Twitter application as tweets to for advertising and inspiring the consumers about their respective products, services, reviews about any particular topic or in several different aspects. Taking this increased need of using the social networking into consideration, we have got decided to make a Sentiment Analysis system on Twitter’s data. In this paper, we have proposed two different models in order to determine which approach is most suited and better. The two models are LSTM and RNN, both the models are good in their own way, but our aim is to classify which one is best suited and straightforward to be used by a user. We have given a well explained description of both the models together with their structure, feasibility, performance, and analysis result. At the end, we came to grasp that both the models have gotten very satisfying results getting a way better results than regular ones.

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

References

  1. Wang, X., Liu, Y., Sun, C., Wang, B., & Wang, X. (2015). Predicting polarities of tweets by composing word embeddings with long short-term memory. In Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Processing (Vol. 1, Long Papers). Association for Computational Linguistics, Stroudsburg, PA, USA.

    Google Scholar 

  2. Bose, B. (2018). Twitter sentiment analysis—introduction and techniques. In Digitalvidya.com. https://www.digitalvidya.com/blog/twitter-sentiment-analysis-introduction-and-techniques/. Accessed 10 Nov 2020.

  3. Wikipedia contributors. (2020). Long short-term memory. In Wikipedia, the free encyclopedia. https://en.wikipedia.org/w/index.php?title=Long_short-term_memory&oldid=985650266. Accessed 10 Nov 2020.

  4. Bhargava, R., Arora, S., & Sharma, Y. (2019). Neural network-based architecture for Sentiment analysis in Indian languages. Journal of Intelligent System, 28(3), 361–375.

    Article  Google Scholar 

  5. In:Researchgate.net. https://www.researchgate.net/publication/301408174_Twitter_sentiment_analysis. Accessed 15 Nov 2020c.

  6. Chen, Y., Yuan, J., You, Q., & Luo, J. (2018). Twitter sentiment analysis via bi-sense emoji embedding and attention-based LSTM. In 2018 ACM Multimedia Conference on Multimedia Conference MM ’18. New York, New York, USA: ACM Press.

    Google Scholar 

  7. Monika, R., Deivalakshmi, S., & Janet, B. (2019). Sentiment analysis of US airlines tweets using LSTM/RNN. In 2019 IEEE 9th International Conference on Advanced Computing (IACC), IEEE.

    Google Scholar 

  8. Yuan, Y., & Zhou, Y. Twitter sentiment analysis with recursive neural networks. In Stanford.edu. https://cs224d.stanford.edu/reports/YuanYe.pdf. Accessed 15 Nov 2020.

  9. In: Unicatt.it. https://publicatt.unicatt.it/retrieve/handle/10807/133048/219284/9788899982096.pdf#page=174. Accessed 15 Nov 2020a.

  10. Teng, Z., Vo, D. T., & Zhang, Y. (2016). Context-sensitive lexicon features for neural sentiment analysis. In Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing. Association for Computational Linguistics, Stroudsburg, PA, USA.

    Google Scholar 

  11. Sosa, P. M., Twitter sentiment analysis using combined LSTM-CNN models.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Gauri Agarwal .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2022 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Pradhan, R., Agarwal, G., Singh, D. (2022). Comparative Analysis for Sentiment in Tweets Using LSTM and RNN. In: Khanna, A., Gupta, D., Bhattacharyya, S., Hassanien, A.E., Anand, S., Jaiswal, A. (eds) International Conference on Innovative Computing and Communications. Advances in Intelligent Systems and Computing, vol 1387. Springer, Singapore. https://doi.org/10.1007/978-981-16-2594-7_58

Download citation

Publish with us

Policies and ethics