Saved in:
Bibliographic Details
Main Authors: Zargar, Arash, Moshiri, Abolfazl, Shafaei, Mitra, Rahimi-Golkhandan, Shabnam, Tavakoli-Targhi, Mohamad, Khalvati, Farzad
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2603.11254
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914386728189952
author Zargar, Arash
Moshiri, Abolfazl
Shafaei, Mitra
Rahimi-Golkhandan, Shabnam
Tavakoli-Targhi, Mohamad
Khalvati, Farzad
author_facet Zargar, Arash
Moshiri, Abolfazl
Shafaei, Mitra
Rahimi-Golkhandan, Shabnam
Tavakoli-Targhi, Mohamad
Khalvati, Farzad
contents 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 analysis of Persian poetry. Furthermore, the results of our sentiment analysis revealed that in general, Rumi's poems express happier sentiments compared to Parvin E'tesami's poems. Furthermore, comparing the utilization of poetic meters highlighted Rumi's poems superiority in using meters to express a wider variety of sentiments. These findings are significant as they confirm that LLMs can be effectively applied in conducting computer-based semantic studies, where human interpretations are not required, and thereby significantly reducing potential biases in the analysis.
format Preprint
id arxiv_https___arxiv_org_abs_2603_11254
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Artificial Intelligence for Sentiment Analysis of Persian Poetry
Zargar, Arash
Moshiri, Abolfazl
Shafaei, Mitra
Rahimi-Golkhandan, Shabnam
Tavakoli-Targhi, Mohamad
Khalvati, Farzad
Computation and Language
Artificial Intelligence
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 analysis of Persian poetry. Furthermore, the results of our sentiment analysis revealed that in general, Rumi's poems express happier sentiments compared to Parvin E'tesami's poems. Furthermore, comparing the utilization of poetic meters highlighted Rumi's poems superiority in using meters to express a wider variety of sentiments. These findings are significant as they confirm that LLMs can be effectively applied in conducting computer-based semantic studies, where human interpretations are not required, and thereby significantly reducing potential biases in the analysis.
title Artificial Intelligence for Sentiment Analysis of Persian Poetry
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2603.11254