3 ms·
Totally open for suggestion on how to fix this - right now I'm using regex and a list of "profane" words, so nothing too fancy. But I'm interested in looking in
by gmemstr 9y ago
Totally open for suggestion on how to fix this - right now I'm using regex and a list of "profane" words, so nothing too fancy. But I'm interested in looking into solutions for this problem.
- eesmith 9y agoThere is no easy solution. Look at that TVTropes page for a long list of failure cases. This approach is at least 20 years old. Others have worked on it. Try investigating one or more of https://github.com/topics/profanity https://github.com/topics/profanity .