Googly. DocumentAI. Model. GoogleCloudDocumentaiV1DocumentTextChange
(googly_document_ai v0.1.0)
Copy Markdown
View Source
This message is used for text changes aka. OCR corrections.
Attributes
-
changed_text(type:String.t()) - The text that replaces the text identified in thetext_anchor. -
provenance(type:list(Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentProvenance.t())) - The history of this annotation. -
text_anchor(type:Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentTextAnchor.t()) - Provenance of the correction. Text anchor indexing into the Document.text. There can only be a singleTextAnchor.text_segmentselement. If the start and end index of the text segment are the same, the text change is inserted before that index.
Summary
Types
@type t() :: %Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentTextChange{ changed_text: String.t() | nil, provenance: [Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentProvenance.t()] | nil, text_anchor: Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentTextAnchor.t() | nil }