Artificial Intelligence for Sentiment Analysis of Persian Poetry
Arash Zargar, Abolfazl Moshiri, Mitra Shafaei, Shabnam Rahimi-Golkhandan, Mohamad Tavakoli-Targhi, and Farzad Khalvati

TL;DR
This study demonstrates that advanced language models like GPT-4 can effectively analyze Persian poetry, revealing sentiment and meter correlations, and reducing human bias in literary analysis.
Contribution
The paper introduces the application of modern LLMs to analyze Persian poetry, showing their effectiveness in sentiment and meter analysis and confirming their potential in literary studies.
Findings
GPT-4o reliably analyzes Persian poetry
Rumi's poems express happier sentiments than E'tesami's
Rumi's use of meters correlates with a wider sentiment range
Abstract
Recent advancements of the Artificial Intelligence (AI) have led to the development of large language models (LLMs) that are capable of understanding, analysing, and creating textual data. These language models open a significant opportunity in analyzing the literature and more specifically poetry. In the present work, we employ multiple Bidirectional encoder representations from transformers (BERT) and Generative Pre-trained Transformer (GPT) based language models to analyze the works of two prominent Persian poets: Jalal al-Din Muhammad Rumi (Rumi) and Parvin E'tesami. The main objective of this research is to investigate the capability of the modern language models in grasping complexities of the Persian poetry and explore potential correlations between the poems' sentiment and their meters. Our findings in this study indicates that GPT4o language model can reliably be used in…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSentiment Analysis and Opinion Mining · Artificial Intelligence in Games · Authorship Attribution and Profiling
