I have been searching all over the Internet, but did not find that exact开发者_C百科 API.
I'd like to use their Did You mean feature for my own website.
Pygoogle has an api call for that
http://pygoogle.sourceforge.net/dist/doc/public/google-module.html#doSpellingSuggestion
>>> import google
>>> google.LICENSE_KEY = '...'
>>> google.doSpellingSuggestion('pithon')
'python'
doSpellingSuggestion I believe is the api call. There is a good example here
Update
As people have noted, the link is broken. Here is a Wayback Machine's archived copy.
There's been a great Python example going around for awhile showing exactly how to implement this (in only 21 lines of code!): http://norvig.com/spell-correct.html It was shown at the Stackoverflow DevDays in Toronto, and I believe at some of the other locations.
Here is one in python that get the didyoumean results
精彩评论