public class RelationsResult
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.util.List<RelationArgument> |
arguments |
protected java.lang.Double |
score |
protected java.lang.String |
sentence |
protected java.lang.String |
type |
Constructor and Description |
---|
RelationsResult() |
Modifier and Type | Method and Description |
---|---|
java.util.List<RelationArgument> |
getArguments()
Gets the arguments.
|
java.lang.Double |
getScore()
Gets the score.
|
java.lang.String |
getSentence()
Gets the sentence.
|
java.lang.String |
getType()
Gets the type.
|
protected java.lang.Double score
protected java.lang.String sentence
protected java.lang.String type
protected java.util.List<RelationArgument> arguments
public java.lang.Double getScore()
Confidence score for the relation. Higher values indicate greater confidence.
public java.lang.String getSentence()
The sentence that contains the relation.
public java.lang.String getType()
The type of the relation.
public java.util.List<RelationArgument> getArguments()
Entity mentions that are involved in the relation.