C# 클래스 Microsoft.ProjectOxford.Text.SpellCheck.SpellCheckClient

The SpellCheck Client.
상속: ISpellCheckClient
파일 보기 프로젝트 열기: evgri243/pubic-demos

공개 메소드들

메소드 설명
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