GoogleCloudDocumentaiV1DocumentTextChange

GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextChange


Table of Contents ▼

Jump to a specific part of the page:

Description

This message is used for text changes aka. OCR corrections.

Attributes List

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

View Attributes

Attributes

  1. changedText (type: String.t, default: nil)
    - The text that replaces the text identified in the text_anchor.
  2. provenance (type: list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentProvenance), default: nil)
    - The history of this annotation.
  3. textAnchor (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchor, default: nil)
    - Provenance of the correction. Text anchor indexing into the Document.text. There can only be a single TextAnchor.text_segments element. If the start and end index of the text segment are the same, the text change is inserted before that index.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextChange{
changedText: String.t() | nil,
provenance: [ GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentProvenance.t() ] | nil,
textAnchor: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchor.t() | nil
}

Function

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

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