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.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NluEnrichmentSemanticRoles.Builder
Builder. -
Method Summary
Modifier and Type Method Description Boolean
entities()
Gets the entities.Boolean
keywords()
Gets the keywords.Long
limit()
Gets the limit.NluEnrichmentSemanticRoles.Builder
newBuilder()
New builder.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a NluEnrichmentSemanticRoles builder
-
entities
Gets the entities.When `true`, entities are extracted from the identified sentence parts.
- Returns:
- the entities
-
keywords
Gets the keywords.When `true`, keywords are extracted from the identified sentence parts.
- Returns:
- the keywords
-
limit
Gets the limit.The maximum number of semantic roles enrichments to extact from each instance of the specified field.
- Returns:
- the limit
-