Skip to main content
Log in

A supervised deep learning-based sentiment analysis by the implementation of Word2Vec and GloVe Embedding techniques

  • Published:
Multimedia Tools and Applications Aims and scope Submit manuscript

Abstract

Sentiment analysis provides valuable insights into people’s opinions, emotions, and attitudes, enabling businesses to make more informed decisions, improve customer satisfaction, and stay competitive in today’s market. Now-a-days due to the accessibility of social networking platforms like Twitter, Instagram, Facebook, WeChat, etc a bulk of data is being generated within a very small span of time. These data inherit highly potential information hidden in them. Consequently, these data may be analyzed using powerful tools of deep learning techniques to achieve tremendous societal benefits. Keeping these views in mind, the authors have planned an extensive experimental study to undertake the task of sentiment analysis. In this present work, thirty-six different Word2Vec and GloVe Embedded deep learning models have been developed on the deep learning based architecture namely Multilayer Perceptron (MLP), Convolutional Neural Network(CNN), Long-and-Short-Term Memory Network (LSTM), Bi-directional LSTM (Bi-LSTM), Gated Recurrent Unit (GRU), and Bi-directional GRU (Bi-GRU). All the developed models are compared based on their accuracies, F1-scores, and other evaluation parameters. Several promising results have emerged from this study. It has been observed that the Word2Vec embedded Bi-directional GRU model yields the best result with an average F1-score of 0.84 in the case of a train-test ratio of 80:20. Finally this type of elaborated comparative and comprehensive study may be considered unique in its nature and supposed to be used to develop expert sentiment analyser.

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.

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

Similar content being viewed by others

Availability of data and materials

The datasets and materials used/generated and/or analysed during the current study are available from the corresponding author on reasonable request.

References

  1. Mahmud MS, Islam MT, Bonny AJ, Shorna RK, Omi JH, Rahman MS (2022) Deep learning based sentiment analysis from bangla text using glove word embedding along with convolutional neural network, pp 1–6. https://doi.org/10.1109/ICCCNT54827.2022.9984392

  2. Li Z, Li R, Jin G (2020) Sentiment analysis of danmaku videos based on naïve bayes and sentiment dictionary. IEEE Access 8:75073–75084. https://doi.org/10.1109/ACCESS.2020.2986582

    Article  Google Scholar 

  3. Britzolakis A, Kondylakis H, Papadakis N (2020) A review on lexicon-based and machine learning political sentiment analysis using tweets. Int J Semant Comput 14:517–563. https://doi.org/10.1142/S1793351X20300010

    Article  Google Scholar 

  4. Devika MD, Sunitha C, Ganesh A (2016) Sentiment Analysis: A Comparative Study on Different Approaches 87:44–49. https://doi.org/10.1016/j.procs.2016.05.124

    Article  Google Scholar 

  5. Fransiscus F, Girsang A (2022) Sentiment analysis of covid-19 public activity restriction (ppkm) impact using bert method 70:281–288. https://doi.org/10.14445/22315381/IJETT-V70I12P226

  6. Huang F, Li X, Yuan C, Zhang S, Zhang J, Qiao S (2021) Attention-Emotion-Enhanced Convolutional LSTM for Sentiment Analysis, pp 1–14. https://doi.org/10.1109/TNNLS.2021.3056664

  7. Zhang T, Gong X, Chen C (2021) Bmt-net: Broad multitask transformer network for sentiment analysis. IEEE Trans Cybernet, pp 1–12. https://doi.org/10.1109/TCYB.2021.3050508

  8. Makatjane K (2022) Deep learning for sentiment analysis to predict the probability of bank loan default. Am J Data Min Knowl Discov 7:5–12. https://doi.org/10.11648/j.ajdmkd.20220702.11

  9. Fang X, Zhan J (2015). Sentiment analysis using product review data. https://doi.org/10.1186/s40537-015-0015-2

    Article  Google Scholar 

  10. Mäntylä M, Graziotin D, Kuutila M (2016) The Evolution of Sentiment Analysis - A Review of Research Topics. Venues, and Top Cited Papers. https://doi.org/10.1016/j.cosrev.2017.10.002

    Article  Google Scholar 

  11. Sitaula C, Basnet A, Mainali A, Shahi T (2021) Deep learning-based methods for sentiment analysis on nepali covid-19-related tweets. Comput Intell Neurosci. https://doi.org/10.1155/2021/2158184

    Article  Google Scholar 

  12. Jurek-Loughrey A, Mulvenna M, Bi Y (2015). Improved Lexicon-based Sentiment Analysis for Social Media Analytics. https://doi.org/10.1186/s13388-015-0024-x

    Article  Google Scholar 

  13. Rozado D, Hughes R, Halberstadt J (2022) Longitudinal analysis of sentiment and emotion in news media headlines using automated labelling with transformer language models. PloS one 17:0276367. https://doi.org/10.1371/journal.pone.0276367

    Article  Google Scholar 

  14. Zhou J, Ye J-m (2020) Sentiment analysis in education research: a review of journal publications. Interac Learn Environ 31:1–13. https://doi.org/10.1080/10494820.2020.1826985

    Article  Google Scholar 

  15. Acerbi A, Burns J, Cabuk U, Kryczka J, Trapp B, Valletta J, Mesoudi A (2023) Sentiment analysis of the twitter response to netflix’s our planet documentary. Conserv Biol. https://doi.org/10.1111/cobi.14060

    Article  Google Scholar 

  16. Prabha MI, Srikanth GU (2019) Survey of sentiment analysis using deep learning techniques, pp 1–9. https://doi.org/10.1109/ICIICT1.2019.8741438

  17. Sukheja S, Chopra S, Vijayalakshmi M (2020) Sentiment analysis using deep learning - a survey, pp 1–4. https://doi.org/10.1109/ICCSEA49143.2020.9132863

  18. Hu Z, Hu J, Ding W, Zheng X (2015) Review sentiment analysis based on deep learning, pp 87–94. https://doi.org/10.1109/ICEBE.2015.24

  19. Kaur H, Ahsaan S, Alankar B, Chang V (2021) A proposed sentiment analysis deep learning algorithm for analyzing covid-19 tweets. Inf Syst Front 23. https://doi.org/10.1007/s10796-021-10135-7

  20. Rakshit P, Sarkar P, Ghosh D, Roy S, Talukder S, Chakraborty PS (2023) Sentiment analysis of twitter data using deep learning. In: Dhar S, Do D-T, Sur SN, Liu HC-M (eds) Advances in Communication, Devices and Networking, pp 495–501.Springer Singapore. https://doi.org/10.1007/978-981-19-2004-2_44

  21. Rakshit P, Gupta S, Das T (2023) Sentiment analysis to find sentence polarity on tweet data. In: Deva Sarma HK, Piuri V, Pujari AK (eds) Mach Learn Inf Commun Technol pp 197–202 Springer Singapore. https://doi.org/10.1007/978-981-19-5090-2_19

  22. Asudani DS, Nagwani NK, Singh P (2023) Impact of word embedding models on text analytics in deep learning environment: a review. Artif Intell Rev 56. https://doi.org/10.1007/s10462-023-10419-1

  23. Mikolov T, Chen K, Corrado Gs, Dean J (2013) Efficient estimation of word representations in vector space. Proceedings of Workshop at ICLR. https://doi.org/10.48550/arXiv.1301.3781

  24. Johnson SJ, Murty MR, Navakanth I (2023) A detailed review on word embedding techniques with emphasis on word2vec. Multimed Tools Appl. https://doi.org/10.1007/s11042-023-17007-z

    Article  Google Scholar 

  25. Pennington J, Socher R, Manning C (2014) Glove: Global vectors for word representation 14:1532–1543. https://doi.org/10.3115/v1/D14-1162

  26. Verma Y (2021) Word2vec vs glove - a comparative guide to word embedding techniques. Mystery Vault

  27. Murphy KP (2012) Machine Learning: A Probabilistic Perspective p 1096 MIT Press ???

  28. Tang Q, li J, Chen J, Lu H, Du Y, Yang K (2019) Full attention-based bi-gru neural network for news text classification, pp 1970–1974. https://doi.org/10.1109/ICCC47050.2019.9064061

  29. Sarkar A, Singh A, Chakraborty R (2022) A deep learning-based comparative study to track mental depression from eeg data. Neurosci Inf 2:100039. https://doi.org/10.1016/j.neuri.2022.100039

    Article  Google Scholar 

  30. Aggarwal C (2018). Neural Networks and Deep Learning: A Textbook. https://doi.org/10.1007/978-3-319-94463-0

    Article  Google Scholar 

  31. Liu Z, Wen C, Su Z, Liu S, Sun J, Kong W, Yang Z (2023) Emotion-semantic-aware dual contrastive learning for epistemic emotion identification of learner-generated reviews in moocs. IEEE Trans Neural Netw Learn Syst 23. https://doi.org/10.1109/TNNLS.2023.3294636

Download references

Funding

No Funds have been received or related for this present work.

Author information

Authors and Affiliations

Authors

Contributions

Pranati Rakshit and Avik Sarkar equally contributed in conceptualization and implementation of the present work. Avik Sarkar and Pranati Rakshit wrote the Manuscript text, Pranati Rakshit prepared the figures and Avik Sarkar designed the tables. Both the authors reviewed the manuscript.

Corresponding author

Correspondence to Pranati Rakshit.

Ethics declarations

Ethical Approval

1.This is an original research work solely developed by the authors. 2.Author have clearly mentioned the source of the data used in this research work in Section 3.

Competing interests

The authors declare they have no conflict of interest for this research work.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Rakshit, P., Sarkar, A. A supervised deep learning-based sentiment analysis by the implementation of Word2Vec and GloVe Embedding techniques. Multimed Tools Appl (2024). https://doi.org/10.1007/s11042-024-19045-7

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • DOI: https://doi.org/10.1007/s11042-024-19045-7

Keywords

Navigation