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

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

Calculate the joint probability that a particular sequence of words will appear together.
public static CalculateJointProbability ( this operations, string model, double order = default(double?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string) ) : void
operations this /// The operations group for this extension method. ///
model string /// Which model to use, supported value: title/anchor/query/body ///
order double /// The order of N-gram. If not specified, use default value 5 .Supported /// value: 1, 2, 3, 4, 5. ///
subscriptionKey string /// subscription key in url ///
ocpApimSubscriptionKey string /// subscription key in header ///
Результат void
            public static void CalculateJointProbability(this IWebLanguageModelAPI operations, string model, double? order = default(double?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string))
            {
                System.Threading.Tasks.Task.Factory.StartNew(s => ((IWebLanguageModelAPI)s).CalculateJointProbabilityAsync(model, order, subscriptionKey, ocpApimSubscriptionKey), operations, System.Threading.CancellationToken.None, System.Threading.Tasks.TaskCreationOptions.None,  System.Threading.Tasks.TaskScheduler.Default).Unwrap().GetAwaiter().GetResult();
            }