Class TextExtractionAnnotation (2.8.1)

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

Attributes

NameDescription
text_segment google.cloud.automl_v1beta1.types.TextSegment
An entity annotation will set this, which is the part of the original text to which the annotation pertains. This field is a member of `oneof`_ ``annotation``.
score float
Output only. A confidence estimate between 0.0 and 1.0. A higher value means greater confidence in correctness of the annotation.

Inheritance

builtins.object > proto.message.Message > TextExtractionAnnotation