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
@donand With the most recently merged PR, it's now possible to achieve what you're after by defining the punctuation with regular expressions.
The default marks are defined as the string ;:,.!?¡¿—…"«»“”
If instead you set the marks to the regular expression [;:!?¡¿—…"«»“”]|[,.](?!\d) commas and periods followed by a digit won't be treated as punctuation.
Describe the bug
The library does not transcribe commas and points inside numbers, but it considers them as normal punctuation.
Phonemizer version
System
To reproduce
Italian
English
Expected behavior
A clear and concise description of what you expected to happen.
Italian
English
Additional context
If I set
preserve_punctuation=False
the comma or the point inside the number is just dropped and not transcribed.The text was updated successfully, but these errors were encountered: