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 classNluEnrichmentFeatures.BuilderBuilder. -
Method Summary
Modifier and Type Method Description Map<String,Object>categories()Gets the categories.NluEnrichmentConceptsconcepts()Gets the concepts.NluEnrichmentEmotionemotion()Gets the emotion.NluEnrichmentEntitiesentities()Gets the entities.NluEnrichmentKeywordskeywords()Gets the keywords.NluEnrichmentFeatures.BuildernewBuilder()New builder.NluEnrichmentRelationsrelations()Gets the relations.NluEnrichmentSemanticRolessemanticRoles()Gets the semanticRoles.NluEnrichmentSentimentsentiment()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
-