CATT: Character-based Arabic Tashkeel Transformer

Faris Alasmary, Orjuwan Zaafarani, Ahmad Ghannam
7/3/2024
cs.CL

Official code: abjadai/catt (80 stars, Apache-2.0, last commit 2025-07-18).

Abstract

Tashkeel, or Arabic Text Diacritization (ATD), greatly enhances the comprehension of Arabic text by removing ambiguity and minimizing the risk of misinterpretations caused by its absence. It plays a crucial role in improving Arabic text processing, particularly in applications such as text-to-speech and machine translation. This paper introduces a new approach to training ATD models. First, we finetuned two transformers, encoder-only and encoder-decoder, that were initialized from a pretrained character-based BERT. Then, we applied the Noisy-Student approach to boost the performance of the best model. We evaluated our models alongside 11 commercial and open-source models using two manually labeled benchmark datasets: WikiNews and our CATT dataset. Our findings show that our top model surpasses all evaluated models by relative Diacritic Error Rates (DERs) of 30.83\% and 35.21\% on WikiNews and CATT, respectively, achieving state-of-the-art in ATD. In addition, we show that our model outperforms GPT-4-turbo on CATT dataset by a relative DER of 9.36\%. We open-source our CATT models and benchmark dataset for the research community\footnote{https://github.com/abjadai/catt}.

View on arXivView PDF

Code Implementations(1)

abjadai/cattOfficial100%
Apache-2.0

The official implementation of CATT Arabic diacritization models.

8013Shell, PythonJul 2, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{alasmary2024catt,
  title  = {CATT: Character-based Arabic Tashkeel Transformer},
  author = {Faris Alasmary and Orjuwan Zaafarani and Ahmad Ghannam},
  year   = {2024},
  eprint = {2407.03236},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2407.03236v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2407.03236.svg)](https://codeofpaper.com/paper/2407.03236)

Discussion