Open comodoro opened 6 months ago
I have just used the original repo, the exceptions are
Failed to convert number 22 to words for language cs-cz
Traceback (most recent call last):
File "/home/vojta/tts/venv/lib/python3.10/site-packages/gruut/text_processor.py", line 2086, in _verbalize_number
num_str = num2words(final_num, **num2words_kwargs)
File "/home/vojta/tts/venv/lib/python3.10/site-packages/num2words/__init__.py", line 91, in num2words
raise NotImplementedError()
NotImplementedError
Failed to convert number 22 to words for language cs-cz
Traceback (most recent call last):
File "/home/vojta/tts/venv/lib/python3.10/site-packages/gruut/text_processor.py", line 2086, in _verbalize_number
num_str = num2words(final_num, **num2words_kwargs)
File "/home/vojta/tts/venv/lib/python3.10/site-packages/num2words/__init__.py", line 91, in num2words
raise NotImplementedError()
NotImplementedError
Failed to convert number 1963 to words for language cs-cz
Traceback (most recent call last):
File "/home/vojta/tts/venv/lib/python3.10/site-packages/gruut/text_processor.py", line 2086, in _verbalize_number
num_str = num2words(final_num, **num2words_kwargs)
File "/home/vojta/tts/venv/lib/python3.10/site-packages/num2words/__init__.py", line 91, in num2words
raise NotImplementedError()
NotImplementedError
[...]
"CZ" is wrong, it should be replaced. Done in #587.
Fixes # by...
Changes proposed in this pull request:
Add Czech language ISO code cs to converter classes For compatibility at least with gruut
Status
How to verify this change
Additional notes
I am playing witn Coqui TTS and getting
NotImplementedError
because of this