GoogleCloudDocumentaiV1DocumentPageFormField

AI Overview😉

  • The potential purpose of this module is to detect and extract form fields from web pages, such as input fields, checkboxes, and text areas, along with their corresponding labels and values. This module appears to be part of a larger document analysis system.
  • This module could impact search results by allowing Google to better understand the structure and content of web pages, particularly those with forms and interactive elements. This could lead to more accurate and relevant search results, especially for searches related to specific topics or tasks that involve filling out forms.
  • To be more favorable for this function, a website could ensure that its form fields and labels are clearly and consistently structured, using standard HTML elements and attributes. Additionally, using descriptive and unique labels for form fields, and providing clear and concise instructions for users, could help Google's algorithm better understand the page's content and structure.

Interesting Module? Vote 👇

Voting helps other researchers find interesting modules.

Current Votes: 0

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

A form field detected on the page.

Attributes

  • correctedKeyText (type: String.t, default: nil) - Created for Labeling UI to export key text. If corrections were made to the text identified by the field_name.text_anchor, this field will contain the correction.
  • correctedValueText (type: String.t, default: nil) - Created for Labeling UI to export value text. If corrections were made to the text identified by the field_value.text_anchor, this field will contain the correction.
  • fieldName (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageLayout.t, default: nil) - Layout for the FormField name. e.g. Address, Email, Grand total, Phone number, etc.
  • fieldValue (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageLayout.t, default: nil) - Layout for the FormField value.
  • nameDetectedLanguages (type: list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageDetectedLanguage.t), default: nil) - A list of detected languages for name together with confidence.
  • provenance (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentProvenance.t, default: nil) - The history of this annotation.
  • valueDetectedLanguages (type: list(GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageDetectedLanguage.t), default: nil) - A list of detected languages for value together with confidence.
  • valueType (type: String.t, default: nil) - If the value is non-textual, this field represents the type. Current valid values are: - blank (this indicates the field_value is normal text) - unfilled_checkbox - filled_checkbox

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.GoogleCloudDocumentaiV1DocumentPageFormField{
    correctedKeyText: String.t() | nil,
    correctedValueText: String.t() | nil,
    fieldName:
      GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageLayout.t()
      | nil,
    fieldValue:
      GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageLayout.t()
      | nil,
    nameDetectedLanguages:
      [
        GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageDetectedLanguage.t()
      ]
      | nil,
    provenance:
      GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentProvenance.t()
      | nil,
    valueDetectedLanguages:
      [
        GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageDetectedLanguage.t()
      ]
      | nil,
    valueType: 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.