public class SemanticRolesResultSubject
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.util.List<SemanticRolesEntity> |
entities |
protected java.util.List<SemanticRolesKeyword> |
keywords |
protected java.lang.String |
text |
Constructor and Description |
---|
SemanticRolesResultSubject() |
Modifier and Type | Method and Description |
---|---|
java.util.List<SemanticRolesEntity> |
getEntities()
Gets the entities.
|
java.util.List<SemanticRolesKeyword> |
getKeywords()
Gets the keywords.
|
java.lang.String |
getText()
Gets the text.
|
protected java.lang.String text
protected java.util.List<SemanticRolesEntity> entities
protected java.util.List<SemanticRolesKeyword> keywords
public java.lang.String getText()
Text that corresponds to the subject role.
public java.util.List<SemanticRolesEntity> getEntities()
An array of extracted entities.
public java.util.List<SemanticRolesKeyword> getKeywords()
An array of extracted keywords.