NVIDIA / NeMo

A scalable generative AI framework built for researchers and developers working on Large Language Models, Multimodal, and Speech AI (Automatic Speech Recognition and Text-to-Speech)
https://docs.nvidia.com/nemo-framework/user-guide/latest/overview.html
Apache License 2.0
11.95k stars 2.48k forks source link

Can't Install nemo_text_processing #2083

Closed mschonwe closed 3 years ago

mschonwe commented 3 years ago

I'm following the instruction in https://github.com/NVIDIA/NeMo/blob/main/tutorials/text_processing/Text_Normalization_Tutorial.ipynb

Running code on a docker container nvcr.io/nvidia/nemo:1.0.0rc1

There are no errors when running the suggested install code:

BRANCH = 'main'
!python -m pip install git+https://github.com/NVIDIA/NeMo.git@$BRANCH#egg=nemo_toolkit[nlp]

Many lines of Requirement already satisfied:...

However, the import nemo_text_processing fails:

ModuleNotFoundError: No module named 'nemo_text_processing'
yzhang123 commented 3 years ago

@mschonwe we changed a few things regarding normalization since 1.0.0rc. please refer to RC tutorial https://github.com/NVIDIA/NeMo/blob/r1.0.0rc1/tutorials/tools/Text_Normalization_Tutorial.ipynb which is tested to work in nvcr.io/nvidia/nemo:1.0.0rc1.

mschonwe commented 3 years ago

Thank you. Got it working following the updated tutorial.

yzhang123 commented 3 years ago

@mschonwe we will be soon changing text normalization to WFST just like inverse text normalization, just FYI