GoogleCloudDocumentaiV1DocumentPageLayout

AI Overview😉

  • The potential purpose of this module is to analyze and understand the layout and structure of a document, such as a PDF or image, and extract relevant information about the visual elements, text, and orientation of the content. This can help Google's search algorithm better comprehend the context and meaning of the document.
  • This module could impact search results by allowing Google to better index and retrieve documents that contain complex layouts, such as tables, forms, and diagrams. This could lead to more accurate and relevant search results, especially for searches that involve specific document types or formats. Additionally, this module could help Google's algorithm to better understand the relationships between different elements within a document, leading to more informed ranking decisions.
  • A website may change things to be more favorable for this function by ensuring that their documents are well-structured and follow accessibility guidelines, making it easier for Google's algorithm to extract relevant information. This could include using clear and consistent formatting, providing alternative text for images, and using semantic HTML elements to define the structure of the document. Additionally, websites could consider using Google's recommended document formats, such as PDF/UA, to make their documents more machine-readable.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

Visual element describing a layout unit on a page.

Attributes

  • boundingPoly (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1BoundingPoly.t, default: nil) - The bounding polygon for the Layout.
  • confidence (type: number(), default: nil) - Confidence of the current Layout within context of the object this layout is for. e.g. confidence can be for a single token, a table, a visual element, etc. depending on context. Range [0, 1].
  • orientation (type: String.t, default: nil) - Detected orientation for the Layout.
  • textAnchor (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchor.t, default: nil) - Text anchor indexing into 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.GoogleCloudDocumentaiV1DocumentPageLayout{
    boundingPoly:
      GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1BoundingPoly.t()
      | nil,
    confidence: number() | nil,
    orientation: String.t() | nil,
    textAnchor:
      GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchor.t()
      | nil
  }

Functions

Link to this function

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.