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
When a capitalized word is followed by two periods, edge-tts will often assume the word is an acronym and expand it to the full word. This has been annoying in cases where the author used two periods as an ellipsis which I've seen a lot.
Example: edge-tts --text "Young Miss.. why are you like this?" --write-media example1.mp3
Output audio: "Young Mississippi why are you like this?
Example2: edge-tts --text "Mr. Sun.. he is quite reliable." --write-media example2.mp3
Output audio: "Mr. Sunday he is quite reliable.
Workaround
Replace all instances of two-period ellipsis with three-period ellipsis:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
When a capitalized word is followed by two periods, edge-tts will often assume the word is an acronym and expand it to the full word. This has been annoying in cases where the author used two periods as an ellipsis which I've seen a lot.
Example:
edge-tts --text "Young Miss.. why are you like this?" --write-media example1.mp3
Output audio: "Young Mississippi why are you like this?
Example2:
edge-tts --text "Mr. Sun.. he is quite reliable." --write-media example2.mp3
Output audio: "Mr. Sunday he is quite reliable.
Workaround
Replace all instances of two-period ellipsis with three-period ellipsis:
Then apply fix_ellipsis() to the text before sending it to edge_tts.
I didn't create an issue since the acronym expansion seems to occur beyond the scope of this library.
Beta Was this translation helpful? Give feedback.
All reactions