Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
from .ipa_to_xvaarpabet import ALL_SYMBOLS | |
# import text_prep.phonecode_tables | |
from .text_preprocessing import get_text_preprocessor | |
lang_names = { | |
"am": "Amharic", | |
"ar": "Arabic", | |
"da": "Danish", | |
"de": "German", | |
"el": "Greek", | |
"en": "English", | |
"es": "Spanish", | |
"fi": "Finnish", | |
"fr": "French", | |
"ha": "Hausa", | |
"hi": "Hindi", | |
"hu": "Hungarian", | |
"it": "Italian", | |
"jp": "Japanese", | |
"ko": "Korean", | |
"la": "Latin", | |
"mn": "Mongolian", | |
"nl": "Dutch", | |
"pl": "Polish", | |
"pt": "Portuguese", | |
"ro": "Romanian", | |
"ru": "Russian", | |
"sw": "Kiswahili", | |
"sv": "Swedish", | |
"th": "Thai", | |
"tr": "Turkish", | |
"uk": "Ukrainian", | |
"vi": "Vietnamese", | |
"wo": "Wolof", | |
"yo": "Yoruba", | |
"zh": "Chinese Mandarin", | |
} |