Class NluEnrichmentKeywords
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.NluEnrichmentKeywords
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class NluEnrichmentKeywords
extends com.ibm.cloud.sdk.core.service.model.GenericModel
An object specifying the Keyword enrichment and related parameters.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NluEnrichmentKeywords.Builder
Builder. -
Method Summary
Modifier and Type Method Description Boolean
emotion()
Gets the emotion.Long
limit()
Gets the limit.NluEnrichmentKeywords.Builder
newBuilder()
New builder.Boolean
sentiment()
Gets the sentiment.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a NluEnrichmentKeywords builder
-
sentiment
Gets the sentiment.When `true`, sentiment analysis of keywords will be performed on the specified field.
- Returns:
- the sentiment
-
emotion
Gets the emotion.When `true`, emotion detection of keywords will be performed on the specified field.
- Returns:
- the emotion
-
limit
Gets the limit.The maximum number of keywords to extract for each instance of the specified field.
- Returns:
- the limit
-