diff --git a/lib/core.py b/lib/core.py index 4e501a1d..b7e548eb 100644 --- a/lib/core.py +++ b/lib/core.py @@ -1565,11 +1565,6 @@ def normalize_text(text:str, lang:str, lang_iso1:str, tts_engine:str)->str: # remove unwanted chars chars_remove_table = str.maketrans({ch: ' ' for ch in chars_remove}) text = text.translate(chars_remove_table) - # replace double quotes by a comma if no punctuation precedes it - text = re.sub(r'\s+"', '"', text) - text = re.sub(r'(?