I am using Google's custom search API, I make an HTTP request to a URL that looks like this:
https://www.googleapis.com/customsearch/v1?key=<my-key>&cref=&num=10&q=how+can+i+do+htis
if you search for "how can i do htis" on Google you are told "Showing results for how can i do this", and give you some results (call them result set A)
but if you use the API to search for the misspelled string, you get different results than those of A... Searching with a correctly spelled string gives you result A, which matches the ordinary search service on Google
Is there a way to search directly using the suggested string? I want to use the API I can't afford implementing a spell checker myself that can also correct people names and everything
A quick way to correct a misspelled word in Microsoft Word is to right-click on the word that has a red wavy underline. The resulting pop-up menu contains spelling suggestions which you can then select and have the misspelled word replaced.
You can check your spelling and grammar in Google Docs, then accept or ignore the corrections. Spelling and grammar suggestions are available in English, Spanish, French, German, Portuguese, and Italian.
Spelling correction is a well-known task in Natural Language Processing (NLP). Automatic spelling correction is important for many NLP applications like web search engines, text summarization, sentiment analysis etc.
Open the document you'd like to check for grammar and spelling. Tap on the letter “A” icon with a checkmark in the main menu on the top left. The new spell check menu will appear on the right. It'll offer a word suggestion to correct incorrect spelling or grammar.
I think what you want to do is possible using the spelling suggestions of Google. This is part of the xml-results
returned by your query.
See API here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With