Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class TextEntityExtractionAnnotation.
Text entity extraction annotation.
Generated from protobuf message google.cloud.datalabeling.v1beta1.TextEntityExtractionAnnotation
Namespace
Google \ Cloud \ DataLabeling \ V1beta1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ annotation_spec |
AnnotationSpec
Label of the text entities. |
↳ sequential_segment |
SequentialSegment
Position of the entity. |
getAnnotationSpec
Label of the text entities.
| Returns | |
|---|---|
| Type | Description |
AnnotationSpec|null |
|
hasAnnotationSpec
clearAnnotationSpec
setAnnotationSpec
Label of the text entities.
| Parameter | |
|---|---|
| Name | Description |
var |
AnnotationSpec
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getSequentialSegment
Position of the entity.
| Returns | |
|---|---|
| Type | Description |
SequentialSegment|null |
|
hasSequentialSegment
clearSequentialSegment
setSequentialSegment
Position of the entity.
| Parameter | |
|---|---|
| Name | Description |
var |
SequentialSegment
|
| Returns | |
|---|---|
| Type | Description |
$this |
|