Exploring Author Style in Nakba Short Stories: A Comparative Study of Transformer-Based Models

Osama Hamed, Nadeem Zaidkilani


Abstract
Measuring semantic similarity and analyzing authorial style are fundamental tasks in Natural Language Processing (NLP), with applications in text classification, cultural analysis, and literary studies. This paper investigates the semantic similarity and stylistic features of Nakba short stories, a key component of Palestinian literature, using transformer-based models, AraBERT, BERT, and RoBERTa. The models effectively capture nuanced linguistic structures, cultural contexts, and stylistic variations in Arabic narratives, outperforming the traditional TF-IDF baseline. By comparing stories of similar length, we minimize biases and ensure a fair evaluation of both semantic and stylistic relationships. Experimental results indicate that RoBERTa achieves slightly higher performance, highlighting its ability to distinguish subtle stylistic patterns. This study demonstrates the potential of AI-driven tools to provide more in-depth insights into Arabic literature, and contributes to the systematic analysis of both semantic and stylistic elements in Nakba narratives.
Anthology ID:
2025.nakbanlp-1.7
Volume:
Proceedings of the first International Workshop on Nakba Narratives as Language Resources
Month:
January
Year:
2025
Address:
Abu Dhabi
Editors:
Mustafa Jarrar, Habash Habash, Mo El-Haj
Venues:
NakbaNLP | WS
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
56–62
Language:
URL:
https://aclanthology.org/2025.nakbanlp-1.7/
DOI:
Bibkey:
Cite (ACL):
Osama Hamed and Nadeem Zaidkilani. 2025. Exploring Author Style in Nakba Short Stories: A Comparative Study of Transformer-Based Models. In Proceedings of the first International Workshop on Nakba Narratives as Language Resources, pages 56–62, Abu Dhabi. Association for Computational Linguistics.
Cite (Informal):
Exploring Author Style in Nakba Short Stories: A Comparative Study of Transformer-Based Models (Hamed & Zaidkilani, NakbaNLP 2025)
Copy Citation:
PDF:
https://aclanthology.org/2025.nakbanlp-1.7.pdf