Open JGulbronson opened 8 years ago
You might find this useful :) https://github.com/Khan/profanity-tools/blob/master/blacklist.txt
We could also just hide them all by default to be on the safe side (and us not having to make a quick decision while there's an offensive review out)
Hmm, @jlfwong link seems dead, and I couldn't find the repo on Khan's organization page
This one is slightly better. It has profanities from various languages. https://github.com/shutterstock/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words
Oh heh, that repository is private, my bad. The shutterstock one looks like a good alternative. There are a few words in there I can see being used in a reasonable, constructive context, but I suspect they'd be rare enough that we don't care too much.
A simple check for certain swear words should suffice at the start. Then a notification can be sent to an
@flow
email, and the review can be inspected to determine if it should be deleted.