Open francochen1987 opened 4 years ago
https://github.com/keithito/tacotron/blob/d26c763342518d4e432e9c4036a1aff3b4fdaa1e/text/numbers.py#L57 You need to replace dash character to space, too. _inflect.number_to_words(num, andword='', zero='oh', group=2).replace(', ', ' ').replace('-', ' ') Without that, 91 => ninety-one.
_inflect.number_to_words(num, andword='', zero='oh', group=2).replace(', ', ' ').replace('-', ' ')
https://github.com/keithito/tacotron/blob/d26c763342518d4e432e9c4036a1aff3b4fdaa1e/text/numbers.py#L57 You need to replace dash character to space, too.
_inflect.number_to_words(num, andword='', zero='oh', group=2).replace(', ', ' ').replace('-', ' ')
Without that, 91 => ninety-one.