Utilizing Computational Linguistics Tools for Enhanced Poetic Interpretation

Authors

  • Emanuel Luo Valley Christian High School, San Jose, CA

DOI:

https://doi.org/10.47611/jsrhs.v12i4.5765

Keywords:

Natural language processing (NLP), computational poetry analysis, Python Libraries, SpaCy, TextBlob, ChatGPT-4, sentiment analysis, semantic analysis, emotion and tone detection

Abstract

This paper explores the functionalities of Python libraries, such as SpaCy and TextBlob, and pairs them with the ChatGPT-4 to undertake an analytical expedition into the realm of poetry. The study found that Python's tools adeptly handle tokenization, sentiment detection, and semantic analysis but are confined to analyzing specific text within the boundaries of their pre-trained models. In contrast, ChatGPT-4 merges advanced natural language processing (NLP) techniques with state-of-the-art machine learning paradigms, enabling a more comprehensive range of analyses covering thematic, imagery, and contextual dimensions. This fusion of traditional literary methodologies with advanced computational techniques illuminates the prospect of deciphering the nuanced linguistic constructs and profound thematic layers crafted by poets, thus offering layered insights into poetry. Acknowledging the restrictions posed by Python's modular libraries, our study was meticulous in the text selection. The paper analyzes an original poem by the author, performing NLP tasks such as sentiment analysis, emotion and tone detection, and dependency parsing using Python. In comparison, ChatGPT-4 showcases its prowess by not only capturing the surface-level natural imagery within the poem but also highlighting its underlying tribute to national pride and the contemplation it invites on the essence of freedom. The paper concludes by discussing the inherent limitations of Python-based NLP and ChatGPT-4 and suggests future research directions to bridge the gap between human intuition and technological innovation for deeper poetic insights.

Downloads

Download data is not yet available.

References or Bibliography

Doddy, I. N. (2014). Understanding how to Analyze Poetry and its Implication to Language Teaching. English Language Teaching PBI S2 Graduate School. ARC Journals, pp. 35-45.

Kao, J, T. & Jurafsky, D. (2015), A computational analysis of poetic style: Imagism and its influence on modern professional and amateur poetry. Linguistic Issues in Language Technology, 12 (1), pp. 1-22.

Haider, T.K. (2014), A Computational Stylistics of Poetry: Distant Reading and Modeling of German and English Verse. Doctoral thesis, Universität Stuttgart.

Bories, A. S., Plecháč, P. and Fabo, P. R. (2023), Computational Stylistics in Poetry, Prose, and Drama, Berlin, Boston: De Gruyter. https://doi.org/10.1515/9783110781502.

Naaz, k. (2021), Design and Development of Computational Tools for Analyzing Elements of Hindi Poetry. International Journal of Computer Applications, 179(45), pp 1-6.

Marmik, P. (2016), NLP based Poetry Analysis and Generation. ResearchGate, December, doi:10.13140/RG.2.2.35878.73285.

Pande, N. and Karyakarte M. (2019), A Review for Semantic Analysis and Text Document Annotation Using Natural Language Processing Techniques. SSRN Papers July 12. https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3418747.

Pandya, M. (2016), NLP based poetry analysis and generation. ResearchGate. https://doi.org/10.13140/RG.2.2.35878.73285.

Singh, T., (2023), Natural Language Processing with spaCy in Python. Real Python, 2 Jan. https://realpython.com/natural-language-processing-spacy-python/.

Li, S. (2019), Introducing TextBlob: A Python library for processing textual data, NLP framework, sentiment analysis. Towards Data Science, Jan. https://towardsdatascience.com/having-fun-with-textblob-7e9eed783d3f.

Published

11-30-2023

How to Cite

Luo, E. (2023). Utilizing Computational Linguistics Tools for Enhanced Poetic Interpretation. Journal of Student Research, 12(4). https://doi.org/10.47611/jsrhs.v12i4.5765

Issue

Section

HS Research Projects