Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment (googly_document_ai v0.1.0)

Copy Markdown View Source

A text segment in the Document.text. The indices may be out of bounds which indicate that the text extends into another document shard for large sharded documents. See ShardInfo.text_offset

Attributes

  • end_index (type: String.t()) - TextSegment half open end UTF-8 char index in the Document.text.
  • start_index (type: String.t()) - TextSegment start UTF-8 char index in the Document.text.

Summary

Types

t()

@type t() ::
  %Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment{
    end_index: String.t() | nil,
    start_index: String.t() | nil
  }