Are LLMs Good Text Diacritizers? An Arabic and Yorùbá Case Study
Toyin, Hawau Olamide, Magdy, Samar M., Aldarmaki, Hanan
–arXiv.org Artificial Intelligence
We investigate the effectiveness of large language models (LLMs) for text diacritization in two typologically distinct languages: Arabic and Yoruba. To enable a rigorous evaluation, we introduce a novel multilingual dataset MultiDiac, with diverse samples that capture a range of diacritic ambiguities. We evaluate 14 LLMs varying in size, accessibility, and language coverage, and benchmark them against 6 specialized diacritization models. Additionally, we fine-tune four small open-source models using LoRA for Yoruba. Our results show that many off-the-shelf LLMs outperform specialized diacritization models for both Arabic and Yoruba, but smaller models suffer from hallucinations. Fine-tuning on a small dataset can help improve diacritization performance and reduce hallucination rates.
arXiv.org Artificial Intelligence
Jun-16-2025
- Country:
- Africa
- Asia
- China > Hong Kong (0.04)
- Indonesia > Bali (0.04)
- Middle East
- Jordan (0.04)
- Saudi Arabia > Asir Province
- Abha (0.04)
- Europe
- Monaco (0.04)
- Spain (0.04)
- Switzerland > Basel-City
- Basel (0.04)
- Genre:
- Research Report > New Finding (0.86)
- Technology: