Class NluEnrichmentKeywords

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.discovery.v1.model.NluEnrichmentKeywords
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class NluEnrichmentKeywords
extends com.ibm.cloud.sdk.core.service.model.GenericModel
An object specifying the Keyword enrichment and related parameters.
  • Method Details

    • newBuilder

      public NluEnrichmentKeywords.Builder newBuilder()
      New builder.
      Returns:
      a NluEnrichmentKeywords builder
    • sentiment

      public Boolean sentiment()
      Gets the sentiment.

      When `true`, sentiment analysis of keywords will be performed on the specified field.

      Returns:
      the sentiment
    • emotion

      public Boolean emotion()
      Gets the emotion.

      When `true`, emotion detection of keywords will be performed on the specified field.

      Returns:
      the emotion
    • limit

      public Long limit()
      Gets the limit.

      The maximum number of keywords to extract for each instance of the specified field.

      Returns:
      the limit