public final class AnalyzeSentimentAction extends Object
Constructor and Description |
---|
AnalyzeSentimentAction() |
Modifier and Type | Method and Description |
---|---|
String |
getModelVersion()
Gets the version of the text analytics model used by this operation.
|
boolean |
isIncludeOpinionMining()
Gets the value of
includeOpinionMining . |
boolean |
isServiceLogsDisabled()
Gets the value of service logs disable status.
|
AnalyzeSentimentAction |
setIncludeOpinionMining(boolean includeOpinionMining)
Sets the value of
includeOpinionMining . |
AnalyzeSentimentAction |
setModelVersion(String modelVersion)
Sets the model version.
|
AnalyzeSentimentAction |
setServiceLogsDisabled(boolean disableServiceLogs)
Sets the value of service logs disable status.
|
public String getModelVersion()
public AnalyzeSentimentAction setModelVersion(String modelVersion)
modelVersion
- The model version.AnalyzeSentimentAction
object itself.public boolean isServiceLogsDisabled()
public AnalyzeSentimentAction setServiceLogsDisabled(boolean disableServiceLogs)
disableServiceLogs
- The default value of this property is 'false'. 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.AnalyzeSentimentAction
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 AnalyzeSentimentAction 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.AnalyzeSentimentAction
object itself.Copyright © 2021 Microsoft Corporation. All rights reserved.