Class: Google::Cloud::DocumentAI::V1beta3::Document::TextChange
- Inherits:
-
Object
- Object
- Google::Cloud::DocumentAI::V1beta3::Document::TextChange
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/documentai/v1beta3/document.rb
Overview
This message is used for text changes aka. OCR corrections.
Instance Attribute Summary collapse
-
#changed_text ⇒ ::String
The text that replaces the text identified in the
text_anchor
. -
#provenance ⇒ ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Provenance>
The history of this annotation.
-
#text_anchor ⇒ ::Google::Cloud::DocumentAI::V1beta3::Document::TextAnchor
Provenance of the correction.
Instance Attribute Details
#changed_text ⇒ ::String
Returns The text that replaces the text identified in the text_anchor
.
1031 1032 1033 1034 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 1031 class TextChange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#provenance ⇒ ::Array<::Google::Cloud::DocumentAI::V1beta3::Document::Provenance>
Returns The history of this annotation.
1031 1032 1033 1034 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 1031 class TextChange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#text_anchor ⇒ ::Google::Cloud::DocumentAI::V1beta3::Document::TextAnchor
Returns 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.
1031 1032 1033 1034 |
# File 'proto_docs/google/cloud/documentai/v1beta3/document.rb', line 1031 class TextChange include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |