public static DetectTopicsAsync ( this operations, int minDocumentsPerWord = default(int?), int maxDocumentsPerWord = default(int?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), TopicDetectionInputV2 topicDetectionInputV2 = default(TopicDetectionInputV2), System cancellationToken = default(System.Threading.CancellationToken) ) : System.Threading.Tasks.Task |
||
operations | this | /// The operations group for this extension method. /// |
minDocumentsPerWord | int | /// Format - int32. (optional) Words that occur in less than this many /// documents are ignored. /// Use this parameter to help exclude rare document topics. /// Omit to let the service choose appropriate value. /// |
maxDocumentsPerWord | int | /// Format - int32. (optional) Words that occur in more than this many /// documents are ignored. /// Use this parameter to help exclude ubiquitous document topics. /// Omit to let the service choose appropriate value. /// |
subscriptionKey | string | /// subscription key in url /// |
ocpApimSubscriptionKey | string | /// subscription key in header /// |
topicDetectionInputV2 | TopicDetectionInputV2 | /// |
cancellationToken | System | /// The cancellation token. /// |
return | System.Threading.Tasks.Task |
public static async System.Threading.Tasks.Task<ErrorResponse> DetectTopicsAsync(this IAzureMachineLearningTextAnalytics operations, int? minDocumentsPerWord = default(int?), int? maxDocumentsPerWord = default(int?), string subscriptionKey = default(string), string ocpApimSubscriptionKey = default(string), TopicDetectionInputV2 topicDetectionInputV2 = default(TopicDetectionInputV2), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))
{
using (var _result = await operations.DetectTopicsWithHttpMessagesAsync(minDocumentsPerWord, maxDocumentsPerWord, subscriptionKey, ocpApimSubscriptionKey, topicDetectionInputV2, null, cancellationToken).ConfigureAwait(false))
{
return _result.Body;
}
}