BuildIt.CognitiveServices.WebLanguageModelAPIExtensions.BreakIntoWordsAsync C# (CSharp) Метод

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

Insert spaces into a string of words lacking spaces, like a hashtag or part of a URL. Punctuation or exotic characters can prevent a string from being broken, so it’s best to limit input strings to lower-case, alpha-numeric characters.
public static BreakIntoWordsAsync ( this operations, string model, string text, double order = default(double?), double maxNumOfCandidatesReturned = default(double?), 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. ///
model string /// Which model to use, supported value: title/anchor/query/body ///
text string /// The line of text to break into words. If spaces are present, they will be /// interpreted as hard breaks and maintained, except for leading or trailing /// spaces, which will be trimmed. ///
order double /// The order of N-gram. If not specified, use default value 5 .Supported /// value: 1, 2, 3, 4, 5. ///
maxNumOfCandidatesReturned double /// Max number of candidates would be returned. If not specified, use default /// value 5. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
cancellationToken System /// The cancellation token. ///
Результат System.Threading.Tasks.Task
            public static async System.Threading.Tasks.Task BreakIntoWordsAsync(this IWebLanguageModelAPI operations, string model, string text, double? order = default(double?), double? maxNumOfCandidatesReturned = default(double?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
            {
                await operations.BreakIntoWordsWithHttpMessagesAsync(model, text, order, maxNumOfCandidatesReturned, subscriptionKey, ocpApimSubscriptionKey, null, cancellationToken).ConfigureAwait(false);
            }