Live data from Hacker News

Show HN: API to add bad words to English texts

cursingapi.com

11–16 of 16 posts

Re: Show HN: API to add bad words to English texts

#11

It's a neat tool but I wish it could better parse paragraphs and commas. I also had a few responses with the same curse words three or four times in a block of text making it a fucking boring read.

Yep, our dictionaries for adjectives, adverbs and nouns are tiny at the moment

Re: Show HN: API to add bad words to English texts

#12
post #4
post #2

Interesting, which libraries did you use?

Natural Language Toolkit ( http://www.nltk.org/ ) for Python. The initial code for the "insulter.py", the core, was no more than 150 lines. We'll probably make our repository public at some point so you can check it out.

Are the thumbs up/down used to train the system? Looking forward to the code

Re: Show HN: API to add bad words to English texts

#13
post #12
post #4

Earlier quoted context omitted.

Natural Language Toolkit ( http://www.nltk.org/ ) for Python. The initial code for the "insulter.py", the core, was no more than 150 lines. We'll probably make our repository public at some point so you can check it out.

Are the thumbs up/down used to train the system? Looking forward to the code

Yes. In a very primitive way, at the moment, just updating the weights for adjectives
Post reply on HN