jtojnar / pengu

MIT License
2 stars 1 forks source link

Profanity filter #15

Open jtojnar opened 10 years ago

jtojnar commented 10 years ago

Yeah, our users can't keep their mouth shut.

mv100 commented 10 years ago

I guess this should apply to names, too. I've just seen this: pengu_profanity

jtojnar commented 10 years ago

Some interesting links: http://mujweb.cz/ksulli/nadavky.htm https://github.com/shutterstock/List-of-Dirty-Naughty-Obscene-and-Otherwise-Bad-Words http://unicode.org/reports/tr15/ might be overkill, maybe some dictionary would suffice Plus https://github.com/FGRibreau/node-unidecode

mv100 commented 10 years ago

Reminds me of second post here: http://forum.fan-club-penguin.cz/viewtopic.php?f=9&t=448&start=10

mv100 commented 10 years ago

I think we should move this to milestone 1.0.0, another user (Klofoun) just used swear words. Depends on #32.

jtojnar commented 10 years ago

I thought I mentioned it but it is still quite difficult to design a working filter. See http://blog.codinghorror.com/obscenity-filters-bad-idea-or-incredibly-intercoursing-bad-idea/

You can either filter whole words out but when you for example put a whitespace between them it will bypass the filter.

Moderation tools (#35) will be needed as well.

mv100 commented 10 years ago

Yup. Maybe we could make just a basic filter for 1. pád of the word with spaces around it? ("profanity") What happened on Pengu, by the way?

jtojnar commented 10 years ago

We are disabling it until we develop #15 and #35.

jtojnar commented 9 years ago

https://twitter.com/_screenhog/status/652690345398898688