A Context-Contrastive Inference Approach To Partial Diacritization

Muhammad ElNokrashy, Badr AlKhamissi
1/17/2024
cs.CLcs.LG

No confident code implementation found for this paper.

Abstract

Diacritization plays a pivotal role in improving readability and disambiguating the meaning of Arabic texts. Efforts have so far focused on marking every eligible character (Full Diacritization). Comparatively overlooked, Partial Diacritzation (PD) is the selection of a subset of characters to be marked to aid comprehension where needed. Research has indicated that excessive diacritic marks can hinder skilled readers -- reducing reading speed and accuracy. We conduct a behavioral experiment and show that partially marked text is often easier to read than fully marked text, and sometimes easier than plain text. In this light, we introduce Context-Contrastive Partial Diacritization (CCPD) -- a novel approach to PD which integrates seamlessly with existing Arabic diacritization systems. CCPD processes each word twice, once with context and once without, and diacritizes only the characters with disparities between the two inferences. Further, we introduce novel indicators for measuring partial diacritization quality, essential for establishing this as a machine learning task. Lastly, we introduce TD2, a Transformer-variant of an established model which offers a markedly different performance profile on our proposed indicators compared to all other known systems.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{elnokrashy2024contextcontrastive,
  title  = {A Context-Contrastive Inference Approach To Partial Diacritization},
  author = {Muhammad ElNokrashy and Badr AlKhamissi},
  year   = {2024},
  eprint = {2401.08919},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.08919v3}
}

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/2401.08919.svg)](https://codeofpaper.com/paper/2401.08919)

Discussion