View Source GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextChange (google_api_content_warehouse v0.6.1)
This message is used for text changes aka. OCR corrections.
Attributes
-
changedText(type:String.t, default:nil) - The text that replaces the text identified in thetext_anchor. -
provenance(type:list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentProvenance.t), default:nil) - The history of this annotation. -
textAnchor(type:GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchor.t, default:nil) - 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
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@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 }