Low-Resource and Endangered Languages › Transliteration and Script Normalisation

Michael BrenndoerferNovember 26, 20265 min read
Language AI HandbookAll chapters
Part 26 of 67Multilingual Language Models and Cross-Lingual Transfer
Chapter 187Low-Resource and Endangered Languages › Transliteration and Script Normalisation
Reading section 6 of 14 · Transliteration and Script Normalisation · 5 minSection 6 of 14 · 5 min

Section 6 of 14 · 5 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Transliteration is the conversion of text from one writing system to another. It sounds like a preprocessing detail. In practice it is one of the highest-leverage interventions available, and one of the easiest to get subtly wrong. The subtlety is what makes it dangerous. A botched transliteration does not crash; it quietly destroys information that the rest of the pipeline needed.

Three Terms That Get Confused

  • Transliteration maps graphemes to graphemes. A scheme can round-trip when it preserves source distinctions and its segmentation rules identify a unique inverse.
  • Transcription maps sounds to symbols. It aims to record pronunciation, which may not be recoverable from spelling.
  • Romanization specifies that the output is in Latin script. Choose a named scheme and version for the particular language. Evaluate which distinctions it preserves before designing an inverse.

The distinction matters when the output must round-trip. A transliteration scheme can preserve all source distinctions, while transcription can merge spellings that share a pronunciation. Romanization describes the output script and can follow either approach. Calling a transcription scheme a transliteration scheme can give downstream users the false expectation that they can recover the original spelling from its output.

Transliteration

Conversion of text from one writing system to another at the level of characters or character sequences, ideally preserving enough information to invert the mapping.

Why It Matters More Than It Sounds

Four situations recur.

Script mismatch between pretraining data and target text. A model with little exposure to Ethiopic-script text may handle romanized Amharic differently. Compare both forms on the same examples. A romanization can make familiar character sequences available to the tokenizer while collapsing distinctions present in the original, so check whether those distinctions matter for the task.

Multiple orthographies for one language. Kazakh appears in Cyrillic and Latin conventions. Inuktitut appears in syllabics and Latin, and Ainu in katakana and Latin. A model trained on one convention can underperform on another. Where a checked mapping preserves the distinctions the task needs, map both versions to the same writing convention and check whether the gap shrinks.

User-generated romanization. A Tunisian Arabizi corpus documents forms using 3 for ع, 7 for ح, and 9 for ق. Inspect examples from the population your application serves before carrying any of those mappings into its input policy. TArC corpus study.

Retrieval and matching. Literal token matching compares the indexed and query forms, so equivalent words written in different scripts can miss each other. You can expand a query with alternate spellings, index a converted form alongside the original, or use a representation shared across scripts. Test the approach on equivalent forms and on ambiguous forms that should return different results.

Methods

Rule-based tables are deterministic, fast, auditable, and require linguistic expertise to construct. For scripts with regular phonology they work extremely well. A table for a specific syllabics convention can handle the glyphs covered by that convention. The advantage of a table is that you can read it and see exactly what it does; the disadvantage is that it only covers what you thought to put in it.

Statistical grapheme-to-phoneme models. Train on aligned spellings and pronunciations. Evaluate unseen and rare patterns separately so frequent forms do not dominate the score.

Neural sequence-to-sequence conversion. A variable-length output model can condition its choices on the surrounding input. For name conversion, compare exact spellings and equivalent renderings under the chosen convention.

Unsupervised and zero-shot approaches. If the target conversion has no aligned training pairs, test whether a multilingual model can produce usable forms. Reserve a small manually checked set for that evaluation.

Choose a tool by the mapping you need. uroman maps text in many scripts into Latin letters. ICU Transforms provides configurable script-to-script transformations, including several Indic scripts. Epitran maps graphemes to phonemes for supported languages. Check the tool's language and script pair on your own examples before relying on it.

Ambiguity Is the Whole Problem

A table can give a deterministic mapping from a known syllabics convention to Latin. A raw reverse lookup can admit several segmentations when a consonant-vowel glyph and separate consonant and vowel symbols produce the same letters. Orthographic rules often rule out these alternatives. Use context when valid readings still compete, and keep enough information to recover the original string where that is a requirement.

Arabic and Hebrew often omit short-vowel marks in ordinary writing. The same unmarked spelling can then admit several readings. Check which information the original writing records before trying to recover it, and keep the original input alongside a proposed reading. Unicode Standard, Chapter 9.

This is not a preprocessing nuisance. It is a linguistic disambiguation problem, and solving it well requires the same machinery as language modeling: a distribution over candidate readings conditioned on context. Where the mapping is many-to-one, a table alone cannot recover which source form occurred. A converter can preserve ambiguity, use context, or ask the user to choose.

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!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy