Class NluEnrichmentSentiment
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.NluEnrichmentSentiment
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class NluEnrichmentSentiment
extends com.ibm.cloud.sdk.core.service.model.GenericModel
An object specifying the sentiment extraction enrichment and related parameters.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NluEnrichmentSentiment.Builder
Builder. -
Method Summary
Modifier and Type Method Description Boolean
document()
Gets the document.NluEnrichmentSentiment.Builder
newBuilder()
New builder.List<String>
targets()
Gets the targets.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a NluEnrichmentSentiment builder
-
document
Gets the document.When `true`, sentiment analysis is performed on the entire field.
- Returns:
- the document
-
targets
Gets the targets.A comma-separated list of target strings that will have any associated sentiment analyzed.
- Returns:
- the targets
-