public class NluEnrichmentKeywords
extends com.ibm.cloud.sdk.core.service.model.GenericModel
| Modifier and Type | Class and Description |
|---|---|
static class |
NluEnrichmentKeywords.Builder
Builder.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Boolean |
emotion |
protected java.lang.Long |
limit |
protected java.lang.Boolean |
sentiment |
| Modifier | Constructor and Description |
|---|---|
protected |
NluEnrichmentKeywords(NluEnrichmentKeywords.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
emotion()
Gets the emotion.
|
java.lang.Long |
limit()
Gets the limit.
|
NluEnrichmentKeywords.Builder |
newBuilder()
New builder.
|
java.lang.Boolean |
sentiment()
Gets the sentiment.
|
protected java.lang.Boolean sentiment
protected java.lang.Boolean emotion
protected java.lang.Long limit
protected NluEnrichmentKeywords(NluEnrichmentKeywords.Builder builder)
public NluEnrichmentKeywords.Builder newBuilder()
public java.lang.Boolean sentiment()
When `true`, sentiment analysis of keywords will be performed on the specified field.
public java.lang.Boolean emotion()
When `true`, emotion detection of keywords will be performed on the specified field.
public java.lang.Long limit()
The maximum number of keywords to extract for each instance of the specified field.