security-live / tts.bot

tts.bot
17 stars 6 forks source link

[Feature Request] Filter Badwords #28

Open kanimaru opened 6 months ago

kanimaru commented 6 months ago

Hi just an Idea to have a badword filter and stop them from speaking when detected.

johnebgood commented 5 months ago

This is a hard problem to solve, if there are specific bad words you want to filter that can be done with Twitch auto mod. The AWS translator has a bad word filter mask that can be enabled. Blocking words that sound like bad words can be done with an LLM like ChatGPT but there's no way to account for all the phonetic ways to say something without some sort of "intelligence". I am going to add the ability to not speak certain terms and an option to enable the translator filter. Will update this when I implement that.

kanimaru commented 5 months ago

I can't remember but there was a sentence in a language that twitch doesn't automoderate that got translated and TTS sayed something really bad on stream.