snakers4 / silero-models

Silero Models: pre-trained speech-to-text, text-to-speech and text-enhancement models made embarrassingly simple
Other
5k stars 316 forks source link

TTS does not pronounce the numbers #220

Closed SonosInc closed 1 year ago

SonosInc commented 1 year ago

Hello! TTS does not pronounce the numbers on the ru_v3 model, it simply skips. Are there any problems with this? Thank you!

snakers4 commented 1 year ago

There is no text normalization module built-in.

S-trace commented 1 year ago

Try my https://github.com/S-trace/silero_tts_standalone script - it contains some basic text normalization including numbers-to-text conversion for Russian language with https://github.com/seriyps/ru_number_to_text You can use any number-to-text module for any language with this script - just change spell_digits() function.