Low-Resource and Endangered Languages › Worked Example: One Skeleton, Three Readings
Language AI HandbookAll chapters Consider the Arabic root k-t-b, written with the consonants ك ت ب. Without vowel diacritics, the same three-letter skeleton carries several distinct words.
| Vocalised | Romanisation | Gloss | Skeleton |
|---|---|---|---|
| كَتَبَ | kataba | he wrote | كتب |
| كُتِبَ | kutiba | it was written | كتب |
| كُتُب | kutub | books | كتب |
The three example words share one written form. Surrounding syntax can indicate whether كتب is a verb or a noun, and sentence context can favor a reading such as 'he wrote', 'it was written', or 'books'. The reader's knowledge of Arabic supplies the prior that the skeleton alone does not carry.
Stripping vowel marks is a normalization step within the Arabic script. Applied to these examples, it merges three written forms into one. The stripped string alone cannot identify which marked form was present. If the task needs that distinction, test whether keeping the marks or using context helps. If the task treats the three forms alike, it can use the shared spelling.
Take a string with exactly character positions. Give each position independent binary choices for omitted distinctions. The number of raw assignments in this toy model is:
where:
- : the modelled number of independent binary choices per character, for example whether a hypothetical mark is present
- : the length of the string in characters
- : the number of raw assignments before spelling or context rules out candidates in the toy model
In practice strong priors shrink this dramatically, but the point stands: the candidate lattice is large, and choosing among candidates is a modeling problem, not a table lookup.
The growth is easier to see than to state. The heatmap below plots the log of the upper bound from the formula for modest values of and .
PythonIn [4]Expand
import numpy as np
omitted_distinctions = np.arange(1, 5)
word_lengths = np.arange(2, 10)
candidate_log10 = (
omitted_distinctions[:, None] * word_lengths[None, :] * np.log10(2.0)
)VisualizationOut [5]Expand

Two practical consequences follow:
- Check whether your chosen mapping preserves the distinctions that matter for the task. A deterministic forward conversion can still lose information. An inverse can use spelling rules to narrow the candidates, and context can help where multiple legal forms remain.
- Evaluate transliteration with multiple references. Character error rate against a single reference punishes a system for choosing a different, equally valid reading. Where ambiguity is real, report the fraction of outputs matching any acceptable reference, and sample a few hundred outputs for human review. A system that gets the "right" reading 70% of the time and a valid reading 95% of the time is better than its single-reference score suggests.
The code section implements a deterministic syllabics-to-Latin table and an Arabic diacritic stripper. The first demonstrates a rule-governed conversion. The second demonstrates a collision that no inverse can undo from the stripped word alone.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!