TextAnalyticsManager Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. textanalytics. TextAnalyticsManager
- com.
public class TextAnalyticsManager
Entry point to Azure Cognitive Services Text Analytics manager.
Method Summary
Modifier and Type | Method and Description |
---|---|
Text |
authenticate(AzureRegions region, ServiceClientCredentials credentials)
Initializes an instance of Text Analytics API client. |
Text |
authenticate(AzureRegions region, String subscriptionKey)
Initializes an instance of Text Analytics API client. |
Text |
authenticate(RestClient restClient)
Initializes an instance of Text Analytics API client. |
Text |
authenticate(String baseUrl, final String subscriptionKey)
Initializes an instance of Text Analytics API client. |
Text |
authenticate(String baseUrl, ServiceClientCredentials credentials)
Initializes an instance of Text Analytics API client. |
Method Details
authenticate
public static TextAnalyticsAPI authenticate(AzureRegions region, ServiceClientCredentials credentials)
Initializes an instance of Text Analytics API client.
Parameters:
Returns:
authenticate
public static TextAnalyticsAPI authenticate(AzureRegions region, String subscriptionKey)
Initializes an instance of Text Analytics API client.
Parameters:
Returns:
authenticate
public static TextAnalyticsAPI authenticate(RestClient restClient)
Initializes an instance of Text Analytics API client.
Parameters:
Returns:
authenticate
public static TextAnalyticsAPI authenticate(String baseUrl, final String subscriptionKey)
Initializes an instance of Text Analytics API client.
Parameters:
Returns:
authenticate
public static TextAnalyticsAPI authenticate(String baseUrl, ServiceClientCredentials credentials)
Initializes an instance of Text Analytics API client.
Parameters:
Returns:
Applies to
Azure SDK for Java