NVIDIA / NeMo-text-processing

NeMo text processing for ASR and TTS
https://docs.nvidia.com/deeplearning/nemo/user-guide/docs/en/stable/nlp/text_normalization/wfst/wfst_text_normalization.html
Apache License 2.0
242 stars 76 forks source link

text field #152

Closed Jorjeous closed 3 months ago

Jorjeous commented 3 months ago

Describe the bug NeMo-text-processing/nemo_text_processing/text_normalization/normalize_with_audio.py", line 294, in normalize_line text=line["text"], KeyError: 'text'

A clear and concise description of what the bug is. Why it's hardcoded here?

How to fix: place text_field variable instead of "text"

Steps/Code to reproduce bug

Please list minimal steps or code snippet for us to be able to reproduce the bug.

A helpful guide on on how to craft a minimal bug report http://matthewrocklin.com/blog/work/2018/02/28/minimal-bug-reports.

Expected behavior

A clear and concise description of what you expected to happen.

Environment overview (please complete the following information)

Environment details

If NVIDIA docker image is used you don't need to specify these. Otherwise, please provide:

Additional context

Add any other context about the problem here. Example: GPU model

ekmb commented 3 months ago

fixed in https://github.com/NVIDIA/NeMo-text-processing/pull/153