Welcome, guest Sign In

Search Web Services: Spelling Suggestion

Submitting Spelling Queries

The Spelling Suggestion service provides a suggested spelling correction for a given term. See also the other Web Search services.

Request URL

http://search.yahooapis.com/WebSearchService/V1/spellingSuggestion

Request parameters

See information on constructing REST queries

Parameter Value Description
appid string (required) The application ID. See Application IDs for more information.
query string (required) The query to get spelling suggestions for (UTF-8 encoded).
output string: xml (default), json, php The format for the output. If json is requested, the results will be returned in JSON format. If php is requested, the results will be returned in Serialized PHP format.
callback string The name of the callback function to wrap around the JSON data. The following characters are allowed: A-Z a-z 0-9 . [] and _. If output=json has not been requested, this parameter has no effect. More information on the callback can be found in the Yahoo! Developer Network JSON Documentation.

Sample Request Url: http://search.yahooapis.com/WebSearchService/V1/spellingSuggestion?appid=YahooDemo&query=madnna

Response fields

The schema document for this service response is located at http://search.yahooapis.com/WebSearchSpellingService/V1/WebSearchSpellingResponse.xsd

Field Description
ResultSet Contains all of the suggestions.
Result The text of the suggested correction.

Sample response

The following is a sample response for the query Madnna which returns the correction to the misspelled word:


Rate Limits

The Spelling Suggestions Web Search service is limited to 5,000 queries per IP address per day and to noncommercial use. See information on rate limiting.

Errors

The Spelling Suggestions Web Search service returns the standard errors. There are no service-specific errors.

Terms of Use

Please see our Usage Policy to learn about acceptable uses and how to request additional queries.

Support & Community

The Spelling Suggestions Web Search service is discussed on the yws-search-general mailing list.

Ready to get started?

By applying for an Application ID for this service, you hereby agree to the Terms of Use

Yahoo! Groups Discussions

view all

GREETINGS

Wed, 09 Dec 2009

Re: cpanel login problem

Tue, 01 Dec 2009

Re: id category list

Mon, 30 Nov 2009

Re: cpanel login problem

Mon, 30 Nov 2009

Copyright © 2010 Yahoo! Inc. All rights reserved. Copyright | Privacy Policy | Terms of Use

Help us continue to improve the Yahoo! Developer Network: Send Your Suggestions