GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment

AI Overview😉

  • The potential purpose of this module is to help Google's search algorithm understand the structure and content of large documents, particularly those that are sharded (broken into smaller pieces) for efficient processing. This module appears to be focused on identifying and indexing specific text segments within these documents.
  • This module could impact search results by allowing Google to more accurately identify and retrieve relevant text segments from large documents, potentially improving the relevance and accuracy of search results. It may also enable Google to better handle documents with complex structures or formatting.
  • To be more favorable for this function, a website may consider optimizing its document structure and formatting to make it easier for Google's algorithm to identify and index text segments. This could include using clear and consistent headings, breaking up long documents into smaller sections, and ensuring that text is properly encoded and formatted. Additionally, websites may want to consider using schema markup or other semantic HTML elements to provide additional context and structure to their content.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment (google_api_content_warehouse v0.4.0)

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

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

Summary

Types

t()

Functions

decode(value, options)

Unwrap a decoded JSON object into its complex fields.

Types

Link to this type

t()

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

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.