Live data from Hacker News

Show HN: API to add bad words to English texts

cursingapi.com

1–10 of 16 posts

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

#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.

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

#7
post #5

Pretty neat. From solely using that the prepopulated example input, my main gripe would be that it doesn't get a/an correct in the "cursed up" version of the sentence.

Funny we didn't notice that!

Yes, that's true. And that's a fairly poorly written example.

Post reply on HN