Moroccan Institutional Chatbots: A Hybrid Approach with LLMs, Semantic Matching, and Dialect Adaptation for DARIJA
With the rapid growth of LLM-based chatbots and their applications in fields such as health, education, and entertainment, there is a growing interest in developing systems capable of mimicking human behavior through conversation and natural language interaction. These chatbots are available in several languages, such as English, French, and Spanish. Unfortunately, Arabic chatbots—especially those that understand Arabic dialects—are still very limited. In this paper, we develop a chatbot for the Moroccan Arabic dialect, specifically designed for the public sector, such as the fiscal domain and government administration. These institutions require tools to reduce communication loads, limit human assistance, and minimize the time needed to find documents or complete payment procedures. Our optimized chatbot combines recent technologies like LLMs and semantic similarity. It supports Moroccan citizens by providing responses in the Moroccan dialect (Darija), both in text and speech, without requiring extensive resources. It also supports other citizens in French, Spanish, and English. Our chatbot was tested in a real use case in the tax domain, and the results were satisfactory, especially considering the general complexity of the Arabic language and the particular challenges of the Moroccan dialect.
Authors
- Brahim El Bhiri (ORCID: https://orcid.org/0000-0001-8119-3243)
- Yann Ben Maissa (ORCID: https://orcid.org/0000-0001-9620-9519)
- Oumaima Ennasri
Institutions
- Harmonic Drive (Germany) (DE)
- Institut National des Postes et Télécommunications (MA)
Publication Details
- Published
- 2025-10-20
- DOI
- https://doi.org/10.3390/engproc2025112041
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.00