{"id":27166,"library":"nemo-text-processing","title":"NeMo Text Processing","description":"NVIDIA NeMo text processing toolkit for ASR and TTS, providing text normalization (TN) and inverse text normalization (ITN) for over 20 languages. Current version 1.1.0 (August 2024). Release cadence is irregular with minor version bumps every few months.","status":"active","version":"1.1.0","language":"python","source_language":"en","source_url":"https://github.com/nvidia/nemo-text-processing","tags":["nemo","text-normalization","inverse-text-normalization","asr","tts","wfn","pynini"],"install":[{"cmd":"pip install nemo-text-processing","lang":"bash","label":"PyPI install"}],"dependencies":[{"reason":"Optional dependency for full NeMo integration (audio, ASR pipeline)","package":"nemo-toolkit","optional":true},{"reason":"Required for WFST-based TN/ITN operations","package":"pynini","optional":false}],"imports":[{"note":"Incorrect deep import path (tn vs en)","wrong":"from nemo_text_processing.tn import NEMO_TN_EN","symbol":"NEMO_TN_EN","correct":"from nemo_text_processing.text_normalization.en.utils import NEMO_TN_EN"},{"note":"Direct import for English normalizer; else use NEMO_TN_EN or NEMO_ITN_EN","symbol":"Normalizer","correct":"from nemo_text_processing.text_normalization.normalize import Normalizer"},{"note":"Changed from text_normalization to utils in recent releases","wrong":"from nemo_text_processing.text_normalization import get_normalizer","symbol":"get_normalizer","correct":"from nemo_text_processing.utils import get_normalizer"}],"quickstart":{"code":"from nemo_text_processing.text_normalization.normalize import Normalizer\nnormalizer = Normalizer(input_case='cased', lang='en')\ntext = \"He was born on Dec 3rd, 1978.\"\nnormalized = normalizer.normalize(text, verbose=True)\nprint(normalized)\n# Output: \"He was born on December third, nineteen seventy eight.\"","lang":"python","description":"Basic text normalization using English normalizer"},"warnings":[{"fix":"Explicitly set input_case parameter.","message":"The normalizer expects input_case='cased' or 'lower_cased'; using default may produce unexpected results for certain texts.","severity":"gotcha","affected_versions":"all"},{"fix":"Update import to from nemo_text_processing.utils import get_normalizer","message":"In v1.0.0, the get_normalizer function moved from nemo_text_processing.text_normalization to nemo_text_processing.utils.","severity":"breaking","affected_versions":">=1.0.0"},{"fix":"Use conda install -c conda-forge pynini on Windows, or use a Linux environment.","message":"Normalization depends on pynini (WFST library). Installation issues on Windows or Python 3.12+ may cause runtime errors. For Windows, consider installing pynini from conda-forge.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Change import to: from nemo_text_processing.utils import get_normalizer","cause":"The function was moved to nemo_text_processing.utils in v1.0.0.","error":"ImportError: cannot import name 'get_normalizer' from 'nemo_text_processing.text_normalization'"},{"fix":"Install pynini via conda-forge or downgrade Python to 3.10/3.11.","cause":"Incompatible pynini version (e.g., pynini 2.1.6 with Python 3.12).","error":"pynini.Arc - no such symbol error during normalization"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}