Class NluEnrichmentFeatures
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.NluEnrichmentFeatures
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class NluEnrichmentFeatures
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Object containing Natural Language Understanding features to be used.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NluEnrichmentFeatures.Builder
Builder. -
Method Summary
Modifier and Type Method Description Map<String,Object>
categories()
Gets the categories.NluEnrichmentConcepts
concepts()
Gets the concepts.NluEnrichmentEmotion
emotion()
Gets the emotion.NluEnrichmentEntities
entities()
Gets the entities.NluEnrichmentKeywords
keywords()
Gets the keywords.NluEnrichmentFeatures.Builder
newBuilder()
New builder.NluEnrichmentRelations
relations()
Gets the relations.NluEnrichmentSemanticRoles
semanticRoles()
Gets the semanticRoles.NluEnrichmentSentiment
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 NluEnrichmentFeatures builder
-
keywords
Gets the keywords.An object specifying the Keyword enrichment and related parameters.
- Returns:
- the keywords
-
entities
Gets the entities.An object speficying the Entities enrichment and related parameters.
- Returns:
- the entities
-
sentiment
Gets the sentiment.An object specifying the sentiment extraction enrichment and related parameters.
- Returns:
- the sentiment
-
emotion
Gets the emotion.An object specifying the emotion detection enrichment and related parameters.
- Returns:
- the emotion
-
categories
Gets the categories.An object that indicates the Categories enrichment will be applied to the specified field.
- Returns:
- the categories
-
semanticRoles
Gets the semanticRoles.An object specifiying the semantic roles enrichment and related parameters.
- Returns:
- the semanticRoles
-
relations
Gets the relations.An object specifying the relations enrichment and related parameters.
- Returns:
- the relations
-
concepts
Gets the concepts.An object specifiying the concepts enrichment and related parameters.
- Returns:
- the concepts
-