public class CaptureGroup
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CaptureGroup.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
group |
protected java.util.List<java.lang.Long> |
location |
Modifier | Constructor and Description |
---|---|
protected |
CaptureGroup(CaptureGroup.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
group()
Gets the group.
|
java.util.List<java.lang.Long> |
location()
Gets the location.
|
CaptureGroup.Builder |
newBuilder()
New builder.
|
protected java.lang.String group
protected java.util.List<java.lang.Long> location
protected CaptureGroup(CaptureGroup.Builder builder)
public CaptureGroup.Builder newBuilder()
public java.lang.String group()
A recognized capture group for the entity.
public java.util.List<java.lang.Long> location()
Zero-based character offsets that indicate where the entity value begins and ends in the input text.