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
abstract WithText spellChecker()

The Bing Spell Check API lets you perform contextual grammar and spell checking.

abstract SpellCheck spellChecker(String text, SpellCheckerOptionalParameter spellCheckerOptionalParameter)

The Bing Spell Check API lets you perform contextual grammar and spell checking.

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

The Bing Spell Check API lets you perform contextual grammar and spell checking.

Method Details

spellChecker

public abstract BingSpellCheckOperations.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 abstract 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.

spellCheckerAsync

public abstract 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

Applies to