iBet uBet web content aggregator. Adding the entire web to your favor.
iBet uBet web content aggregator. Adding the entire web to your favor.



Link to original content: https://unpaywall.org/10.1007/S11042-022-12902-3
Emotion classification in poetry text using deep neural network | Multimedia Tools and Applications Skip to main content
Log in

Emotion classification in poetry text using deep neural network

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

Abstract

Emotion classification from online content has received considerable attention from researchers in recent times. Most of the work in this direction has been carried out on classifying emotions from informal text, such as chat, sms, tweets and other social media content. However, less attention is given to emotion classification from formal text, such as poetry. In this work, we propose an emotion classification system from poetry text using a deep neural network model. For this purpose, the BiLSTM model is implemented on a benchmark poetry dataset. This is capable of classifying poetry into different emotion types, such as love, anger, alone, suicide and surprise. The efficiency of the proposed model is compared with different baseline methods, including machine learning and deep learning models.

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

Access this article

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

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

Similar content being viewed by others

Data availability

The data supporting this research and that used to build the system can be acquired from corresponding author upon request.

References

  1. Ahmad S, Asghar MZ, Alotaibi FM, Khan S (2020) Classification of poetry text into the emotional states using deep learning technique. IEEE Access 8:73865–73878

    Article  Google Scholar 

  2. Alghazzawi D, Bamasag O, Albeshri A, Sana I, Ullah H, Asghar MZ (2022) Efficient prediction of court judgments using an LSTM+ CNN neural network model with an optimal feature set. Mathematics 10(5):683

    Article  Google Scholar 

  3. Asghar J, Akbar S, Asghar MZ, Ahmad B, Al-Rakhami MS, Gumaei A (2021) Detection and classification of psychopathic personality trait from social media text using deep learning model. Comput Math Methods Med 2021:1–10

    Article  Google Scholar 

  4. Asghar MZ, Lajis A, Alam MM, Rahmat MK, Nasir HM, Ahmad H, al-Rakhami MS, al-Amri A, Albogamy FR (2022) A deep neural network model for the detection and classification of emotions from textual content. Complexity 2022:1–12

    Article  Google Scholar 

  5. Brownlee J (2017) What are word embeddings for text? Retrieved May 8, 2021, from Machinelearningmastery.com website: https://machinelearningmastery.com/what-are-word-embeddings/

  6. Dalila B, Mohamed A, Bendjanna H (2018) A review of recent aspect extraction techniques for opinion mining systems. In: 2018 2nd international conference on natural language and speech processing (ICNLSP). IEEE. p 1–6

  7. Hou Y, Frank A (2015) Analyzing sentiment in classical Chinese poetry. In: Proceedings of the 9th SIGHUM workshop on language Technology for Cultural Heritage, social sciences, and humanities (LaTeCH), pp 15–24

    Google Scholar 

  8. Jareanpon C, Kiatjindarat W, Polhome T, Khongkraphan K (2018) Automatic lyrics classification system using text mining technique. In: 2018 international workshop on advanced image technology (IWAIT). IEEE, pp 1–4

    Google Scholar 

  9. Kaur J, Saini JR (2017) Punjabi poetry classification: the test of 10 machine learning algorithms. In: Proceedings of the 9th international conference on machine learning and computing. ACM, pp 1–5

    Google Scholar 

  10. Keras Team (n.d.) The sequential class. Retrieved May 10, 2021, from Keras.io website: https://keras.io/api/models/sequential/

  11. Khattak A, Habib A, Asghar MZ, Subhan F, Razzak I, Habib A (2021) Applying deep neural networks for user intention identification. Soft Comput 25(3):2191–2220

    Article  Google Scholar 

  12. Li W, Xu H (2014) Text-based emotion classification using emotion cause extraction. Expert Syst Appl 41(4):1742–1749

    Article  Google Scholar 

  13. Malheiro R, Oliveira HG, Gomes P, Paiva RP (2016) Keyword-based approach for lyrics emotion variation detection. In: Proceedings of the 8th international joint conference on knowledge discovery, knowledge engineering and knowledge management (IC3K 2016) - volume 1. KDIR, pp 33–44. https://doi.org/10.5220/0006037300330044

  14. Mohanty G, Mishra P, Mamidi R (2018) Sad or glad? Corpus creation for Odia poetry with sentiment polarity information. In: Proc. 19th Int. Conf. Comput. Linguistics Intell. Text process. (CICLing)

    Google Scholar 

  15. Schuster M, Paliwal KK (1997) Bidirectional recurrent neural networks. IEEE Trans Signal Process 45(11):2673–2681

    Article  Google Scholar 

  16. Soumya S, Saju S, Rajan R, Sebastian N (2017) Poetic meter classification using TMS320C6713 DSK. In: 2017 international conference on signal processing and communication (ICSPC). IEEE, pp 23–27

    Chapter  Google Scholar 

  17. Sreeja PS, Mahalakshmi GS (2016) Emotion recognition from poems by maximum posterior probability. Int J Comput Sci Inf Secur 14:36–43

    Google Scholar 

  18. Sreejith D, Devika MP, Tadikamalla NS, Mathew SV (2017) Sentiment analysis of English literature using rasa-oriented semantic ontology. Indian J Sci Technol 10(24):1–11

    Article  Google Scholar 

  19. Wang Y, Subhan F, Shamshirband S, Zubair Asghar M, Ullah I, Habib A (2020) Fuzzy-based sentiment analysis system for analyzing student feedback and satisfaction. Comput Mater Contin 62(2):631–655

    Google Scholar 

  20. Zehe A, Becker M, Jannidis F, Hotho A (2017) Towards sentiment analysis on German literature. In: Joint German/Austrian conference on artificial intelligence (Künstliche Intelligenz). Springer, Cham, pp 387–394

    Google Scholar 

  21. Zhou P, Shi W, Tian J, Qi Z, Li B, Hao H, Xu B (2016) Attention-based bidirectional long short-term memory networks for relation classification. In: Proceedings of the 54th annual meeting of the Association for Computational Linguistics (volume 2: short papers), pp 207–212

    Chapter  Google Scholar 

Download references

Acknowledgements

This Research work was supported by Zayed University Research Incentives Fund # R21095.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Muhammad Zubair Asghar.

Ethics declarations

Conflict of interest

The authors declare no conflict of interest.

Additional information

Publisher’s note

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

Appendices

Appendix 1: User Interface for Emotion Prediction in Poetry Text

figure a

Appendix 2: User Interface for Accuracy Prediction

figure b

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Khattak, A., Asghar, M.Z., Khalid, H.A. et al. Emotion classification in poetry text using deep neural network. Multimed Tools Appl 81, 26223–26244 (2022). https://doi.org/10.1007/s11042-022-12902-3

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s11042-022-12902-3

Keywords

Navigation