public class NluEnrichmentEntities
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
NluEnrichmentEntities.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.Boolean |
emotion |
protected java.lang.Long |
limit |
protected java.lang.Boolean |
mentions |
protected java.lang.Boolean |
mentionTypes |
protected java.lang.String |
model |
protected java.lang.Boolean |
sentenceLocations |
protected java.lang.Boolean |
sentiment |
Modifier | Constructor and Description |
---|---|
protected |
NluEnrichmentEntities(NluEnrichmentEntities.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
emotion()
Gets the emotion.
|
java.lang.Long |
limit()
Gets the limit.
|
java.lang.Boolean |
mentions()
Gets the mentions.
|
java.lang.Boolean |
mentionTypes()
Gets the mentionTypes.
|
java.lang.String |
model()
Gets the model.
|
NluEnrichmentEntities.Builder |
newBuilder()
New builder.
|
java.lang.Boolean |
sentenceLocations()
Gets the sentenceLocations.
|
java.lang.Boolean |
sentiment()
Gets the sentiment.
|
protected java.lang.Boolean sentiment
protected java.lang.Boolean emotion
protected java.lang.Long limit
protected java.lang.Boolean mentions
@SerializedName(value="mention_types") protected java.lang.Boolean mentionTypes
@SerializedName(value="sentence_locations") protected java.lang.Boolean sentenceLocations
protected java.lang.String model
protected NluEnrichmentEntities(NluEnrichmentEntities.Builder builder)
public NluEnrichmentEntities.Builder newBuilder()
public java.lang.Boolean sentiment()
When `true`, sentiment analysis of entities will be performed on the specified field.
public java.lang.Boolean emotion()
When `true`, emotion detection of entities will be performed on the specified field.
public java.lang.Long limit()
The maximum number of entities to extract for each instance of the specified field.
public java.lang.Boolean mentions()
When `true`, the number of mentions of each identified entity is recorded. The default is `false`.
public java.lang.Boolean mentionTypes()
When `true`, the types of mentions for each idetifieid entity is recorded. The default is `false`.
public java.lang.Boolean sentenceLocations()
When `true`, a list of sentence locations for each instance of each identified entity is recorded. The default is `false`.
public java.lang.String model()
The enrichement model to use with entity extraction. May be a custom model provided by Watson Knowledge Studio, or the default public model `alchemy`.