A Computational Sentiment and Emotion Analysis of Kae Bahar’s The Good, the Bad and the Gringo
Main Article Content
Abstract
This study presented a systematic computational analysis of sentiment and emotion in Kae Bahar’s The Good, the Bad and the Gringo. The objective of the study was to identify the emotional tone (valence) of the overall sentiment in the novel, to detect the trajectories of six discrete emotions (anger, fear, sadness, happiness, disgust, and surprise), and to examine the correlation between them. The study adopted a quantitative and qualitative approach and utilized Orange Data Mining v.3.37 software for the text analysis. More specifically, the study made use of SentiArt tool and Pearson Correlation tool, which are incorporated within the software, to address its objectives. The findings demonstrated that the novel, although ends on a positive note, is noticeably oriented towards negative sentiment territory as the life of the main character goes downward recurrently. The study also found that the six discrete emotions have trajectories with different ranges, and that both positive and negative correlations exist between several emotional arcs. The novel’s affective structure, therefore, operates as a testament to endurance rather than a surrender to despair. The narrative foregrounds resilience, documenting the strained yet persistent adaptation of human consciousness to unrelenting adversity. The study contributes to the field of digital humanities methodologically as it supports the usefulness of SentiArt tool in computational literary analysis, and theoretically as it provides insights to the field from non-Western narratives. Moreover, the study contributes to the computational analysis of Kurdish literature, a domain that has often been overlooked in prior research.
Article Details
Section

This work is licensed under a Creative Commons Attribution 4.0 International License.
Journal of Philology and Educational Sciences is licensed under a Creative Commons Attribution License 4.0 (CC BY-4.0).
How to Cite
References
Bahar, K. (2024). The good, the bad and the Gringo. Afsana Press, London.
Beyad, M. S., Ghorbani, S., & Amiri, C. (2018). English letters, Kurdish words: Debunking Orientalist tropes in Kae Bahar’s Letters from a Kurd. Cogent Arts & Humanities, 5(1), 1555875, doi: https://doi.org/10.1080/23311983.2018.1555875
Blevins, C. (2012, July 12). Coding a Middle Ground: ImageGrid. Cameron Blevins, https://cblevins.github.io/posts/coding-a-middle-ground/
Elkins, K. & Chun, J. (2019). Can sentiment analysis reveal structure in a “Plotless” novel? arXiv preprint, arXiv: arXiv.1910.01441, doi: https://doi.org/10.48550/arXiv.1910.01441
Fiore, A. (2024). What makes an emotionally compelling novel? A sentiment analysis of science fiction novels 1984 and We [Poster]. IPHS 200: Programming Humanity. Digital Kenyon, https://digital.kenyon.edu/cgi/viewcontent.cgi?article=1079&context=dh_iphs_prog
Franta, A. & Silver, S. (2024). Sentiment analysis and the sentimental novel. Critical Inquiry, 50(3): 402-424, doi: https://doi.org/10.1086/728948
Hernández-Pérez, R., Lara-Martínez, P., Obregón-Quintana, B., Liebovitch, L. S. & Guzmán-Vargas, L. (2024). Correlations and fractality in sentence-level sentiment analysis based on VADER for literary texts. Information, 15(11), 698, doi: https://doi.org/10.3390/info15110698
Jacobs, A. M. (2015). Neurocognitive poetics: methods and models for investigating the neuronal and cognitive-affective bases of literature reception. Frontiers in Human Neuroscience, 9, 186, doi: https://doi.org/10.3389/fnhum.2015.00186
Jacobs, A. M. (2017). Quantifying the beauty of words: A neurocognitive poetics perspective. Frontiers in Human Neuroscience, 11, 622, doi: https://doi.org/10.3389/fnhum.2017.00622
Jacobs, A. M. (2019). Sentiment analysis for words and fiction characters from the perspective of computational (Neuro-)poetics. Frontiers in Robotics and AI, 6, 53, doi: https://doi.org/10.3389/frobt.2019.00053
Jacobs, A. M. & Kinder, A. (2020). Computing the affective-aesthetic potential of literary texts. AI, 1(1), 11-27, doi: https://doi.org/10.3390/ai1010002
Jacobs, A. M., Herrmann, B., Lauer, G., Lüdtke, J., & Schroeder, S. (2020). Sentiment analysis of children and youth literature: Is there a Pollyanna effect?. Frontiers in Psychology, 11, 574746, doi: https://doi.org/10.3389/fpsyg.2020.574746
Kim, E. & Klinger, R. (2019a). A survey on sentiment and emotion analysis for computational literary studies (v2). Zeitschrift für digitale Geisteswissenschaften. Wolfenbüttel, doi: https://doi.org/10.17175/2019_008
Kim, E. & Klinger, R. (2019b). An analysis of emotion communication channels in fan-fiction: Towards emotional storytelling. In Proceedings of the Second Workshop of Storytelling (pp.56-64), Florence, doi: https://doi.org/10.18653/v1/W19-3406
Kim, E. & Klinger, R. (2019c). Frowning Frodo, wincing Leia, and a seriously great friendship: Learning to classify emotional relationships of fictional characters. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers) (pp. 647–653). Minneapolis, MN, doi: https://doi.org/10.18653/v1/N19-1067
Kuivalainen, P. (2009). Emotions in narrative: A linguistic study of Katherine Mansfield’s short fiction. The Electronic Journal of the Department of English at the University of Helsinki, 5, https://blogs.helsinki.fi/hes-eng/volumes/volume-5/
Li, Y., Afzaal, M., & Yin, Y. (2024). A lexicon-based diachronic comparison of emotions and sentiments in literary translation: A case study of five Chinese versions of David Copperfield. PLOS ONE, 19 (2), e0297101, doi: https://doi.org/10.1371/journal.pone.0297101
Liu, B. (2015). Sentiment analysis: Mining opinions, sentiments, and emotions. Cambridge University Press, doi: https://doi.org/10.1017/CBO9781139084789
Mayer, J. D., Roberts, R. D., & Barsade, S. G. (2008). Human abilities: emotional intelligence. Annual Review of Psychology, 59, 507–536, doi: https://doi.org/10.1146/annurev.psych.59.103006.093646
Mikelin, M. (2025). Emotional arcs in comics: Examining the progression of valence and arousal within time, space, and character runs. Master Thesis, Tilburg University, Tilburg, The Netherlands.
Miller, J. H. (2014). Text; action; space; emotion in Conrad’s Nostromo. In L. Sætre, P. Lombardo, and J. Zanetta (Eds.), Exploring Text and Emotions (pp. 91–118). Aarhus University Press, doi: https://doi.org/10.2307/j.ctv62hhk6.6
Mohammad, S. M. (2012). From once upon a time to happily ever after: Tracking emotions in mail and books. Decision Support Systems, 53(4), 730-741, doi: https://doi.org/10.1016/j.dss.2012.05.030
Moretti, F. (2000). Conjectures on World Literature. New Left Review 1, 54-68, https://newleftreview.org/issues/ii1
Nalisnick, E. T., & Baird, H. S. (2013). Character-to-character sentiment analysis in Shakespeare’s plays. In H. Schuetze, P. Fung, & M. Poesio (Eds.), Proceedings of the 51st Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers) (pp. 479–483). Association for Computational Linguistics, https://aclanthology.org/P13-2085/
Öhman, E., Bizzoni, Y., Moreira, P. F. & Nielbo, K. L. (2024). Emotion arcs: Emotion arcs for 9,000 literary texts. Proceedings of LaTeCH-CLfL 2024, pp. 51–66. Association for Computational Linguistics, doi: https://doi.org/10.18653/v1/2024.latechclfl-1.7
Reagan, A. J., Mitchell, L., Kiley, D., Danforth, Ch. M. & Dodds, P. Sh. (2016). The emotional arcs of stories are dominated by six basic shapes. EPJ Data Science, 5(31), doi: https://doi.org/10.1140/epjds/s13688-016-0093-1
Rebora, S. (2023). Sentiment analysis in literary studies. A critical survey. Digital Humanities Quarterly, 17(2), 1-17, https://dhq-static.digitalhumanities.org/pdf/000691.pdf
Rossi, R. & Öhman, E. (2025). Combining qualitative and computational approaches for literary analysis of Finnish novels. Scandinavian Studies 97(3), 27-51. https://muse.jhu.edu/article/965318
Schober, P., Boer, Ch. & Schwarte, L. A. (2018). Correlation coefficients: appropriate use and interpretation. Anesthesia & Analgesia, 126(5), 1763–1768, doi: https://doi.org/10.1213/ANE.0000000000002864
Sherstinova, T., Moskvina, A., Kirina, M., Karysheva, A., Kolpashchikova, E. & Maksimenko, P. (2023). Sentiment Analysis of Literary Texts vs. Reader's Emotional Responses. In 2023 33rd Conference of Open Innovations Association (FRUCT) (pp. 243-249). IEEE, doi: https://doi.org/10.23919/FRUCT58615.2023.10143070
Spivak, G. C. (1988). Can the subaltern speak? In C. Nelson & L. Grossberg (Eds.), Marxism and the interpretation of culture (pp. 271–313). University of Illinois Press.
Tilmatine, M., Lüdtke, J. & Jacobs, A. M. (2024). Predicting subjective ratings of affect and comprehensibility with text features: a reader response study of narrative poetry. Frontiers in Psychology, 15, 1431764, doi: https://doi.org/10.3389/fpsyg.2024.1431764
Vishnubhotla, K., Hammond, A., Hirst, G. & Mohammad, S. M. (2024). The emotion dynamics of literary novels. Findings of the Association for Computational Linguistics: ACL 2024, pages 2557–2574, Bangkok, Thailand. Association for Computational Linguistics, doi: https://doi.org/10.18653/v1/2024.findings-acl.150