public class SemanticRolesOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Supported languages: English, German, Japanese, Korean, Spanish.
Modifier and Type | Class and Description |
---|---|
static class |
SemanticRolesOptions.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 |
SemanticRolesOptions(SemanticRolesOptions.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.
|
SemanticRolesOptions.Builder |
newBuilder()
New builder.
|
protected java.lang.Long limit
protected java.lang.Boolean keywords
protected java.lang.Boolean entities
protected SemanticRolesOptions(SemanticRolesOptions.Builder builder)
public SemanticRolesOptions.Builder newBuilder()
public java.lang.Long limit()
Maximum number of semantic_roles results to return.
public java.lang.Boolean keywords()
Set this to `true` to return keyword information for subjects and objects.
public java.lang.Boolean entities()
Set this to `true` to return entity information for subjects and objects.