C# Класс Microsoft.ProjectOxford.Text.SpellCheck.SpellCheckClient

The SpellCheck Client.
Наследование: ISpellCheckClient
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

ConstructCorrectedTextFromResponse() публичный статический Метод

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
Результат string

GetSuggestionsAsync() публичный Метод

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
Результат Task

SpellCheckClient() публичный Метод

Initializes a new instance of the SpellCheckClient class.
public SpellCheckClient ( string subscriptionKey ) : Newtonsoft.Json
subscriptionKey string The subscription Key.
Результат Newtonsoft.Json