Skip to content
Open access

Explainable AI Framework for Cognitive and Pragmatic Analysis of Classical Arabic Narratives Using Large Language Models

Jul 2026 · JOIV: International Journal on Informatics Visualization · 0 citations

TL;DR

The results demonstrate that linear discriminative models and appropriate lexical feature engineering can provide a very accurate and interpretable baseline for the development of natural language processing algorithms for Arabic.

Abstract

Classical Arabic narratives present unique challenges in the computational analysis of their texts, due to the language's highly complex morphology, orthographic ambiguity, and stylistic variations over time. This study presents a framework for Explainable Artificial Intelligence (XAI) for cognitive and pragmatic study of Arabic texts with two typical tasks, namely author attribution and Named Entity Recognition (NER). The ground truth used in the framework is not synthetically created, but rather comes from two already available resources, that are sufficiently rich to provide strong, machine-verifiable ground truth: the OpenITI corpus segmented in passages and labeled by the Author URI for multi-class attribution for six classical authors and CLEAN-ANERCorp, a corrected CoNLL format Arabic NER corpus recast as a windowed-context classification task with labels PER, LOC, ORG, MISC and O. The four traditional machine-learning classifiers, Logistic Regression, Multinomial Naive Bayes, Linear Support Vector Machine (SVM), and Random Forest are systematically benchmarked after the normalization and TF-IDF vectorization of the Arabic texts (unigrams and bigrams, vocabulary limited to approximately 8,000 features, minimum document frequency of 1). Models are tested using an 80/20 stratified train-test split, and accuracy, weighted precision, weighted recall, weighted F1-score, Matthews Correlation Coefficient (MCC), and Cohen's Kappa are used to evaluate models. The Linear SVM achieves the best performance with an 80/20 split, with an author-attribution F1 of 0.932 and an NER F1 of 0.809, while an 80/40 split yields an author-attribution F1 of 0.942. The ten most important TF-IDF features are extracted for each class and presented as a pair of Arabic-English word lists, thereby providing algorithmic transparency. Together, the results demonstrate that linear discriminative models and appropriate lexical feature engineering can provide a very accurate and interpretable baseline for the development of natural language processing algorithms for Arabic.

Read PDF

Similar papers

Review Open access Jul 2026

Why AI Struggles to Understand Arabic Grammar: A Techno-Pedagogical Review of Computational and Linguistic Challenges

The findings suggest that effective AI integration in Arabic grammar instruction requires a Human-in-the-Loop approach, targeted teacher training, and the development of critical AI literacy among learners.

Muhammad Fariq Heemal Attruk, N. Mustapha · 0 citations
Open access Aug 2026

LINGUISTIC FEATURES OF AI-GENERATED TEXTS AND METHODS FOR THEIR AUTOMATED IDENTIFICATION

It is argued that automated detection should not replace expert linguistic analysis but should serve as an auxiliary tool for evaluating the probable origin of a text in media linguistics, fact-checking, and educational practic.

N. Babkova, D. Huliieva, Z. Kochuieva et al. · 0 citations
Open access Jul 2026

Texts Generated by Artificial Intelligence: Structure and Semantics

It was concluded that texts generated by artificial intelligence constitute a separate linguistic phenomenon with its own set of characteristics, which requires a special typology and a flexible, updatable analysis methodology.

L. Kravets, Viktória Stefuca, N. Libak et al. · 0 citations
Open access 2026

DA-ICL: Distribution-Aware In-Context Learning for Arabic Automatic Speech Recognition Error Correction

A novel two-stage framework for accurate and efficient Arabic ASR enhancement, combining HuBERT-based acoustic modeling with LLM-based DA-ICL correction and LoRA-efficient adaptation yields a robust, accurate, and scalable solution for Arabic ASR, effectively bridging the gap between acoustic signal and linguistic know...

Rima Sbih, Assef Jafar, A. Kazem · 0 citations
Review Open access 2026

Comparative Evaluation of Latin Natural Language Processing Tools for Pedagogical Applications

A narrative review compares contemporary Latin Natural Language Processing tools and their use cases for pedagogical applications and concludes that an integrated, multi-tool approach is most effective for supporting Latin pedagogy.

Aidan Han · 0 citations
Open access Aug 2026

Semantic analysis of problems in natural language processing and their mathematical interpretation

The section concludes with formal problem specification: given vocabulary V and corpus C, semantic analysis is formalized as a mapping problem preserving distributional properties, an optimization problem minimizing loss through gradient-based methods, and an evaluation problem assessing quality through semantic simila...

D. Akhmedjanova · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.