TIMEX
TIMEX

Reputation: 272432

Does Google allow other people to use their "Did you mean" API?

I have been searching all over the Internet, but did not find that exact API.

I'd like to use their Did You mean feature for my own website.

Upvotes: 8

Views: 9007

Answers (4)

Jason
Jason

Reputation: 309

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.

Upvotes: 6

cindyxiaoxiaoli
cindyxiaoxiaoli

Reputation: 828

Here is one in python that get the didyoumean results

Upvotes: 1

Jay P.
Jay P.

Reputation: 651

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.

Upvotes: 1

mbarkhau
mbarkhau

Reputation: 8479

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'

Upvotes: 8

Related Questions