View Source GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaDocument (google_api_content_warehouse v0.3.0)

A single document.

Attributes

  • author (type: list(GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex.t), default: nil) - The author(s) of this document.
  • bytes (type: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t, default: nil) - The bytes in this document.
  • characters (type: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t, default: nil) - The characters in this document.
  • id (type: String.t, default: nil) - The identifier of this document.
  • languageCode (type: list(String.t), default: nil) - A set of BCP-47 codes indicating the language(s) of this document.
  • languageSpans (type: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t, default: nil) - The language spans in this document.
  • mentions (type: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t, default: nil) - The mentions in this document.
  • paragraphs (type: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t, default: nil) - The paragraphs in this document.
  • sentences (type: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t, default: nil) - The sentences in this document.
  • text (type: String.t, default: nil) - The text of this document. Must contain valid UTF-8.
  • tokens (type: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t, default: nil) - The tokens in this document.
  • url (type: String.t, default: nil) - The url of this document.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

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

Unwrap a decoded JSON object into its complex fields.