This commit is contained in:
unknown
2025-08-04 16:20:59 -07:00
parent 3bcc897ff4
commit bd95cd20dd

View File

@@ -860,7 +860,7 @@ def get_sentences(text, lang, tts_engine):
cleaned = re.sub(r'[^\p{L}\p{N} ]+', '', s)
if not any(ch.isalnum() for ch in cleaned):
continue
sentences.append(text_part.strip())
sentences.append(f'{text_part.strip()}-')
return sentences
except Exception as e:
error = f'get_sentences() error: {e}'