RATIONALITY VS. IRRATIONALITY: QUANTIFYING LEXICAL ATMOSPHERES IN DETECTIVE AND GOTHIC FICTION
Keywords:
Computational Literary Analysis, TF-IDF, Corpus Linguistics, Detective Fiction, Gothic Literature, Digital Humanities, Distant Reading.Abstract
The dichotomy between rationality and irrationality is a defining feature of 19th and early 20th-century British genre fiction. While traditional literary criticism has extensively explored the logical frameworks of Detective fiction and the emotive, supernatural terror of Gothic literature through qualitative close reading, the quantitative mechanisms used to construct these distinct atmospheres remain underexplored. This study employs computational text analysis to measure the lexical fingerprints of these two genres. Utilising a corpus of ten seminal works sourced from Project Gutenberg—including texts by Arthur Conan Doyle, Agatha Christie, Mary Shelley, and Bram Stoker—the study applies the Term Frequency-Inverse Document Frequency (TF-IDF) algorithm to isolate genre-specific vocabulary. Addressing the methodological challenge of Named Entity Bias (where proper nouns disproportionately skew TF-IDF scores) and semantic overlap, the text was iteratively filtered using custom stopword lists. The results quantitatively validate traditional literary theories: the lexical atmosphere of Detective fiction is heavily weighted toward procedural, forensic, and rational nomenclature (e.g., strychnine, colonel, car), whereas Gothic fiction is fundamentally constructed through emotive, primal, and psychological lexicon (e.g., anguish, wolves, journal). Ultimately, this paper demonstrates how distant reading techniques can mathematically substantiate the atmospheric paradigms of classic genre fiction.
References
1. Project Gutenberg. (n.d.). Free eBooks. Retrieved from https://www.gutenberg.org
2. Underwood, T. (2019). Distant horizons: Digital evidence and literary change. University of Chicago Press.
3. R Core Team. (2023). R: A language and environment for statistical computing. R Foundation for Statistical Computing. https://www.R-project.org/
4. Silge, J., & Robinson, D. (2016). tidytext: Text mining and analysis using tidy data principles in R. The Journal of Open Source Software, 1(3), 37. https://doi.org/10.21105/joss.00037
5. Jockers, M. L. (2013). Macroanalysis: Digital methods and literary history. University of Illinois Press.
6. Manning, C. D., Raghavan, P., & Schütze, H. (2008). Introduction to information retrieval. Cambridge University Press.
7. Moretti, F. (2013). Distant reading. Verso Books.
8. Blei, D. M., Ng, A. Y., & Jordan, M. I. (2003). Latent Dirichlet Allocation. Journal of Machine Learning Research, 3, 993-1022.
9. Mohammad, S. M. (2016). Sentiment analysis: Detecting valence, emotions, and other affectual states from text. Emotion Measurement, 201-237. https://doi.org/10.1016/B978-0-08-100508-8.00009-6
10. Hebron, Stephen. (2014). The Gothic. British Library. https://www.bl.uk/romantics-and-victorians/articles/the-gothic