Skip to main content
Top

2025 | OriginalPaper | Chapter

Comparative Analysis of Large Language Models in Moroccan Darija Translation

Authors : Yassine El Kaneb, Mohcine Kodad

Published in: Innovations in Smart Cities Applications Volume 8

Publisher: Springer Nature Switzerland

Activate our intelligent search to find suitable subject content or patents.

search-config
loading …

Abstract

The advent of large language models (LLMs) has significantly advanced the field of natural language processing, particularly in machine translation. However, translating dialects and lesser-studied languages like Moroccan Darija presents unique challenges due to their linguistic complexity and the scarcity of high-quality parallel corpora. This chapter explores the translation performance of four cutting-edge LLMs—GPT-4, Gemini 1.5 Flash, Claude 3.5 Sonnet, and LLama3-70B—in converting Moroccan Darija to English. By employing the Levenshtein Distance to measure the similarity between original and translated texts, the study calculates the accuracy of each model, providing a quantitative basis for assessing their reliability and consistency. The chapter delves into the mean accuracy and standard deviation of each model’s translations, offering a comprehensive evaluation of their performance. Through detailed analysis and visualization of the distribution of translation accuracy, the study highlights the strengths and weaknesses of each model, offering valuable insights for researchers and practitioners. The findings underscore the importance of selecting the right model for effective translation, contributing to the ongoing development of more accurate and reliable machine translation technologies.

Dont have a licence yet? Then find out more about our products and how to get one now:

Springer Professional "Business + Economics & Engineering + Technology"

Online-Abonnement

Springer Professional "Business + Economics & Engineering + Technology" gives you access to:

  • more than 102.000 books
  • more than 537 journals

from the following subject areas:

  • Automotive
  • Construction + Real Estate
  • Business IT + Informatics
  • Electrical Engineering + Electronics
  • Energy + Sustainability
  • Finance + Banking
  • Management + Leadership
  • Marketing + Sales
  • Mechanical Engineering + Materials
  • Insurance + Risk


Secure your knowledge advantage now!

Springer Professional "Engineering + Technology"

Online-Abonnement

Springer Professional "Engineering + Technology" gives you access to:

  • more than 67.000 books
  • more than 390 journals

from the following specialised fileds:

  • Automotive
  • Business IT + Informatics
  • Construction + Real Estate
  • Electrical Engineering + Electronics
  • Energy + Sustainability
  • Mechanical Engineering + Materials





 

Secure your knowledge advantage now!

Springer Professional "Business + Economics"

Online-Abonnement

Springer Professional "Business + Economics" gives you access to:

  • more than 67.000 books
  • more than 340 journals

from the following specialised fileds:

  • Construction + Real Estate
  • Business IT + Informatics
  • Finance + Banking
  • Management + Leadership
  • Marketing + Sales
  • Insurance + Risk



Secure your knowledge advantage now!

Literature
This content is only visible if you are logged in and have the appropriate permissions.
Metadata
Title
Comparative Analysis of Large Language Models in Moroccan Darija Translation
Authors
Yassine El Kaneb
Mohcine Kodad
Copyright Year
2025
DOI
https://doi.org/10.1007/978-3-031-88653-9_21