Spaces:
Runtime error
Runtime error
''' | |
Defines the set of symbols used in text input to the model. | |
''' | |
# chinese_cleaners | |
_pad = '_' | |
_punctuation = 'οΌ,γοΌοΌββ¦' | |
_letters = 'γ γγγγγγγγγγγγγγγγγγγγγγγγγγγ γ‘γ’γ£γ€γ₯γ¦γ§γ¨γ©ΛΛΛΛΛ ' | |
# Export all symbols: | |
symbols = [_pad] + list(_punctuation) + list(_letters) | |
# Special symbol ids | |
SPACE_ID = symbols.index(" ") | |