News for hackers. Stuff that matters.
Re:Google’s Official Profanity API by cschneid on Wednesday August 17, 2011 @09:15AM (#2895197)
So when the title says official, they actually mean "internal api, dug out of javascript source on a google affiliated site"?
Re:Google’s Official Profanity API by snorkel on Wednesday August 17, 2011 @12:34PM (#2895872)
What the {"response": "true"} is this {"response": "true"} thing? A {"response": "true"} cache page? Are you {"response": "true"} {"response": "true"} me?! Do you really need a {"response": "true"} JSON API to do the work of a stupid {"response": "true"} array lookup? {"response": "true"}!!!
Re:Google’s Official Profanity API by cageface on Wednesday August 17, 2011 @10:28AM (#2895441)
I was hoping this was an API for generating profanity.
Re:Google’s Official Profanity API by ldamerow on Thursday August 18, 2011 @06:47PM (#2901475)
Just feed the Outbursts of Everett True into a Markov generator!
Re:Google’s Official Profanity API by cageface on Thursday August 18, 2011 @08:16PM (#2901694)
Scurries off to his keyboard to start hacking...
Re:Google’s Official Profanity API by schrototo on Wednesday August 17, 2011 @09:54AM (#2895341)
Why oh why does profanity ever need to be filtered out?
Re:Google’s Official Profanity API by maweaver on Wednesday August 17, 2011 @11:13AM (#2895581)
> you could try using the Google Profanity API to avoid displaying ads on pages that contain profanities

I assume that must be a requirement of some ad networks

Re:Google’s Official Profanity API by algorias on Wednesday August 17, 2011 @11:23AM (#2895614)
Possibly because there's enough of it that it would affect statistical algorithms involving language processing (e.g. google translate)
Re:Google’s Official Profanity API by latch on Wednesday August 17, 2011 @07:28AM (#2894907)
I once tried to create a list of basic patterns...always thought it'd be more useful than it turned out to be:

https://github.com/mogade/badwords/blob/master/en.txt

Re:Google’s Official Profanity API by peteretep on Wednesday August 17, 2011 @09:54AM (#2895340)
Re:Google’s Official Profanity API by vbar on Wednesday August 17, 2011 @09:08AM (#2895164)
It's repetitive - when you're checking e.g. for (ph|f)u(c|k|ck|q), there's no need to check cyb[e3]r(ph|f)u(c|k|ck|q) as well...
Re:Google’s Official Profanity API by pavel_lishin on Wednesday August 17, 2011 @10:35AM (#2895462)
> fixed some broken patterns, added check for dick

My stepfather would be most displeased if he couldn't use his name.

Re:Google’s Official Profanity API by Terretta on Wednesday August 17, 2011 @08:00AM (#2894963)
5hit, that's a fuhked up list.
Re:Google’s Official Profanity API by franze on Wednesday August 17, 2011 @06:36AM (#2894815)
basically:

  http://www.wdyl.com/profanity?q=xxx
Re:Google’s Official Profanity API by mootothemax on Wednesday August 17, 2011 @06:30AM (#2894803)
Nice, and it passes a couple of examples of the Scunthorpe Problem: http://en.wikipedia.org/wiki/Scunthorpe_problem
Re:Google’s Official Profanity API by click170 on Wednesday August 17, 2011 @06:38AM (#2894821)
My first thought was "Oh, I wonder if that means the spellcheck on my smartphone will stop substituting 'duck' when I meant to type something more profane." But after reading the article, I guess not.
Re:Google’s Official Profanity API by mhunter on Wednesday August 17, 2011 @10:13AM (#2895399)
A maybe condition is necessary.

see: http://www.wdyl.com/profanity?q=balls

Re:Google’s Official Profanity API by MasterScrat on Wednesday August 17, 2011 @11:07AM (#2895559)
Yeah. Even with added SFW context:

> http://www.wdyl.com/profanity?q=tennis%20balls

> {"response": "true"}

Re:Google’s Official Profanity API by pornel on Wednesday August 17, 2011 @07:18AM (#2894888)
It's publicly accessible, but I wouldn't call it official.
Re:Google’s Official Profanity API by 5h on Wednesday August 17, 2011 @06:28AM (#2894799)
server dead, not in google cache
Re:Google’s Official Profanity API by mootothemax on Wednesday August 17, 2011 @06:30AM (#2894804)
Re:Google’s Official Profanity API by gary4gar on Wednesday August 17, 2011 @07:08AM (#2894865)
here is copy of the post: http://pastebin.com/8C3EXMZ7