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.
  • Method Details

    • newBuilder

      public NluEnrichmentFeatures.Builder newBuilder()
      New builder.
      Returns:
      a NluEnrichmentFeatures builder
    • keywords

      public NluEnrichmentKeywords keywords()
      Gets the keywords.

      An object specifying the Keyword enrichment and related parameters.

      Returns:
      the keywords
    • entities

      public NluEnrichmentEntities entities()
      Gets the entities.

      An object speficying the Entities enrichment and related parameters.

      Returns:
      the entities
    • sentiment

      public NluEnrichmentSentiment sentiment()
      Gets the sentiment.

      An object specifying the sentiment extraction enrichment and related parameters.

      Returns:
      the sentiment
    • emotion

      public NluEnrichmentEmotion emotion()
      Gets the emotion.

      An object specifying the emotion detection enrichment and related parameters.

      Returns:
      the emotion
    • categories

      public Map<String,​Object> categories()
      Gets the categories.

      An object that indicates the Categories enrichment will be applied to the specified field.

      Returns:
      the categories
    • semanticRoles

      public NluEnrichmentSemanticRoles semanticRoles()
      Gets the semanticRoles.

      An object specifiying the semantic roles enrichment and related parameters.

      Returns:
      the semanticRoles
    • relations

      public NluEnrichmentRelations relations()
      Gets the relations.

      An object specifying the relations enrichment and related parameters.

      Returns:
      the relations
    • concepts

      public NluEnrichmentConcepts concepts()
      Gets the concepts.

      An object specifiying the concepts enrichment and related parameters.

      Returns:
      the concepts