Class NluEnrichmentSemanticRoles

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

public class NluEnrichmentSemanticRoles
extends com.ibm.cloud.sdk.core.service.model.GenericModel
An object specifiying the semantic roles enrichment and related parameters.
  • Method Details

    • newBuilder

      New builder.
      Returns:
      a NluEnrichmentSemanticRoles builder
    • entities

      public Boolean entities()
      Gets the entities.

      When `true`, entities are extracted from the identified sentence parts.

      Returns:
      the entities
    • keywords

      public Boolean keywords()
      Gets the keywords.

      When `true`, keywords are extracted from the identified sentence parts.

      Returns:
      the keywords
    • limit

      public Long limit()
      Gets the limit.

      The maximum number of semantic roles enrichments to extact from each instance of the specified field.

      Returns:
      the limit