Live data from Hacker News

Show HN: A naive classifier to figure out if a sentence contains dirty words

github.com

11–12 of 12 posts

Re: Show HN: A naive classifier to figure out if a sentence contains dirty words

#11
post #8
post #6

Earlier quoted context omitted.

I'm gay, but I don't consider it offensive that the word is in there. A lot of people use the term "gay" in conversation as a synonym for "that sucks"; a friend of mine does it all the time. I don't think they mean anything by it. To differentiate between "I am gay," and "Oh that's gay. I'm sorry that happened," you'd need a NLP with a politeness preference.

Sorry, no offense intended, if anyone took it. In my use-case, the words such as 'gay' and 'lesbian' were in almost all cases, used for explicit documents. This is a very naive implementation to quickly get a handle of amount of porny documents. I intend to do some more work around clustering of porny words. I think understanding sentiment would be hard and involves a lot of labeled data, but that is a potentially ve…

It's okay! I wasn't offended. :-)

Although I didn't realise this was meant to filter out a pornographic vocabulary; it makes more sense now.

Re: Show HN: A naive classifier to figure out if a sentence contains dirty words

#12
I inherited a (dreadful) application which had a hilariously lame 'rude words filter'. It checked for words on a banned list.

The full list is here: http://pastebin.com/raw.php?i=1Pv4v8j7

It contains such gems as "cockburger", "penispuffer", and -- the piece de resistance -- "twatwaffleunclefucker".

Post reply on HN