INNER CODE UNIT · Python

_arpabet_to_sequence

netease-youdao/EmotiVoice · text/__init__.py:75

def _arpabet_to_sequence(text):
    return _symbols_to_sequence(["@" + s for s in text.split()])


def _should_keep_symbol(s):
    return s in _symbol_to_id and s != "_" and s != "~"

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…