Class Entity

A phrase in the text that is a known entity type, such as a person, an organization, or location.

Attributes
NameDescription
google.cloud.documentai_v1beta2.types.Document.TextAnchortext_anchor
Provenance of the entity. Text anchor indexing into the Document.text.
strtype_
Entity type from a schema e.g. ``Address``.
strmention_text
Text value in the document e.g. ``1600 Amphitheatre Pkwy``.
strmention_id
Deprecated. Use ``id`` field instead.
floatconfidence
Optional. Confidence of detected Schema entity. Range [0, 1].
google.cloud.documentai_v1beta2.types.Document.PageAnchorpage_anchor
Optional. Represents the provenance of this entity wrt. the location on the page where it was found.
strid
Optional. Canonical id. This will be a unique value in the entity list for this document.
google.cloud.documentai_v1beta2.types.BoundingPolybounding_poly_for_demo_frontend
Optional. Temporary field to store the bounding poly for short-term POCs. Used by the frontend only. Do not use before you talk to ybo@ and lukasr@.

Inheritance

builtins.object > proto.message.Message > Entity