Open Askaholic opened 3 years ago
These are probably the 2 most sophisticated python libraries out there for detecting profanity: https://pypi.org/project/profanity-filter/ https://github.com/vzhou842/profanity-check
Other libraries are mostly just simple word lists.
https://forum.faforever.com/topic/1853/hate-hate/
We should be able to do at least some very basic automated profanity (really bigotry and racism are what we care about) checking to help out the moderators. Obviously we can’t catch everything, but then again, neither can the mods by themselves.
I suggest we have a word list of “bad” words (can probably be obtained online easily), and we generate moderation reports automatically whenever someone hosts a game containing any of these words. We need to be careful not to overwhelm the mods with reports though, so we need to make sure the feature can be disabled easily, or has some sort of a rate limit.
Words could also be censored in game titles but that might do more harm than good as people will learn how to avoid the profanity checker that way.