Transliteration is the conversion of text from one writing system (script) into another, so that the same words are represented with different characters while their language and meaning stay unchanged. In Speech & language AI, part of artificial intelligence, transliteration models turn names, addresses and queries between scripts such as Cyrillic, Arabic, Devanagari and Latin, which makes multilingual search, input methods and entity matching possible.
Transliteration is distinct from translation, which changes the language, and from transcription, which records pronunciation. Modern systems combine rule-based romanization standards with neural sequence-to-sequence models that learn the many-to-many mappings between characters that real users produce.
How transliteration differs from translation and transcription
Transliteration answers the question how a word is written in another script, not what it means. The Russian name Чайковский becomes Chaikovsky or Tchaikovsky in Latin letters, but it remains a Russian name. Translation would replace a word with a different word, and phonetic transcription would describe sounds with a notation such as the International Phonetic Alphabet.
Practitioners also separate strict transliteration, which is reversible letter by letter, from practical romanization, which favors readability and accepts information loss. The table below contrasts the related operations that language systems often confuse.
| Operation | What changes | Example |
|---|---|---|
| Transliteration | Script only | Москва to Moskva |
| Translation | Language and words | Москва to Moscow |
| Phonetic transcription | Spelling to sound notation | Moskva to /mɐˈskva/ |
| Back-transliteration | Script, back to the original | Moskva to Москва |
| Grapheme-to-phoneme conversion | Letters to phoneme sequence | Text to speech input |
Standards and the many-to-many mapping problem
Formal transliteration relies on published schemes. Examples include ISO 9 for Cyrillic, ISO 233 for Arabic, Hepburn and Kunrei-shiki for Japanese kana, Pinyin for Mandarin, and IAST or ISO 15919 for Indic scripts. Each scheme defines a mapping table and conventions for diacritics, and several are designed to be fully reversible.
Real text rarely follows a single standard. One source character can map to several target sequences, and several sources can collapse into one target. Users typing Hindi on a Latin keyboard may write the same word in five spellings, so systems must handle informal or ad hoc romanization. The table below lists typical sources of ambiguity.
| Source of ambiguity | Example | Consequence for models |
|---|---|---|
| Missing vowels | Arabic and Hebrew abjads omit short vowels | Model must infer vowels from context |
| Competing standards | Tchaikovsky, Chaikovsky, Čajkovskij | Several correct outputs exist |
| Inherent vowel rules | Devanagari schwa deletion | Output depends on word structure |
| Logographic scripts | Chinese characters with many readings | Requires word-level reading choice |
| Loanwords and names | English names in Japanese katakana | Mapping follows sound, not spelling |
Because of this ambiguity, evaluation uses top-k accuracy and character error rate rather than exact-match accuracy alone, and test sets often accept several valid references.
How transliteration models work
Early systems used hand-written rules and finite-state transducers, which are fast and predictable but cover informal spellings poorly. Statistical approaches then learned character alignments with joint source-channel models and weighted transducers, scored by character n-gram language models.
Current systems treat transliteration as character-level sequence-to-sequence learning. Encoder-decoder models with attention, and later Transformer models, read the source characters and generate target characters one by one. Large multilingual language models can also transliterate with prompting, although they sometimes translate instead of transliterating or invent spellings for rare names.
| Approach | Strengths | Weaknesses |
|---|---|---|
| Rule-based tables | Deterministic, reversible, no data needed | Fails on informal input |
| Finite-state transducers | Fast, easy to constrain | Rules grow complex quickly |
| Statistical alignment models | Learn from name pairs | Limited context window |
| Neural seq2seq and Transformers | Handle context and variants | Need parallel data, may hallucinate |
| Large language models | Broad script coverage | Inconsistent, can translate by mistake |
Training data usually comes from parallel name lists, Wikipedia title pairs and logs of romanized typing. For low-resource languages, data augmentation through rule-based synthesis and transfer from related scripts is common practice.
Decoding strategy matters as much as architecture. Beam search returns a ranked list of candidates, which suits input methods and search, while constrained decoding against a dictionary of known names reduces invented spellings. Many deployed systems combine a neural model with a rule-based fallback for scripts or characters the model has rarely seen.
Where transliteration is used in language systems
Transliteration is rarely a product by itself; it is a component inside larger pipelines. Its typical uses are listed below, together with the design choice that matters most in each case.
| Application | Direction | Key design choice |
|---|---|---|
| Input method editors | Romanized to native script | Rank candidates by context |
| Cross-script search | Both directions | Normalize to one canonical form |
| Named entity matching | Native to Latin | Accept many spelling variants |
| Machine translation of names | Source to target script | Transliterate instead of translating names |
| Speech pipelines with code-switching | Mixed scripts to one script | Consistent output for downstream models |
In speech recognition for languages such as Hindi, transcripts often mix Devanagari with English words in Latin script. Normalizing everything to one script before computing word error rate prevents inflated error figures caused only by spelling choices.
Limitations and common mistakes
Most failures come from treating transliteration as a solved one-to-one lookup. The following issues appear repeatedly in production systems.
- Ignoring the target audience: a German reader expects Tschaikowski, an English reader expects Tchaikovsky.
- Losing reversibility: dropping diacritics makes back-transliteration ambiguous and can merge distinct names.
- Mixing standards in one database: inconsistent romanization breaks deduplication and search.
- Trusting language models blindly: they may substitute a known translation, such as Moscow for Moskva.
- Skipping Unicode normalization: composed and decomposed characters look identical but compare as different strings.
A sound engineering practice is to store the original script as the source of truth and generate transliterations on demand, recording which scheme produced each form. This keeps records auditable, allows a later switch of standards without data loss, and lets search systems index several variants of the same name while displaying the one that suits each reader. Regular evaluation on fresh user data is also essential, because informal spelling habits drift over time.
Put simply
Transliteration means writing the same word with a different alphabet. The word itself does not change. Only the letters change.
Think of a Greek street sign rewritten in Latin letters so that a visitor can read it aloud. The visitor still sees a Greek name, not an English one. Computers do the same thing when they turn Russian, Arabic or Hindi names into Latin letters, or the other way around. The hard part is that people spell things in many ways. A good system guesses the most likely spelling and accepts the others.
In practice
An online retailer in India receives many product searches typed in romanized Hindi, such as “kurta” spelled as “kurtaa” or “kurtha”, while its catalog lists items in both Devanagari and English. Exact keyword matching misses a large share of these queries, and customers see empty result pages.
The search team adds a Transformer-based transliteration model trained on query logs and catalog title pairs. Each query is converted into its top three Devanagari candidates, and all variants are mapped to a canonical form in the index. After launch, the share of queries with zero results drops noticeably, and the team monitors top-3 accuracy on a held-out name list to catch regressions before each model update.