keithito/tacotron

Number conversion issue

francochen1987 opened this issue · 0 comments

return _inflect.number_to_words(num, andword='', zero='oh', group=2).replace(', ', ' ')

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.