public class SemanticRolesResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected SemanticRolesResultAction |
action |
protected SemanticRolesResultObject |
object |
protected java.lang.String |
sentence |
protected SemanticRolesResultSubject |
subject |
Constructor and Description |
---|
SemanticRolesResult() |
Modifier and Type | Method and Description |
---|---|
SemanticRolesResultAction |
getAction()
Gets the action.
|
SemanticRolesResultObject |
getObject()
Gets the object.
|
java.lang.String |
getSentence()
Gets the sentence.
|
SemanticRolesResultSubject |
getSubject()
Gets the subject.
|
protected java.lang.String sentence
protected SemanticRolesResultSubject subject
protected SemanticRolesResultAction action
protected SemanticRolesResultObject object
public java.lang.String getSentence()
Sentence from the source that contains the subject, action, and object.
public SemanticRolesResultSubject getSubject()
The extracted subject from the sentence.
public SemanticRolesResultAction getAction()
The extracted action from the sentence.
public SemanticRolesResultObject getObject()
The extracted object from the sentence.