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 knowledge.

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

Semantic analysis has become a central challenge in natural language processing, driven by exponential growth in digitized textual data and the need for automated content processing across multiple applications including machine translation, text classification, sentiment analysis, and information retrieval. However, while semantic analysis methods are well-developed for resource-rich languages such as English, morphologically complex languages like Uzbek suffer from deficiencies in annotated corpora, lexical-semantic resources, and high-quality vector models – a gap amplified by governmental initiatives in digital economy development and national language technology advancement. This section grounds semantic analysis in the distributional semantics hypothesis principle that words exhibiting similar contexts possess similar meanings – thereby recasting the problem as a geometric challenge within continuous vector spaces. Two principal mathematical strategies are formalized: (1) prediction-based models (word2vec: CBOW/Skip-gram), which optimize context prediction objectives, and (2) count-based models (GloVe), which leverage global co-occurrence statistics through matrix factorization. Both project high-dimensional word co-occurrence relationships into low-dimensional dense vector spaces, enabling semantic analogy representation. For resource-scarce languages like Uzbek, cross-lingual embedding alignment (Procrustes optimization) enables semantic knowledge transfer from resource-rich languages, facilitating shared semantic spaces across the Turkic language family. The section concludes with formal problem specification: given vocabulary V and corpus C, semantic analysis is formalized as (1) a mapping problem preserving distributional properties, (2) an optimization problem minimizing loss through gradient-based methods, and (3) an evaluation problem assessing quality through semantic similarity, analogy, and downstream NLP task performance.

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.