HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

CATT: Character-based Arabic Tashkeel Transformer

Faris Alasmary; Orjuwan Zaafarani; Ahmad Ghannam

CATT: Character-based Arabic Tashkeel Transformer

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}.

Code Repositories

abjadai/catt
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
arabic-text-diacritization-on-catt-datasetCBHG
DER(%): 10.808
WER (%): 42.680
arabic-text-diacritization-on-catt-datasetMultilevel Diacritizer
DER(%): 16.482
WER (%): 60.844
arabic-text-diacritization-on-catt-datasetCATT ED
DER(%): 8.624
WER (%): 34.191
arabic-text-diacritization-on-catt-datasetSakhr
DER(%): 13.841
WER (%): 56.661
arabic-text-diacritization-on-catt-datasetCommand R+
DER(%): 13.169
WER (%): 48.518
arabic-text-diacritization-on-catt-datasetShakkala
DER(%): 13.494
WER (%): 50.387
arabic-text-diacritization-on-catt-datasetGPT-4
DER(%): 9.515
WER (%): 38.311
arabic-text-diacritization-on-catt-datasetAlkhalil
DER(%): 14.232
WER (%): 53.413
arabic-text-diacritization-on-catt-datasetCATT EO
DER(%): 8.762
WER (%): 35.597

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
CATT: Character-based Arabic Tashkeel Transformer | Papers | HyperAI