public class SemanticRolesResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Method and Description |
---|---|
SemanticRolesResultAction |
getAction()
Gets the action.
|
SemanticRolesResultObject |
getObject()
Gets the object.
|
String |
getSentence()
Gets the sentence.
|
SemanticRolesResultSubject |
getSubject()
Gets the subject.
|
public 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.
Copyright © 2024 IBM Cloud. All rights reserved.