C# Класс BuildIt.CognitiveServices.SpellCheckAPIV5Extensions

Extension methods for SpellCheckAPIV5.
Показать файл Открыть проект

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

Метод Описание
SpellCheck ( this operations, string mode = default(string), string mkt = default(string), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
SpellCheck ( this operations, string mode = default(string), string preContextText = default(string), string postContextText = default(string), string mkt = default(string), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
SpellCheckAsync ( this operations, string mode = default(string), string mkt = default(string), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
SpellCheckAsync ( this operations, string mode = default(string), string preContextText = default(string), string postContextText = default(string), string mkt = default(string), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task

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

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

public static SpellCheck ( this operations, string mode = default(string), string mkt = default(string), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
mode string /// Mode of spellcheck: /// <ul><li>Proof - Meant to provide Office Word like spelling /// corrections. It can correct long queries, provide casing corrections and /// suppresses aggressive corrections.</li> /// <li>Spell - Meant to provide Search engine like spelling /// corrections. It will correct small queries(up to length 9 tokens) without /// any casing changes and will be more optimized (perf and relevance) /// towards search like queries.</li></ul> /// . Possible values include: 'spell', 'proof' ///
mkt string /// For proof mode, only support en-us, es-es, pt-br, /// For spell mode, support all language codes. Possible values include: /// 'en-us', 'es-es', 'pt-br' ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
Результат void

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

public static SpellCheck ( this operations, string mode = default(string), string preContextText = default(string), string postContextText = default(string), string mkt = default(string), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
mode string /// Mode of spellcheck: /// <ul><li>Proof - Meant to provide Office Word like spelling /// corrections. It can correct long queries, provide casing corrections and /// suppresses aggressive corrections.</li> /// <li>Spell - Meant to provide Search engine like spelling /// corrections. It will correct small queries(up to length 9 tokens) without /// any casing changes and will be more optimized (perf and relevance) /// towards search like queries.</li></ul> /// . Possible values include: 'spell', 'proof' ///
preContextText string /// A string that gives context to the text string. For example, the text /// string petal is valid; however, if you set preContextText to bike, the /// context changes and the text string becomes not valid. In this case, the /// API will suggest that you change petal to pedal (as in bike pedal). ///
postContextText string /// A string that gives context to the text string. For example, the text /// string read is valid; however, if you set postContextText to carpet, the /// context changes and the text string becomes not valid. In this case, the /// API will suggest that you change read to red (as in red carpet). ///
mkt string /// For proof mode, only support en-us, es-es, pt-br, /// For spell mode, support all language codes. Possible values include: /// 'en-us', 'es-es', 'pt-br' ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
Результат void

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

public static SpellCheckAsync ( this operations, string mode = default(string), string mkt = default(string), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
operations this /// The operations group for this extension method. ///
mode string /// Mode of spellcheck: /// <ul><li>Proof - Meant to provide Office Word like spelling /// corrections. It can correct long queries, provide casing corrections and /// suppresses aggressive corrections.</li> /// <li>Spell - Meant to provide Search engine like spelling /// corrections. It will correct small queries(up to length 9 tokens) without /// any casing changes and will be more optimized (perf and relevance) /// towards search like queries.</li></ul> /// . Possible values include: 'spell', 'proof' ///
mkt string /// For proof mode, only support en-us, es-es, pt-br, /// For spell mode, support all language codes. Possible values include: /// 'en-us', 'es-es', 'pt-br' ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
cancellationToken System /// The cancellation token. ///
Результат System.Threading.Tasks.Task

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

public static SpellCheckAsync ( this operations, string mode = default(string), string preContextText = default(string), string postContextText = default(string), string mkt = default(string), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task
operations this /// The operations group for this extension method. ///
mode string /// Mode of spellcheck: /// <ul><li>Proof - Meant to provide Office Word like spelling /// corrections. It can correct long queries, provide casing corrections and /// suppresses aggressive corrections.</li> /// <li>Spell - Meant to provide Search engine like spelling /// corrections. It will correct small queries(up to length 9 tokens) without /// any casing changes and will be more optimized (perf and relevance) /// towards search like queries.</li></ul> /// . Possible values include: 'spell', 'proof' ///
preContextText string /// A string that gives context to the text string. For example, the text /// string petal is valid; however, if you set preContextText to bike, the /// context changes and the text string becomes not valid. In this case, the /// API will suggest that you change petal to pedal (as in bike pedal). ///
postContextText string /// A string that gives context to the text string. For example, the text /// string read is valid; however, if you set postContextText to carpet, the /// context changes and the text string becomes not valid. In this case, the /// API will suggest that you change read to red (as in red carpet). ///
mkt string /// For proof mode, only support en-us, es-es, pt-br, /// For spell mode, support all language codes. Possible values include: /// 'en-us', 'es-es', 'pt-br' ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
cancellationToken System /// The cancellation token. ///
Результат System.Threading.Tasks.Task