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.
Show HN: API to add bad words to English texts
11–16 of 16 posts
Yep, our dictionaries for adjectives, adverbs and nouns are tiny at the moment
Re: Show HN: API to add bad words to English texts
#12Interesting, 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
#13Earlier 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
Re: Show HN: API to add bad words to English texts
#14this comes nowhere-the-fuck near cursing as dynamically as i can. ;)
Gives me an idea for a new kind of Turing test ...
Re: Show HN: API to add bad words to English texts
#15I was thinking it would be more like readability, but instead of reformatting the html, inserting curse words. How much more fun would cnn.com be?! But a good start!
Re: Show HN: API to add bad words to English texts
#16I'd check into the a/an issue (http://i.imgur.com/ZT7Nf57.png), at least for the default/example phrase. Pretty funny though!