public class NluEnrichmentEmotion
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
NluEnrichmentEmotion.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 |
NluEnrichmentEmotion(NluEnrichmentEmotion.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
document()
Gets the document.
|
NluEnrichmentEmotion.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 NluEnrichmentEmotion(NluEnrichmentEmotion.Builder builder)
public NluEnrichmentEmotion.Builder newBuilder()
public java.lang.Boolean document()
When `true`, emotion detection 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 emotions detected.