public class NluEnrichmentSentiment
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
NluEnrichmentSentiment.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
document |
protected java.util.List<java.lang.String> |
targets |
Modifier | Constructor and Description |
---|---|
protected |
NluEnrichmentSentiment(NluEnrichmentSentiment.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
document()
Gets the document.
|
NluEnrichmentSentiment.Builder |
newBuilder()
New builder.
|
java.util.List<java.lang.String> |
targets()
Gets the targets.
|
protected java.lang.Boolean document
protected java.util.List<java.lang.String> targets
protected NluEnrichmentSentiment(NluEnrichmentSentiment.Builder builder)
public NluEnrichmentSentiment.Builder newBuilder()
public java.lang.Boolean document()
When `true`, sentiment analysis is performed on the entire field.
public java.util.List<java.lang.String> targets()
A comma-separated list of target strings that will have any associated sentiment analyzed.