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