Class CaptureGroup
java.lang.Object
com.ibm.cloud.sdk.core.service.model.GenericModel
com.ibm.watson.assistant.v1.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
A recognized capture group for a pattern-based entity.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CaptureGroup.Builder
Builder. -
Method Summary
Modifier and Type Method Description String
group()
Gets the group.List<Long>
location()
Gets the location.CaptureGroup.Builder
newBuilder()
New builder.Methods inherited from class com.ibm.cloud.sdk.core.service.model.GenericModel
equals, hashCode, toString
-
Method Details
-
newBuilder
New builder.- Returns:
- a CaptureGroup builder
-
group
Gets the group.A recognized capture group for the entity.
- Returns:
- the group
-
location
Gets the location.Zero-based character offsets that indicate where the entity value begins and ends in the input text.
- Returns:
- the location
-