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 |
---|---|
Mono<DocumentSentiment> |
TextAnalyticsAsyncClient.analyzeSentiment(String document,
String language,
AnalyzeSentimentOptions options)
Returns a sentiment prediction, as well as confidence scores for each sentiment label (Positive, Negative, and
Neutral) for the document and each sentence within it.
|
DocumentSentiment |
TextAnalyticsClient.analyzeSentiment(String document,
String language,
AnalyzeSentimentOptions options)
Returns a sentiment prediction, as well as confidence scores for each sentiment label (Positive, Negative, and
Neutral) for the document and each sentence within it.
|
Mono<AnalyzeSentimentResultCollection> |
TextAnalyticsAsyncClient.analyzeSentimentBatch(Iterable<String> documents,
String language,
AnalyzeSentimentOptions options)
Returns a sentiment prediction, as well as confidence scores for each sentiment label (Positive, Negative, and
Neutral) for the document and each sentence within it.
|
AnalyzeSentimentResultCollection |
TextAnalyticsClient.analyzeSentimentBatch(Iterable<String> documents,
String language,
AnalyzeSentimentOptions options)
Returns a sentiment prediction, as well as confidence scores for each sentiment label (Positive, Negative, and
Neutral) for the document and each sentence within it.
|
Mono<com.azure.core.http.rest.Response<AnalyzeSentimentResultCollection>> |
TextAnalyticsAsyncClient.analyzeSentimentBatchWithResponse(Iterable<TextDocumentInput> documents,
AnalyzeSentimentOptions options)
Returns a sentiment prediction, as well as confidence scores for each sentiment label (Positive, Negative, and
Neutral) for the document and each sentence within it.
|
com.azure.core.http.rest.Response<AnalyzeSentimentResultCollection> |
TextAnalyticsClient.analyzeSentimentBatchWithResponse(Iterable<TextDocumentInput> documents,
AnalyzeSentimentOptions options,
com.azure.core.util.Context context)
Returns a sentiment prediction, as well as confidence scores for each sentiment label (Positive, Negative, and
Neutral) for the document and each sentence within it.
|
Modifier and Type | Method and Description |
---|---|
AnalyzeSentimentOptions |
AnalyzeSentimentOptions.setIncludeOpinionMining(boolean includeOpinionMining)
Set the value of
includeOpinionMining . |
AnalyzeSentimentOptions |
AnalyzeSentimentOptions.setIncludeStatistics(boolean includeStatistics)
Set the value of
includeStatistics . |
AnalyzeSentimentOptions |
AnalyzeSentimentOptions.setModelVersion(String modelVersion)
Set the model version.
|
AnalyzeSentimentOptions |
AnalyzeSentimentOptions.setServiceLogsDisabled(boolean disableServiceLogs)
Set the value of
disableServiceLogs . |
AnalyzeSentimentOptions |
AnalyzeSentimentOptions.setStringIndexType(StringIndexType stringIndexType)
Set the value of
stringIndexType . |
Modifier and Type | Method and Description |
---|---|
TextAnalyticsActions |
TextAnalyticsActions.setAnalyzeSentimentOptions(AnalyzeSentimentOptions... analyzeSentimentOptions)
Set the list of
AnalyzeSentimentOptions to be executed. |
Copyright © 2021 Microsoft Corporation. All rights reserved.