public class RelationArgument
extends com.ibm.cloud.sdk.core.service.model.GenericModel
| Constructor and Description | 
|---|
RelationArgument()  | 
| Modifier and Type | Method and Description | 
|---|---|
List<RelationEntity> | 
getEntities()
Gets the entities. 
 | 
List<Long> | 
getLocation()
Gets the location. 
 | 
String | 
getText()
Gets the text. 
 | 
public List<RelationEntity> getEntities()
An array of extracted entities.
public List<Long> getLocation()
Character offsets indicating the beginning and end of the mention in the analyzed text.
public String getText()
Text that corresponds to the argument.
Copyright © 2021 IBM Cloud. All rights reserved.