Class CaptureGroup

java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v2.model.CaptureGroup
All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel

public class CaptureGroup
extends com.ibm.cloud.sdk.core.service.model.GenericModel
CaptureGroup.
  • Method Details

    • newBuilder

      public CaptureGroup.Builder newBuilder()
      New builder.
      Returns:
      a CaptureGroup builder
    • group

      public String group()
      Gets the group.

      A recognized capture group for the entity.

      Returns:
      the group
    • location

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

      Zero-based character offsets that indicate where the entity value begins and ends in the input text.

      Returns:
      the location