How to Normalize Dates in Text: Resolve Ambiguity Before Formatting
Date normalization converts a written or spoken date into a consistent representation. First resolve what the speaker meant; only then format it for a locale. An ambiguous string such as 03/04/2025 should not be silently interpreted without context.
Date normalization maps a date expression to a structured value or a consistent written form. In speech systems, text normalization (TN) usually turns written forms into what a speaker would say for TTS; inverse text normalization (ITN) turns recognized spoken forms into readable text after ASR. These are related but opposite directions.
Use this order: identify the task and language/locale; extract the fields actually present; use nearby context or audio to resolve order and omitted fields; validate the calendar date; then choose a storage or display form. For example, “the fourth of May 2025” can be represented as 2025-05-04 once that interpretation is supported. “03/04/2025” is ambiguous across date conventions, so do not guess. “May fifth” has no stated year; preserve it as a partial date or keep the original text rather than inventing one.
Keep the original expression alongside the normalized value so a person can review uncertain cases. Distinguish an invalid date from an incomplete one, and preserve uncertainty when the transcript or context cannot settle it. If the output is a date and time, capture the time zone separately when known; a date alone does not specify one.
Store an unambiguous date in a stable structured form, then format it for readers using locale data. Unicode CLDR defines locale-sensitive date patterns and calendar data; it is a formatting/parsing resource, not a reason to infer the meaning of ambiguous speech. Test examples from each target locale, including numeric dates, month names, missing years, leap days, and alternate calendars.
References
NVIDIA NeMo, [Text (Inverse) Normalization](https://docs.nvidia.com/nemo-framework/user-guide/25.02/nemotoolkit/nlp/text_normalization/wfst/wfst_text_normalization.html)
Unicode, [UTS #35: CLDR Part 4 — Dates](https://www.unicode.org/reports/tr35/tr35-dates.html)