You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When calling phonemize on an instance of EspeakBackend with the character "ꪁ", the backend enters a corrupted state where all succeeding phonemization (including in the sentence with "ꪁ") is incorrect.
Phonemizer version
Phonemizer 3.2.1
Espeak NG 1.50
System
Reproduced the bug both on Win10 and Ubuntu
To reproduce
from phonemizer.backend import EspeakBackend
texts = [
"a, b, c, d, e, f, p, w, y, z",
"ꪁ",
"a, b, c, d, e, f, p, w, y, z"
]
backend = EspeakBackend(
language="en-us", preserve_punctuation=True, with_stress=True,
language_switch="remove-flags", words_mismatch="ignore"
)
for text in texts:
print(backend.phonemize([text])[0])
Describe the bug
When calling
phonemize
on an instance ofEspeakBackend
with the character"ꪁ"
, the backend enters a corrupted state where all succeeding phonemization (including in the sentence with"ꪁ"
) is incorrect.Phonemizer version
Phonemizer 3.2.1
Espeak NG 1.50
System
Reproduced the bug both on Win10 and Ubuntu
To reproduce
Expected behavior
Expected output:
Actual output:
The text was updated successfully, but these errors were encountered: