C# Class Microsoft.ProjectOxford.Text.SpellCheck.SpellCheckClient

The SpellCheck Client.
Inheritance: ISpellCheckClient
Afficher le fichier Open project: evgri243/pubic-demos

Méthodes publiques

Méthode Description
ConstructCorrectedTextFromResponse ( SpellCheckResult response, string text ) : string

Reconstruct the corrected text from the spell check response and the original text

GetSuggestionsAsync ( string text, string preContextText = null, string postContextText = null, CheckMode checkMode = CheckMode.Proof ) : Task

Get suggestions asynchronous.

SpellCheckClient ( string subscriptionKey ) : Newtonsoft.Json

Initializes a new instance of the SpellCheckClient class.

Method Details

ConstructCorrectedTextFromResponse() public static méthode

Reconstruct the corrected text from the spell check response and the original text
public static ConstructCorrectedTextFromResponse ( SpellCheckResult response, string text ) : string
response SpellCheckResult spell check response
text string original text
Résultat string

GetSuggestionsAsync() public méthode

Get suggestions asynchronous.
public GetSuggestionsAsync ( string text, string preContextText = null, string postContextText = null, CheckMode checkMode = CheckMode.Proof ) : Task
text string The text.
preContextText string The pre context text.
postContextText string The post context text.
checkMode CheckMode
Résultat Task

SpellCheckClient() public méthode

Initializes a new instance of the SpellCheckClient class.
public SpellCheckClient ( string subscriptionKey ) : Newtonsoft.Json
subscriptionKey string The subscription Key.
Résultat Newtonsoft.Json