Skip to main content

A Deep Learning Approach to Detect Depression from Bengali Text

  • Conference paper
  • First Online:
Emerging Technologies in Data Mining and Information Security

Abstract

Most of the dimensional sentiment analysis methods are established on deep learning algorithms in natural language processing which can categorize the sentiment of the Bengali text or paragraph by creating a definite pole. Our purpose is to identify the depression-related ‘sad’ post using the above method from the Bengali dataset. To implement this work, we have collected Bengali text from different platforms such as social media, Bengali blogs, and quotes of Noble persons. And to classify the sentiment as happy or sad from those texts by using our model. The data preprocessing of Bengali text is one of the toughest parts of this model. For tokenizing the data to train the model, we have used Keras tokenizer. During this experiment, we have applied a recurrent neural network with a long short-term memory algorithm and achieved 98% accuracy and also able to detect the sentiment from the given dataset.

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 169.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 219.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. Liu, B., Synthesis Lectures on Human Language Technologies: Sentiment analysis and opinion mining 5(1), 1–167 (2012)

    Google Scholar 

  2. Kanakaraj M., Guddeti, R.M.R.: NLP based sentiment analysis on Twitter data using ensemble classifiers. In: 2015 3rd International Conference on Signal Processing, Communication and Networking (ICSCN), Chennai, 2015, pp. 1–5

    Google Scholar 

  3. Ortigosa, A., Mart, J.M., Carro, M.: Sentiment analysis in Facebook and its application to e-learning. Comput. Hum. Behav. 31, 527–541 (2014)

    Google Scholar 

  4. Mostafa, M.M.: More than words: social networks text mining for consumer brand sentiments. Expert Syst. Appl. 40(10), 4241–4251 (2013)

    Article  Google Scholar 

  5. Medhat, W., Hassan, A., Korashy, H.: Sentiment analysis algorithms and applications: a survey. Ain Shams Eng. J. 5(4), 1093–1113, 2014. Available: https://doi.org/10.1016/j.asej.2014.04.011

  6. Sentiment Analysis: The Basics, How Does It Work, Use Cases & Applications, Resources. [Online] Available: https://monkeylearn.com/sentiment-analysis/

  7. Ko, J., Kwon, H., Kim, H., Lee, K., Choi, M.: Model for twitter dynamics: public attention and time series of tweeting. Physica A 404, 142–149 (2014)

    Article  Google Scholar 

  8. Hodson, H.: Twitter hashtags predict rising tension in Egypt. New Sci. 219(2931), 22 (2013)

    Google Scholar 

  9. De Choudhury, M., Gamon, M., Counts, S., Horvitz, E.: Predicting depression via social media. In: ICWSM, 2013

    Google Scholar 

  10. Kessler, R.: The effects of stressful life events on depression. Annu. Rev. Psychol. 48(1), 191–214, 1997. Available: https://doi.org/10.1146/annurev.psych.48.1.191

  11. Paykel, E.S., Dienelt, M.N.: Suicide attempts following acute depression. J. Nerv. Ment. Dis. 153(4), 234–243 (1971)

    Article  Google Scholar 

  12. Varghese, R., Jayasree, M.: A survey on sentiment analysis and opinion mining. Int. J. Res. Eng. Technol. 2 (2013). eISSN. 2319-1163, pISSN. 2321-7308

    Google Scholar 

  13. Singh, S., et al.: Social media analysis through big data analytics: a survey. Available at SSRN 3349561 (2019)

    Google Scholar 

  14. Masum, A.K.M., et al.: Abstractive method of text summarization with sequence to sequence RNNs. In: 2019 10th International Conference on Computing, Communication, and Networking Technologies (ICCCNT). IEEE, 2019

    Google Scholar 

  15. Emon, E.A., et al.: A deep learning approach to detect abusive Bengali Text. In: 2019 7th International Conference on Smart Computing & Communications (ICSCC). IEEE, 2019

    Google Scholar 

  16. Rout, J.K., Choo, K.R., Dash, A.K., et al.: A model for sentiment and emotion analysis of unstructured social media text. Electron. Commer. Res. 18, 181–199 (2018)

    Google Scholar 

  17. Gupta, Y., Kumar, P.: CASAS: Customized Automated Sentiment Analysis System 5(1), 275–279 (2017)

    Google Scholar 

  18. Chowdhury, M., Chowdhury, M. H.: NCTB Bangla Grammer for Class 9-10

    Google Scholar 

  19. Cheng, L.C., Tsai, S.L.: Deep learning for automated sentiment analysis of social media. In: Proceedings of the 2019 IEEE/ACM International Conference on Advances in Social Networks Analysis and Mining, pp. 1001–1004 (2019)

    Google Scholar 

Download references

Acknowledgements

We really obliged to accept their assistance from DIU NLP and Machine Learning Research Lab for giving GPU’s support. We delighted, Dept. of Computer Science and Engineering, Daffodil International University for supporting us. And also pleased to anonymous reviewers for their worthy explanation and feedback.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Md. Rafidul Hasan Khan .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2021 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

Rafidul Hasan Khan, M., Afroz, U.S., Masum, A.K.M., Abujar, S., Hossain, S.A. (2021). A Deep Learning Approach to Detect Depression from Bengali Text. In: Hassanien, A.E., Bhattacharyya, S., Chakrabati, S., Bhattacharya, A., Dutta, S. (eds) Emerging Technologies in Data Mining and Information Security. Advances in Intelligent Systems and Computing, vol 1300. Springer, Singapore. https://doi.org/10.1007/978-981-33-4367-2_74

Download citation

Publish with us

Policies and ethics