text

from https://github.com/keithito/tacotron

Functions

text_to_sequence(text, symbols, cleaner_names)

Converts a string of text to a sequence of IDs corresponding to the symbols in the text.

Package Contents

text.text_to_sequence(text, symbols, cleaner_names)[source]

Converts a string of text to a sequence of IDs corresponding to the symbols in the text.

Parameters:
  • text – string to convert to a sequence

  • cleaner_names – names of the cleaner functions to run the text through

Returns:

List of integers corresponding to the symbols in the text