10/07/2009
I’ve been meaning to do this for a long time. Now there’s a “work-safe, kinda politically correct-ish, but I still wouldn’t show your granny if I were you” option, which ignores certain words and patterns. This required splitting the vocabulary into safe-for-work and not-safe-for-work sets — a harrowing process, to say the least.
As a bonus, here’s a snippet from the updated codebase:
nsfw = {
...
'bodypart': [
'arse; ~s',
'boob; tits',
'butt; ~s',
'dong; ~s',
'penis; ~es',
'vagina; ~s',
'weiner; ~s',
],
...
}
Photo posted at 17:31