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 Details

    • RelationArgument

      public RelationArgument()
  • Method Details

    • getEntities

      public List<RelationEntity> getEntities()
      Gets the entities.

      An array of extracted entities.

      Returns:
      the entities
    • getLocation

      public List<Long> getLocation()
      Gets the location.

      Character offsets indicating the beginning and end of the mention in the analyzed text.

      Returns:
      the location
    • getText

      public String getText()
      Gets the text.

      Text that corresponds to the argument.

      Returns:
      the text