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 | Method and Description | 
|---|---|
Boolean | 
entities()
Gets the entities. 
 | 
Boolean | 
keywords()
Gets the keywords. 
 | 
Long | 
limit()
Gets the limit. 
 | 
SemanticRolesOptions.Builder | 
newBuilder()
New builder. 
 | 
public SemanticRolesOptions.Builder newBuilder()
public Long limit()
Maximum number of semantic_roles results to return.
public Boolean keywords()
Set this to `true` to return keyword information for subjects and objects.
public Boolean entities()
Set this to `true` to return entity information for subjects and objects.
Copyright © 2021 IBM Cloud. All rights reserved.