arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.11254cs.CLcs.AI
收藏

人工智能在波斯诗歌情感分析中的应用

Artificial Intelligence for Sentiment Analysis of Persian Poetry

Arash Zargar, Abolfazl Moshiri, Mitra Shafaei, Shabnam Rahimi-Golkhandan, Mohamad Tavakoli-Targhi, Farzad Khalvati

AI总结:

本研究利用BERT和GPT模型分析波斯诗人鲁米和巴尔文·埃特萨米的诗歌,发现鲁米的诗歌情感更积极,且在格律表达多样性上更胜一筹,证明了LLMs在无需人工解释的语义研究中的有效性。

摘要:

近年来,人工智能(AI)的最新进展导致了大型语言模型(LLMs)的发展,这些模型能够理解和分析文本数据。这些语言模型在分析文学作品,特别是诗歌方面提供了显著的机会。在本研究中,我们采用多种双向编码表示变换器(BERT)和生成预训练变换器(GPT)基于的语言模型,分析两位著名波斯诗人:贾拉尔·丁·穆罕默德·鲁米(鲁米)和巴尔文·埃特萨米的诗歌。本研究的主要目的是探讨现代语言模型在理解波斯诗歌复杂性方面的能力,并探索诗歌情感与其格律之间的潜在关联。本研究的结果表明,GPT4o语言模型可以可靠地用于分析波斯诗歌。此外,我们的情感分析结果表明,总体而言,鲁米的诗歌比巴尔文·埃特萨米的诗歌更倾向于表达快乐的情感。此外,比较诗歌格律的使用表明,鲁米的诗歌在用格律表达更广泛情感方面具有优势。这些发现具有重要意义,因为它们证实了LLMs可以有效地用于进行计算机语义研究,而无需人类解释,从而显著减少分析中的潜在偏见。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑