MahmoudAshraf97 / ctc-forced-aligner

Text to speech alignment using CTC forced alignment
92 stars 17 forks source link

AssertionError: uroman not found #15

Closed yuanquderzi closed 3 weeks ago

yuanquderzi commented 1 month ago

  File "/workspace/diarize.py", line 145, in <module>
    tokens_starred, text_starred = preprocess_text(
  File "/usr/local/lib/python3.10/site-packages/ctc_forced_aligner-0.2-py3.10-linux-x86_64.egg/ctc_forced_aligner/text_utils.py", line 214, in preprocess_text
    tokens = get_uroman_tokens(norm_text, language)
  File "/usr/local/lib/python3.10/site-packages/ctc_forced_aligner-0.2-py3.10-linux-x86_64.egg/ctc_forced_aligner/text_utils.py", line 157, in get_uroman_tokens
    assert os.path.exists(
AssertionError: uroman not found```
MahmoudAshraf97 commented 1 month ago

can you try installing again and use --force-reinstall option?

yuanquderzi commented 1 month ago

can you try installing again and use --force-reinstall option?

Which package should be reinstalled?

MahmoudAshraf97 commented 1 month ago
pip install git+https://github.com/MahmoudAshraf97/ctc-forced-aligner.git --force-reinstall
yuanquderzi commented 1 month ago
pip install git+https://github.com/MahmoudAshraf97/ctc-forced-aligner.git --force-reinstall

Thank you, the method you provided is feasible!!!!!!!