ttslearn.tacotron.frontend.text.sequence_to_text¶
-
ttslearn.tacotron.frontend.text.
sequence_to_text
(seq)[source]¶ Convert sequence of numbers to text
Examples
>>> from ttslearn.tacotron.frontend.text import sequence_to_text >>> sequence_to_text([1, 10, 7, 14, 14, 17, 39, 25, 17, 20, 14, 6, 2]) >>> ['^', 'h', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd', '$']