Class TextExtractionAnnotation (2.4.2)

TextExtractionAnnotation(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Annotation for identifying spans of text. .. attribute:: text_segment

An entity annotation will set this, which is the part of the original text to which the annotation pertains.

:type: google.cloud.automl_v1.types.TextSegment

Attribute

NameDescription
score float
Output only. A confidence estimate between 0.0 and 1.0. A higher value means greater confidence in correctness of the annotation.