GoogleCloudDocumentaiV1DocumentEntity

GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentEntity


Table of Contents ▼

Jump to a specific part of the page:

Description

An entity that could be a phrase in the text or a property that belongs to the document. It is a known entity type, such as a person, an organization, or location.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. confidence (type: number(), default: nil)
    - Optional. Confidence of detected Schema entity. Range [0, 1].
  2. id (type: String.t, default: nil)
    - Optional. Canonical id. This will be a unique value in the entity list for this document.
  3. mentionId (type: String.t, default: nil)
    - Optional. Deprecated. Use id field instead.
  4. mentionText (type: String.t, default: nil)
    - Optional. Text value of the entity e.g. 1600 Amphitheatre Pkwy.
  5. normalizedValue (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentEntityNormalizedValue, default: nil)
    - Optional. Normalized entity value. Absent if the extracted value could not be converted or the type (e.g. address) is not supported for certain parsers. This field is also only populated for certain supported document types.
  6. pageAnchor (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageAnchor, default: nil)
    - Optional. Represents the provenance of this entity wrt. the location on the page where it was found.
  7. properties (type: list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentEntity), default: nil)
    - Optional. Entities can be nested to form a hierarchical data structure representing the content in the document.
  8. provenance (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentProvenance, default: nil)
    - Optional. The history of this annotation.
  9. redacted (type: boolean(), default: nil)
    - Optional. Whether the entity will be redacted for de-identification purposes.
  10. textAnchor (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchor, default: nil)
    - Optional. Provenance of the entity. Text anchor indexing into the Document.text.
  11. type (type: String.t, default: nil)
    - Required. Entity type from a schema e.g. Address.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentEntity{
confidence: number() | nil,
id: String.t() | nil,
mentionId: String.t() | nil,
mentionText: String.t() | nil,
normalizedValue: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentEntityNormalizedValue.t() | nil,
pageAnchor: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageAnchor.t() | nil,
properties: [#t:t/0()] | nil,
provenance: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentProvenance.t() | nil,
redacted: boolean() | nil,
textAnchor: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchor.t() | nil,
type: String.t() | nil
}

Function

@spec decode(struct(), keyword()) :: struct()

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentEntity