Standardizing Arabic Dialects for NLP: A BERT-Based Transcoding Approach with a Focus on Moroccan Darija

Read full text
Authors: Hasnae Sakhi, S. El Filali, M. Ameur, F. Alaoui, Zouheir Banou
Cited by: 0
References: 17

Abstract

Processing Arabic dialects in Natural Language Processing (NLP) presents significant challenges due to linguistic diversity and the lack of standardized resources. While Modern Standard Arabic (MSA) benefits from advanced NLP tools and extensive annotated datasets, dialects such as Moroccan Darija remain underrepresented. This study introduces a BERT-based transcoding framework that bridges the gap between dialectal Arabic and MSA, enabling the use of pre-trained models optimized for MSA, such as AraBERT. By integrating contextual multilingual embeddings, the proposed approach preserves semantic accuracy while addressing the challenges of dialectal variation. Experimental evaluations on the MAC dataset demonstrate the framework's effectiveness, with the proposed approach significantly outperforming existing models, including DarijaBERT and mBERT, across all key metrics. The findings highlight the scalability of the framework, making it applicable to other Arabic dialects and broader NLP tasks. This research advances Arabic language technology by providing a robust and scalable solution for dialectal NLP, particularly for sentiment analysis and similar downstream applications.

Fields of Study & Subjects

Natural Language Processing Techniques Topic Modeling Sentiment Analysis and Opinion Mining

Publication details

Journal / source
Mathematical Modeling and Computing
Volume
13
Issue
1
Pages
91–101
Publication date
1 January 2026
Language
EN