Glossary
Inverse text normalization (ITN)
Inverse text normalization (ITN) is the step that converts a speech recognizer's spoken-form output into written form, so that 'two hundred' becomes 200. It changes how the text reads, not which words the recognizer heard.
Updated October 17, 20264 cited facts, each traced to its source
Also called ITN.
Inverse text normalization (ITN) is a post-processing step in speech recognition. A recognizer hears your words and writes them the way they were spoken. ITN then rewrites that spoken form as written form. The NVIDIA NeMo team defines it as conversion of "spoken-domain automatic speech recognition (ASR) output into written-domain text to improve the readability of the ASR output" 1.
What ITN changes
Speech has no digits, capitals or symbols, so a recognizer that writes only what it hears produces text like this:
- "two hundred" becomes 200. Azure AI Speech's display text applies this conversion, for example 200 for two hundred 2.
- "three thirty p m" can become 3:30 p.m.
- "doctor smith" can become "Dr. Smith", so a title keeps the written style of a document.
The same spoken words can have more than one written form, so a good ITN system uses the context around them.
How ITN is built
There are two main approaches, and many production systems combine them.
| Approach | How it works | Trade-off |
|---|---|---|
| Rule-based grammars | Hand-written rules, often weighted finite-state transducers, map spoken patterns to written ones | Predictable and easy to audit, but each language needs someone to write the rules |
| Neural sequence-to-sequence models | A transformer learns the mapping from examples | Learns from data rather than hand-written rules, but its errors are harder to predict |
The NeMo paper explains why rules still dominate many systems. Many state-of-the-art ITN systems use hand-written weighted finite-state transducer grammars, because the task has extremely low tolerance to unrecoverable errors 3. A wrong conversion can change the meaning of a sentence, such as a dose, a price or a date. Neural alternatives exist too. A 2021 paper on neural ITN uses transformer sequence-to-sequence models, and it adds a hybrid framework that pairs the neural model with a finite-state transducer to overcome common recoverable errors in production.
Why it matters for dictation
When you dictate into a document, ITN decides how the text looks on screen:
- Numbers and dates are the most visible change. See how to dictate numbers, dates and symbols for the spoken forms that work when a system leaves a number in words.
- Punctuation and capitals often come from a separate step. Spoken punctuation and automatic punctuation do related work, so check which step produced a given change.
- Errors can look like meaning changes. Read the output before you send it, especially amounts, codes and dates.
ITN also affects how accuracy is measured. A word error rate can depend on whether numbers are written as words or digits. Kacprzak and Fraś conclude that without number normalization, a comparison between two recognizers can be misleading 4. When two accuracy numbers come from different tests, check whether either one applied the same conversion. The guide on how accurate speech recognition is explains how test setups change the result.
Custom words and ITN
ITN works on the words the recognizer already produced, so it cannot fix a name that was misheard. A custom vocabulary helps the recognizer choose the right words first.
Format problem or recognition problem?
When dictated text looks wrong, first check what was said. If the words are right but the form is wrong, such as "twenty five" where you wanted 25, the problem is in formatting, and the fix may be a setting or a spoken command. If the words are wrong, such as "fifteen" heard for "fifty", the problem is in recognition, and formatting cannot repair it. A short test passage with numbers, dates and a name you use often shows which step needs attention.
Related terms
- Automatic speech recognition (ASR): the recognizer whose spoken-form output ITN converts.
- Word error rate (WER): the accuracy measure that normalization choices can change.
- Automatic punctuation: punctuation added to the text, often as a neighboring step.
- Custom vocabulary: word lists that help recognition before formatting.
Guides that cover it
Evidence
Every number on this page, with where it comes from. Open a fact to see the exact words in its source.
- 1.
- 2.
- 3.
- 4.
Related terms
- Speech Recognition: What It Is and How Well It WorksThe topic this term belongs to
- Acoustic model
- Automatic speech recognition (ASR)
- Conformer
- Connectionist temporal classification (CTC)
- Hidden Markov model (HMM)
- Language model (in speech recognition)
- LibriSpeech
- Mel spectrogram
- Real-time factor (RTF)
- RNN transducer (RNN-T)
- Speaker diarization
- Voice activity detection (VAD)
Pages that use this term
- Speech Recognition: What It Is and How Well It WorksTopic
- How Speech Recognition Works, From Sound to TextGuide
- Word Error Rate (WER): How to Calculate and Read ItGuide
- Open-Source Speech Recognition: The Best ModelsGuide
- Speech Recognition Benchmarks and LeaderboardsGuide
- Deepgram: Speech-to-Text API Price and AccuracyGuide
- Why does talk to text censor words?Question
- Language model (in speech recognition)Glossary
- Word error rate (WER)Glossary