Skip to main content

Depression Analysis of Real Time Tweets During Covid Pandemic

  • Conference paper
  • First Online:
Ubiquitous Intelligent Systems (ICUIS 2021)

Abstract

The assessment of depression and suicidal tendencies among people due to covid-19 was less explored. The paper presents the real-time framework for the assessment of depression in covid pandemic. This approach gives a better alternate option to reduce the suicidal tendency in covid time with retweeting and other alternate real-time ways. Hence, the main objective of the present work is, to develop a real time frame-work to analyse sentiment and depression in people due to covid. The experimental investigation is carried out based on real time streamed tweets from twitter adopting lexicon and machine learning (ML) approach. Linear regression, K-nearest neighbor (KNN), Naive Bayes models are trained and tested with 1000 tweets to ascertain the accuracy for the sentiment’s distribution. Comparatively, the decision tree (98.75%) and Naive Bayes (80.33%) have shown better accuracy with the visualisation of data to draw any inferences from sentiments using word cloud.

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

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 229.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 299.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 299.99
Price excludes VAT (USA)
  • Durable hardcover 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

Similar content being viewed by others

References

  1. H. Kaur, S.U. Ahsaan, B. Alankar, V. Chang, A proposed sentiment analysis deep learning algorithm for analyzing COVID-19 tweets. ınformation systems frontiers 20, 1–3

    Google Scholar 

  2. S. Sparsh, S. Surbhi, Analyzing the depression and suicidal tendencies of people affected by COVID-19’s lockdown using sentiment analysis on social networking websites. J. Stat. Manage. Syst. 24(1), 115–133 (2021). https://doi.org/10.1080/09720510.2020.1833453

  3. K. Unsworth, A. Townes, Transparency, participation, cooperation: a case study evaluating twitter as a social media interaction tool in the us open government initiative, in Proceedings of the 13th Annual International Conference on Digital Government Research (2012), pp. 90–96

    Google Scholar 

  4. C.L. Hanson, S.H. Burton, C. Giraud-Carrier, J.H. West, M.D. Barnes, B. Hansen, Tweaking and tweeting: exploring twitter for nonmedical use of a psychostimulant drug (adderall) among college students. J. Med. Internet Res. 15, e62 (2013)

    Article  Google Scholar 

  5. D. Quercia, J. Ellis, L. Capra, J. Crowcroft, Tracking “gross community happiness” from tweets, in Proceedings of the ACM 2012 Conference on Computer Supported Cooperative Work (2012), pp. 965–968

    Google Scholar 

  6. R. Khan, P. Shrivastava, A. Kapoor, A. Tiwari, A. Mittal, Social media analysis with AI: sentiment analysis techniques for the analysis of twitter covid-19 data. J. Crit. Rev. 7(9), 2761–2774 (2020)

    Google Scholar 

  7. S. Das, A. Dutta, Characterizing public emotions and sentiments in COVID-19 environment: a case study of India. J. Human Behav. Soc. Environ. 31(1–4), 154–67 (2021)

    Google Scholar 

  8. M.M. Rahman, M.N. Islam, Exploring the performance of ensemble machine learning classifiers for sentiment analysis of COVID-19 Tweets, in Sentimental analysis and deep learning. advances in ıntelligent systems and computing, vol. 1408, ed. by S. Shakya, V.E. Balas, S. Kamolphiwong, K. L. Du (Springer, Singapore, 2022). https://doi.org/10.1007/978-981-16-5157-1_30

  9. M. Tripathi, Sentiment analysis of nepali COVID19 tweets using NB, SVM AND LSTM. J. Artif. Intell. 3(03), 151–168 (2021)

    Google Scholar 

  10. H. Yin, S. Yang, J. Li, Detecting topic and sentiment dynamics due to COVID-19 pandemic using social media. In Advanced Data Mining and Applications, ADMA 2020. Lecture Notes in Computer Science, vol. 12447, ed. by X. Yang, C.D. Wang, M.S. Islam, Z. Zhang (Springer, Cham. 2020). https://doi.org/10.1007/978-3-030-65390-3_46

  11. S. Avasthi, R. Chauhan, D.P. Acharjya, Information extraction and sentiment analysis to gain ınsight into the COVID-19 crisis, in International Conference on Innovative Computing and Communications. Advances in Intelligent Systems and Computing, vol. 1387, ed. by A. Khanna, D. Gupta, S. Bhattacharyya, A.E. Hassanien, S. Anand, A. Jaiswal (Springer, Singapore 2022). https://doi.org/10.1007/978-981-16-2594-7_28

  12. M. Uvaneshwari, E. Gupta, M. Goyal, N. Suman, M. Geetha, Polarity detection across the globe using sentiment analysis on COVID-19-related tweets, in International Conference on Innovative Computing and Communications. Advances in Intelligent Systems and Computing, vol 1394, ed. by A. Khanna, D. Gupta, S. Bhattacharyya, A.E. Hassanien, S. Anand, A. Jaiswal (Springer, Singapore, 2022). https://doi.org/10.1007/978-981-16-3071-2_46

  13. G. Saha, S. Roy, P. Maji, Sentiment analysis of twitter data related to COVID-19. In: Impact of AI and Data Science in Response to Coronavirus Pandemic. Algorithms for Intelligent Systems, ed. by S. Mishra, P.K. Mallick, H.K. Tripathy, G.S. Chae, B.S.P. Mishra (Springer, Singapore, 2021). https://doi.org/10.1007/978-981-16-2786-6_9

  14. N. Kaushik, M.K. Bhatia, Twitter sentiment analysis using K-means and hierarchical clustering on COVID pandemic, in International Conference on Innovative Computing and Communications. Advances in Intelligent Systems and Computing, vol. 1387, ed. by A. Khanna, D. Gupta, S. Bhattacharyya, A.E. Hassanien, S. Anand, A. Jaiswal, (Springer, Singapore, 2022). https://doi.org/10.1007/978-981-16-2594-7_61

  15. Ahmad, M.H.I. Hapez, N.L. Adam, Z. Ibrahim, Performance analysis of machine learning techniques for sentiment analysis, in Advances in Visual Informatics. IVIC 2021. Lecture Notes in Computer Science, vol. 13051, ed. by H. Badioze Zaman, et al. (Springer, Cham, 2021). https://doi.org/10.1007/978-3-030-90235-3_18

  16. U.D. Gandhi, P.M. Kumar, G.C. Babu, G. Karthick, Sentiment Analysis on twitter data by using convolutional neural network (CNN) and long short term memory (LSTM). Wireless Personal Commun. 17, 1–0 (2021)

    Google Scholar 

  17. S. Das, A.K. Kolya, Predicting the pandemic: sentiment evaluation and predictive analysis from large-scale tweets on Covid-19 by deep convolutional neural network, Evol. Intell. 30, 1–22

    Google Scholar 

  18. A. Gopnarayan, S. Deshpande, Tweets analysis for disaster management: preparedness, emergency response, ımpact, and Recovery, in Innovative Data Communication Technologies and Application. ICIDCA 2019. (2020). Lecture Notes on Data Engineering and Communications Technologies, vol. 46, ed. by J. Raj, A. Bashar, S. Ramson (Springer, Cham, 2020). https://doi.org/10.1007/978-3-030-38040-3_87.

  19. J.S. Manoharan, Capsule network algorithm for performance optimization of text classification. J. Soft Comput. Parad. (JSCP) 3(01), 1–9

    Google Scholar 

  20. A. Sungheetha, R. Sharma, Transcapsule model for sentiment classification. J. Artif. Intell. 2(03), 163–169 (2020)

    Google Scholar 

  21. A.P. Pandian, Performance evaluation and comparison using deep learning techniques in sentiment analysis. J. Soft Comput. Parad. (JSCP) 3(02),123–134 (2021)

    Google Scholar 

  22. A. Bashar, Survey on evolving deep learning neural network architectures. J. Artif. Intell. 1(02), 73–82 (2019)

    Google Scholar 

  23. A. Kalaivani, R. Vijayalakshmi, An automatic emotion analysis of real time corona tweets. In: Advanced Informatics for Computing Research. ICAICR 2020. Communications in Computer and Information Science, vol. 1393, ed. by A.K. Luhach, D.S. Jat, K.H. Bin Ghazali, X.Z. Gao, P. Lingras (Springer, Singapore, 2021). https://doi.org/10.1007/978-981-16-3660-8_34

  24. S. Kaur, P. Kaul, P.M. Zadeh, Monitoring the dynamics of emotions during COVID-19 using Twitter data. Proced. Comput. Sci. 1(177), 423–430 (2020)

    Google Scholar 

  25. M.A. Kausar, A. Soosaimanickam, M. Nasar, Public sentiment analysis on twitter data during COVID-19 outbreak. Int. J. Adv. Comput. Sci. Appl. (IJACSA), 12(2), (2021). https://doi.org/10.14569/IJACSA.2021.0120252

  26. R.J. Medford, S.N. Saleh, A. Sumarsono, T.M. Perl, C.U. Lehmann, An “Infodemic”: leveraging high-volume twitter data to understand early public sentiment for the coronavirus disease 2019 outbreak, open forum ınfect dis. 7(7), ofaa258. Jun 30 (2020). https://doi.org/10.1093/ofid/ofaa258. PMID: 33117854; PMCID: PMC7337776

  27. M.S. Ahmed, T.T. Aurpa, M.M. Anwar, Detecting sentiment dynamics and clusters of Twitter users for trending topics in COVID-19 pandemic, Plos one. 16(8), e0253300 (2021)

    Google Scholar 

  28. A.D. Dubey: Twitter sentiment analysis during COVID-19 Outbreak. Available at SSRN: https://ssrn.com/abstract=3572023 (April 9, 2020) or https://doi.org/10.2139/ssrn.3572023

  29. S. Qaiser, R. Ali, Text mining: use of TF-IDF to examine the relevance of words to documents. Int. J. Comput. Appl. 181 (2018). https://doi.org/10.5120/ijca2018917395

  30. A. Sadia, F. Khan, F. Bashir, An overview of lexicon-based approach for sentiment analysis, in 2018 3rd International Electrical Engineering Conference at IEP Centre (Karachi, Pakistan, 2018)

    Google Scholar 

  31. S. G. Bird , E. Loper, NLTK: the natural language toolkit, in Proceedings of the 42nd Annual Meeting of the Association for Computational Linguistics (2004) pp 1–4. Association for Computational Linguistics

    Google Scholar 

  32. A.H. Alamoodi, B.B. Zaidan, A.A. Zaidan, O.S. Albahri, K.I. Mohammed, R.Q. Malik, E.M. Almahdi, M.A. Chyad, Z. Tareq, A.S. Albahri, H. Hameed, Sentiment analysis and its applications in fighting COVID-19 and infectious diseases: a systematic review. Exp Syst Appl. 1(167), 114155

    Google Scholar 

  33. N.V. Babu, E. Kanaga, Sentiment analysis in social media data for depression detection using artificial ıntelligence: a review. SN Comput. Sci. 3(1), 1–20

    Google Scholar 

  34. J. Han, M. Kamber, Data Mining: Concepts and Techniques (Elsevier, 2006). ISBN 1558609016.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to G. B. Gour .

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

Gour, G.B., Savantanavar, V.S., Yashoda, Gadyal, V., Basavaraddi, S. (2022). Depression Analysis of Real Time Tweets During Covid Pandemic. In: Karuppusamy, P., García Márquez, F.P., Nguyen, T.N. (eds) Ubiquitous Intelligent Systems. ICUIS 2021. Smart Innovation, Systems and Technologies, vol 302. Springer, Singapore. https://doi.org/10.1007/978-981-19-2541-2_6

Download citation

Publish with us

Policies and ethics