BingSpellCheckOperations Interface

public interface BingSpellCheckOperations

An instance of this class provides access to all the operations defined in BingSpellCheckOperations.

Method Summary

Modifier and Type Method and Description
BingSpellCheckOperationsSpellCheckerDefinitionStages.WithText spellChecker()

The Bing Spell Check API lets you perform contextual grammar and spell checking. Bing has developed a web-based spell-checker that leverages machine learning and statistical machine translation to dynamically train a constantly evolving and highly contextual algorithm. The spell-checker is based on a massive corpus of web searches and documents.

SpellCheck spellChecker(String text, SpellCheckerOptionalParameter spellCheckerOptionalParameter)

The Bing Spell Check API lets you perform contextual grammar and spell checking. Bing has developed a web-based spell-checker that leverages machine learning and statistical machine translation to dynamically train a constantly evolving and highly contextual algorithm. The spell-checker is based on a massive corpus of web searches and documents.

Observable<SpellCheck> spellCheckerAsync(String text, SpellCheckerOptionalParameter spellCheckerOptionalParameter)

The Bing Spell Check API lets you perform contextual grammar and spell checking. Bing has developed a web-based spell-checker that leverages machine learning and statistical machine translation to dynamically train a constantly evolving and highly contextual algorithm. The spell-checker is based on a massive corpus of web searches and documents.

Method Details

spellChecker

public BingSpellCheckOperationsSpellCheckerDefinitionStages.WithText spellChecker()

The Bing Spell Check API lets you perform contextual grammar and spell checking. Bing has developed a web-based spell-checker that leverages machine learning and statistical machine translation to dynamically train a constantly evolving and highly contextual algorithm. The spell-checker is based on a massive corpus of web searches and documents.

Returns:

the first stage of the spellChecker call

spellChecker

public SpellCheck spellChecker(String text, SpellCheckerOptionalParameter spellCheckerOptionalParameter)

The Bing Spell Check API lets you perform contextual grammar and spell checking. Bing has developed a web-based spell-checker that leverages machine learning and statistical machine translation to dynamically train a constantly evolving and highly contextual algorithm. The spell-checker is based on a massive corpus of web searches and documents.

Parameters:

text - The text string to check for spelling and grammar errors. The combined length of the text string, preContextText string, and postContextText string may not exceed 10,000 characters. You may specify this parameter in the query string of a GET request or in the body of a POST request. Because of the query string length limit, you'll typically use a POST request unless you're checking only short strings.
spellCheckerOptionalParameter - the object representing the optional parameters to be set before calling this API

Returns:

the SpellCheck object if successful.

Throws:

IllegalArgumentException - thrown if parameters fail the validation
ErrorResponseException - thrown if the request is rejected by server
RuntimeException - all other wrapped checked exceptions if the request fails to be sent

spellCheckerAsync

public Observable spellCheckerAsync(String text, SpellCheckerOptionalParameter spellCheckerOptionalParameter)

The Bing Spell Check API lets you perform contextual grammar and spell checking. Bing has developed a web-based spell-checker that leverages machine learning and statistical machine translation to dynamically train a constantly evolving and highly contextual algorithm. The spell-checker is based on a massive corpus of web searches and documents.

Parameters:

text - The text string to check for spelling and grammar errors. The combined length of the text string, preContextText string, and postContextText string may not exceed 10,000 characters. You may specify this parameter in the query string of a GET request or in the body of a POST request. Because of the query string length limit, you'll typically use a POST request unless you're checking only short strings.
spellCheckerOptionalParameter - the object representing the optional parameters to be set before calling this API

Returns:

the observable to the SpellCheck object

Throws:

IllegalArgumentException - thrown if parameters fail the validation

Applies to