public final class AnalyzeSentimentOptions extends TextAnalyticsRequestOptions
AnalyzeSentimentOptions model.| Constructor and Description |
|---|
AnalyzeSentimentOptions() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isIncludeOpinionMining()
Gets the value of
includeOpinionMining. |
AnalyzeSentimentOptions |
setIncludeOpinionMining(boolean includeOpinionMining)
Sets the value of
includeOpinionMining. |
AnalyzeSentimentOptions |
setIncludeStatistics(boolean includeStatistics)
Sets the value of
includeStatistics. |
AnalyzeSentimentOptions |
setModelVersion(String modelVersion)
Sets the model version.
|
AnalyzeSentimentOptions |
setServiceLogsDisabled(boolean disableServiceLogs)
Sets the value of service logs disable status.
|
getModelVersion, isIncludeStatistics, isServiceLogsDisabledpublic AnalyzeSentimentOptions setModelVersion(String modelVersion)
setModelVersion in class TextAnalyticsRequestOptionsmodelVersion - The model version.AnalyzeSentimentOptions object itself.public AnalyzeSentimentOptions setIncludeStatistics(boolean includeStatistics)
includeStatistics. The default value is false by default.
If set to true, indicates that the service should return document and document batch statistics
with the results of the operation.setIncludeStatistics in class TextAnalyticsRequestOptionsincludeStatistics - If a boolean value was specified in the request this field will contain
information about the document payload.AnalyzeSentimentOptions object itself.public AnalyzeSentimentOptions setServiceLogsDisabled(boolean disableServiceLogs)
setServiceLogsDisabled in class TextAnalyticsRequestOptionsdisableServiceLogs - The default value of this property is 'false', except for methods like
'beginAnalyzeHealthcareEntities' and 'recognizePiiEntities'. This means, Text Analytics service logs
your input text for 48 hours, solely to allow for troubleshooting issues. Setting this property to true,
disables input logging and may limit our ability to investigate issues that occur.AnalyzeSentimentOptions object itself.public boolean isIncludeOpinionMining()
includeOpinionMining. The boolean indicator to include opinion mining data in the
returned result. If this flag is specified, you'll get a opinions property on SentenceSentiment.
It is provided by service v3.1 and later.includeOpinionMining.public AnalyzeSentimentOptions setIncludeOpinionMining(boolean includeOpinionMining)
includeOpinionMining. The boolean indicator to include opinion mining data in the
returned result. If this flag is specified, you'll get a opinions property on SentenceSentiment.
It is provided by service v3.1 and later.includeOpinionMining - The boolean indicator to include opinion mining data in the returned result.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.