public class NluEnrichmentSemanticRoles
extends com.ibm.cloud.sdk.core.service.model.GenericModel
| Modifier and Type | Class and Description |
|---|---|
static class |
NluEnrichmentSemanticRoles.Builder
Builder.
|
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.Boolean |
entities |
protected java.lang.Boolean |
keywords |
protected java.lang.Long |
limit |
| Modifier | Constructor and Description |
|---|---|
protected |
NluEnrichmentSemanticRoles(NluEnrichmentSemanticRoles.Builder builder) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
entities()
Gets the entities.
|
java.lang.Boolean |
keywords()
Gets the keywords.
|
java.lang.Long |
limit()
Gets the limit.
|
NluEnrichmentSemanticRoles.Builder |
newBuilder()
New builder.
|
protected java.lang.Boolean entities
protected java.lang.Boolean keywords
protected java.lang.Long limit
protected NluEnrichmentSemanticRoles(NluEnrichmentSemanticRoles.Builder builder)
public NluEnrichmentSemanticRoles.Builder newBuilder()
public java.lang.Boolean entities()
When `true`, entities are extracted from the identified sentence parts.
public java.lang.Boolean keywords()
When `true`, keywords are extracted from the identified sentence parts.
public java.lang.Long limit()
The maximum number of semantic roles enrichments to extact from each instance of the specified field.