Leveraging Machine Learning and Natural Language Processing for Emotional and Thematic Analysis in Three Selected Contemporary English Novels

Authors

  • Shaimaa Mohamed Hassanin Horus University- Egypt (HUE)
  • Eman Mohammed Al Bayomy The Higher Institute for Languages in Mansoura
  • Marwa Aly Eleleidy Port Said University

DOI:

https://doi.org/10.17507/tpls.1512.03

Keywords:

machine learning, deep learning, English literature, the post-humanist approach, natural language processing (NLP)

Abstract

The analysis of contemporary English novels, such as Sally Rooney's Normal People (2018), Yaa Gyasi's Homegoing (2016), and Khaled Hosseini's The Kite Runner (2003), offers a unique opportunity to explore the intersection of machine learning, deep learning, and natural language processing (NLP) within a post-humanist literary framework. This research paper employs computational techniques to examine how human experiences, emotions, and sociocultural dynamics are represented beyond traditional human-centric narratives. The post-humanist approach shifts focus from merely analyzing human emotions and character development to considering the agency of non-human elements—such as technology, culture, and the environment—in shaping narratives. Using sentiment analysis and emotion detection algorithms, the study investigates the contributions of these elements to the protagonists' emotional landscapes and how language reflects a broader, interconnected web of existence. It also explores narrative structure analysis and topic modeling to identify key themes highlighting the interplay between human and non-human actors in the texts. This includes examining how socio-political contexts and cultural artifacts influence character motivations, with an emphasis on relational dynamics within the narratives. Additionally, integrating deep learning models, such as transformer-based language models, facilitates a deeper understanding of semantic relationships and stylistic patterns. By analyzing figurative language and narrative techniques, the study reveals how the authors articulate complex themes of identity, displacement, and belonging in a world where human and non-human influences coexist. This post-humanist approach, which combines machine learning, deep learning, and NLP, enhances our appreciation of the emotional and thematic complexities in modern literature.

Author Biographies

Shaimaa Mohamed Hassanin, Horus University- Egypt (HUE)

English Department, Faculty of Al-Alsun and Translation

Eman Mohammed Al Bayomy, The Higher Institute for Languages in Mansoura

English Department

Marwa Aly Eleleidy, Port Said University

English Department, Faculty of Arts

References

Alm, C. O., Dan Roth, & Richard Sproat. (2005). Emotions from Text: Machine Learning for Text-based Emotion Prediction. In Proceedings of Human Language Technology Conference and Conference on Empirical Methods in Natural Language Processing, pp. 579–586, Vancouver, British Columbia, Canada. Association for Computational Linguistics.

Blei, D. M. (2011). Introduction to Probabilistic Topic Models. Digital humanities. MIT Press.

Burdick, A. (2012). Digital Humanities. MIT Press. ISBN (electronic): 9780262312103

Cao, Y., Sun, Z., Li, L., & Mo, W. (2022). A Study of Sentiment Analysis Algorithms for Agricultural Product Reviews Based on Improved BERT Model. Symmetry, 14(8). doi:10.3390/sym14081604.

Devlin, J., Chang, M., Lee, K., & Toutanova, K. (2019). BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding. North American Chapter of the Association for Computational Linguistics.

Falk, M. (2016). Faraway, So Close!: Reading Adeline Mowbray Closely Using Topic Modelling. In Digital Humanities 2016: Conference Abstracts (pp. 787-789). Jagiellonian University & Pedagogical University, Kraków.

Goldberg, A. (2003). Constructions: A New Theoretical Approach to Language. Trends in Cognitive Science, 7(5), 219–224.

Gyasi, Y. (2016). Homegoing (BEMIS book club kit). New York, Alfred A. Knopf.

Hosseini, K. (2005). The Kite Runner (Riverhead trade pbk. ed.). New York, Riverhead Books.

Huang, X., Zhang, W., Tang, X., Zhang, M., Surbiryala, J., Iosifidis, V., Liu, Z., & Zhang, J. (2021). LSTM Based Sentiment Analysis for Cryptocurrency Prediction. Database Systems for Advanced Applications. DASFAA 2021, Lecture Notes in Computer Science, 12683, Springer, Cham, Switzerland. doi:10.1007/978-3-030-73200-4_47.

Jockers, M. L. (2013). Macroanalysis: Digital Methods and Literary History. University of Illinois Press.

Rooney, S. (2018). Normal people: A novel (First United States edition). London; New York, Hogarth.

Downloads

Published

2025-12-01

Issue

Section

Articles