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 translating reddit entries with the % sign, the character is removed.
Describe the solution you'd like
Please add something like this to voice.py:
# remove any urls from the text
regex_urls = r"((http|https)\:\/\/)?[a-zA-Z0-9\.\/\?\:@\-_=#]+\.([a-zA-Z]){2,6}([a-zA-Z0-9\.\&\/\?\:@\-_=#])*"
result = re.sub(regex_urls, " ", text)
result = result.replace("%", " percent ")
this will result in the % being read out by the TTS.
Describe alternatives you've considered
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
I used that on the Streamlabs TTS because it takes something like: "47% of people" and reads it out as "47 of people". by changing "%" to the word "percent" it will actually read out the word "percent"
I would think this applies to all of the TTS engines...
I used that on the Streamlabs TTS because it takes something like: "47% of people" and reads it out as "47 of people". by changing "%" to the word "percent" it will actually read out the word "percent"
I would think this applies to all of the TTS engines...
Thanks for your quick reply! I think this needs to be in the TTS/engine_wrapper.py. I will take a look at it later
Summary
Add replace for % sign
Is your feature request related to a problem?
When translating reddit entries with the % sign, the character is removed.
Describe the solution you'd like
Please add something like this to voice.py:
this will result in the % being read out by the TTS.
Describe alternatives you've considered
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: