Package | Description |
---|---|
com.azure.ai.textanalytics |
Package containing the classes for TextAnalyticsClient.
|
com.azure.ai.textanalytics.models |
Package containing classes for TextAnalyticsClient.
|
Modifier and Type | Method and Description |
---|---|
DetectedLanguage |
TextAnalyticsClient.detectLanguage(String document)
Returns the detected language and a confidence score between zero and one.
|
DetectedLanguage |
TextAnalyticsClient.detectLanguage(String document,
String countryHint)
Returns the detected language and a confidence score between zero and one.
|
Modifier and Type | Method and Description |
---|---|
DetectedLanguage |
DetectLanguageResult.getPrimaryLanguage()
Get the detected primary language.
|
Constructor and Description |
---|
DetectLanguageResult(String id,
TextDocumentStatistics textDocumentStatistics,
TextAnalyticsError error,
DetectedLanguage primaryLanguage)
Create a
DetectLanguageResult model that describes detected languages result. |
Copyright © 2021 Microsoft Corporation. All rights reserved.