GoogleCloudDocumentaiV1DocumentTextAnchor

AI Overview😉

  • The potential purpose of this module is to help Google's search algorithm understand the structure and content of a document, particularly in the context of form fields and text segments. It appears to be a way to index and reference specific parts of a document's text, making it easier for the algorithm to access and analyze that content.
  • This module could impact search results by allowing the algorithm to better understand the context and meaning of specific text segments within a document. This could lead to more accurate and relevant search results, particularly in cases where the search query is related to a specific form field or text segment. It may also enable the algorithm to better identify and rank documents that contain specific types of content, such as forms or structured data.
  • To be more favorable for this function, a website could ensure that its documents are well-structured and contain clear, descriptive text segments. This could involve using semantic HTML elements, such as

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

Text reference indexing into the Document.text.

Attributes

  • content (type: String.t, default: nil) - Contains the content of the text span so that users do not have to look it up in the text_segments. It is always populated for formFields.
  • textSegments (type: list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment.t), default: nil) - The text segments from 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.GoogleCloudDocumentaiV1DocumentTextAnchor{
    content: String.t() | nil,
    textSegments:
      [
        GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchorTextSegment.t()
      ]
      | nil
  }

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.