Inverse text normalization: Turn speech transcripts into written form
Learn how ITN formats ASR output, where its limits lie, and how to validate language-specific rules.
Inverse text normalization: Turn speech transcripts into written form
Inverse text normalization (ITN) converts the spoken-form tokens produced by speech recognition into readable written forms. For example, “twenty percent” may become “20%,” and “five thirty p.m.” may become “5:30 PM.” ITN changes formatting; it must not repair recognition errors or invent omitted meaning.
Scope and boundaries
Text normalization (TN) usually converts written form to spoken form; ITN goes the other way. It may format numbers, dates, times, currencies, units, addresses, and abbreviations. Apple’s research describes assigning edit labels to input tokens and applying grammars where needed, rather than relying on simple word-by-word replacement. Apple Machine Learning Research (2017)
ITN operates on recognized words. If ASR mistakes “fifteen” for “fifty,” formatting cannot recover what was actually spoken. Ambiguous quantities may have several written forms, and separators, currency placement, and date order differ by locale. Keep raw and normalized transcripts separate and state the target language and regional conventions.
A safe implementation workflow
List the expression types, languages, and locales you support; start with a bounded scope.
Build spoken/written pairs from representative ASR output, including colloquial and ambiguous cases. Rules and models are limited by their grammar and training coverage. NeMo’s research notes that ITN is language-dependent and spoken-form data may be scarce. [Zhang et al. (2021)](https://research.nvidia.com/labs/conv-ai/publications/2021/2021-nemo-itn/)
Transform only when evidence is clear. Preserve or flag ambiguous and unsupported spans. Be especially cautious with amounts, schedules, and addresses.
Test each language and locale separately, including real ASR outputs that were not used to build the rules.
Classify errors by value, date/time boundaries, symbols, spacing, and punctuation. Separate ASR recognition errors from ITN errors.
Store the source, output, and rule/model version so changes can be reviewed and rolled back.
Avoid changing a number’s value, guessing a currency or unit, or applying the wrong decimal/grouping convention. ITN is a constrained conversion to a corresponding written form, not free-form rewriting. Keep audio and raw ASR available for high-impact cases, and label which transcript version downstream translation, summaries, or commands consume.
References
[Apple Machine Learning Research (2017)](https://machinelearning.apple.com/research/inverse-text-normal)
[Zhang et al. (2021)](https://research.nvidia.com/labs/conv-ai/publications/2021/2021-nemo-itn/)
[Pusateri et al. (Interspeech 2017)](https://www.isca-archive.org/interspeech_2017/pusateri17_interspeech.html)