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