Class RelationArgument
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.natural_language_understanding.v1.model.RelationArgument
- All Implemented Interfaces:
 com.ibm.cloud.sdk.core.service.model.ObjectModel
public class RelationArgument
extends com.ibm.cloud.sdk.core.service.model.GenericModel
RelationArgument.
- 
Constructor Summary
Constructors Constructor Description RelationArgument() - 
Method Summary
Modifier and Type Method Description List<RelationEntity>getEntities()Gets the entities.List<Long>getLocation()Gets the location.StringgetText()Gets the text.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString 
- 
Constructor Details
- 
RelationArgument
public RelationArgument() 
 - 
 - 
Method Details
- 
getEntities
Gets the entities.An array of extracted entities.
- Returns:
 - the entities
 
 - 
getLocation
Gets the location.Character offsets indicating the beginning and end of the mention in the analyzed text.
- Returns:
 - the location
 
 - 
getText
Gets the text.Text that corresponds to the argument.
- Returns:
 - the text
 
 
 -