你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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: