Number normalization: Read and write numbers in context
Learn why number type, language, locale, and value preservation matter when normalizing numbers for speech.
Number normalization: Read and write numbers in context
Number normalization converts a numeric expression into a context-appropriate spoken or written form. In speech recognition, “twenty twenty-four” might be written as the year “2024” or the quantity “2,024”; in speech synthesis, 2024 must be verbalized. Changing the value can alter meaning far more than an awkward spelling, so define the use, language, and context first.
Context changes number forms
A number may be a cardinal, ordinal, year, phone number, decimal, fraction, amount, or measurement. The string “2024” could be a year or a quantity. In inflected languages, the following noun may require number words to change grammatical form. A dictionary or rule that sees only the digits can miss the form needed in the sentence.
Unicode CLDR distinguishes types such as cardinal, ordinal, and year spellout, and notes that some languages need grammatical gender or agreement. Locale symbols and number-name rules alone therefore do not settle every context. Unicode CLDR, Numbers
A reliable workflow
Define direction: written-to-spoken normalization (TN) for speech synthesis, or spoken-to-written inverse normalization (ITN) for ASR. Collect examples for the intended use.
Specify supported classes: cardinals, ordinals, years, times, phone numbers, decimals, fractions, currency, and units. Do not treat digit-by-digit phone readings as quantities.
Include sentence context and locale: nearby nouns, grammatical inflection, decimal/group separators, currency and date conventions.
Check value preservation separately from grammatical fluency. A Russian number-normalization study reports cases where a model produced grammatical morphology but the wrong numeric value. [Gorman & Sproat (2016)](https://aclanthology.org/Q16-1036/)
Build representative tests with real contexts, large values, leading zeros, boundary cases, decimals, and dates. An Icelandic study found that testing on text where number names had been converted to digits did not represent text that originally contained digits. [Nikulásdóttir & Guðnason (2019)](https://www.isca-archive.org/interspeech_2019/nikulasdottir19_interspeech.html)
Track value changes, separator confusion, date order, and lost phone digits. Route low-confidence, high-impact cases to audio, source text, or human review.
A good result must preserve the intended value, distinguish a year from a count or rank, and follow local conventions. High scores on an unrepresentative test set can overstate real performance. Label evaluation examples by number class and locale, add automated checks for unintended value changes, and retain the original input so errors can be traced and safely corrected.
References
[Unicode CLDR, Numbers](https://www.unicode.org/reports/tr35/tr35-numbers.html)
[Gorman & Sproat (2016)](https://aclanthology.org/Q16-1036/)
[Nikulásdóttir & Guðnason (2019)](https://www.isca-archive.org/interspeech_2019/nikulasdottir19_interspeech.html)