View Source GoogleApi.ContentWarehouse.V1.Model.GoodocLabel (google_api_content_warehouse v0.4.0)

Label aggregates all kinds of optional characteristics of page elements.

Attributes

  • AnchorLabel (type: list(GoogleApi.ContentWarehouse.V1.Model.GoodocAnchorLabel.t), default: nil) - AnchorLabel identifies a link target.
  • BreakLabel (type: GoogleApi.ContentWarehouse.V1.Model.GoodocBreakLabel.t, default: nil) -
  • CharLabel (type: GoogleApi.ContentWarehouse.V1.Model.GoodocCharLabel.t, default: nil) - CharLabel is specifically intended for symbols
  • LanguageLabel (type: list(GoogleApi.ContentWarehouse.V1.Model.GoodocLanguageLabel.t), default: nil) - Languages used in the element (page, block, paragraph or word). Ordered by dominant-language first. Note: content scanjobs processed by the garbage_text_detector before CL 9223538 (Dec. 2008) have LanguageLabels in arbitrary order (within Page and Block elements) -- the confidence value should be inspected to find the dominant language guess for these, rather than just taking the first.
  • SemanticLabel (type: GoogleApi.ContentWarehouse.V1.Model.GoodocSemanticLabel.t, default: nil) - SemanticLabel is defined in goodoc-semantics.proto, it allows rich annotation of content, identifying the nature of page elements.

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.