Subjective improvements

This commit is contained in:
Julian WEBER 2020-09-29 14:20:52 +02:00
parent b2817e9e93
commit da134eeee4
1 changed files with 2 additions and 2 deletions

View File

@ -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':