While this is definitely possible, implementing machine-learning just to detect swear-words is simply not worth the effort IMO... It's way easier to just report them, and the admins / mods would take care of the rest...cautiouspotato wrote:I'm thinking add a base dictionary of banned words, and then use machine learning and train it on that to learn to detect the typos.
I've no experience in machine learning but it should be possible to do something like that.
P.S. The mod already comes with simple pattern-matching capabilities (which would help in manually black-listing a few obvious typos)
CAUTION: Visit the above link only if you are above 18 years of ageWord lists
Filling the word list for the first time can be done by placing a words.txt file into the mod's folder. An example of such a words.txt can be found here: https://gist.github.com/rubenwardy/055a ... c54a7322e5