GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment

GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment


Table of Contents ▼

Jump to a specific part of the page:

Description

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 List

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

View Attributes

Attributes

  1. endIndex (type: String.t, default: nil)
    - TextSegment half open end UTF-8 char index in the Document.text.
  2. startIndex (type: String.t, default: nil)
    - TextSegment start UTF-8 char index in the Document.text.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment{
endIndex: String.t() | nil,
startIndex: String.t() | nil
}

Function

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

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