Class NluEnrichmentEmotion
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.NluEnrichmentEmotion
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class NluEnrichmentEmotion
extends com.ibm.cloud.sdk.core.service.model.GenericModel
An object specifying the emotion detection enrichment and related parameters.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NluEnrichmentEmotion.Builder
Builder. -
Method Summary
Modifier and Type Method Description Boolean
document()
Gets the document.NluEnrichmentEmotion.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 NluEnrichmentEmotion builder
-
document
Gets the document.When `true`, emotion detection 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 emotions detected.
- Returns:
- the targets
-