public class RelationArgument
extends com.ibm.cloud.sdk.core.service.model.GenericModel
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 © 2023 IBM Cloud. All rights reserved.