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 | Method and Description |
---|---|
Boolean |
emotion()
Gets the emotion.
|
Long |
limit()
Gets the limit.
|
Boolean |
mentions()
Gets the mentions.
|
Boolean |
mentionTypes()
Gets the mentionTypes.
|
String |
model()
Gets the model.
|
NluEnrichmentEntities.Builder |
newBuilder()
New builder.
|
Boolean |
sentenceLocations()
Gets the sentenceLocations.
|
Boolean |
sentiment()
Gets the sentiment.
|
public NluEnrichmentEntities.Builder newBuilder()
public Boolean sentiment()
When `true`, sentiment analysis of entities will be performed on the specified field.
public Boolean emotion()
When `true`, emotion detection of entities will be performed on the specified field.
public Long limit()
The maximum number of entities to extract for each instance of the specified field.
public Boolean mentions()
When `true`, the number of mentions of each identified entity is recorded. The default is `false`.
public Boolean mentionTypes()
When `true`, the types of mentions for each idetifieid entity is recorded. The default is `false`.
public Boolean sentenceLocations()
When `true`, a list of sentence locations for each instance of each identified entity is recorded. The default is `false`.
public 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`.
Copyright © 2024 IBM Cloud. All rights reserved.