mirror of https://github.com/coqui-ai/TTS.git
Subjective improvements
This commit is contained in:
parent
b2817e9e93
commit
da134eeee4
|
@ -70,9 +70,9 @@ def remove_aux_symbols(text):
|
|||
def replace_symbols(text, lang='en'):
|
||||
text = text.replace(';', ',')
|
||||
text = text.replace('-', ' ')
|
||||
text = text.replace(':', ' ')
|
||||
text = text.replace(':', ',')
|
||||
if lang == 'en':
|
||||
text = text.replace('&', 'and')
|
||||
text = text.replace('&', ' and ')
|
||||
elif lang == 'fr':
|
||||
text = text.replace('&', ' et ')
|
||||
elif lang == 'pt':
|
||||
|
|
Loading…
Reference in New Issue