GoogleApi.ContentWarehouse.V1.Model.GoodocLabel
Table of Contents ▼
Jump to a specific part of the page:
Description
Label aggregates all kinds of optional characteristics of page elements.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
AnchorLabel
(type:list(GoogleApi.ContentWarehouse.V1.Model.GoodocAnchorLabel)
, default:nil
)
- AnchorLabel identifies a link target. -
BreakLabel
(type:GoogleApi.ContentWarehouse.V1.Model.GoodocBreakLabel
, default:nil
)
- -
CharLabel
(type:GoogleApi.ContentWarehouse.V1.Model.GoodocCharLabel
, default:nil
)
- CharLabel is specifically intended for symbols -
LanguageLabel
(type:list(GoogleApi.ContentWarehouse.V1.Model.GoodocLanguageLabel)
, 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
, default:nil
)
- SemanticLabel is defined in goodoc-semantics.proto, it allows rich annotation of content, identifying the nature of page elements.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoodocLabel{
AnchorLabel: [GoogleApi.ContentWarehouse.V1.Model.GoodocAnchorLabel.t()] | nil,
BreakLabel: GoogleApi.ContentWarehouse.V1.Model.GoodocBreakLabel.t() | nil,
CharLabel: GoogleApi.ContentWarehouse.V1.Model.GoodocCharLabel.t() | nil,
LanguageLabel: [GoogleApi.ContentWarehouse.V1.Model.GoodocLanguageLabel.t()] | nil,
SemanticLabel: GoogleApi.ContentWarehouse.V1.Model.GoodocSemanticLabel.t() | nil
}
AnchorLabel: [GoogleApi.ContentWarehouse.V1.Model.GoodocAnchorLabel.t()] | nil,
BreakLabel: GoogleApi.ContentWarehouse.V1.Model.GoodocBreakLabel.t() | nil,
CharLabel: GoogleApi.ContentWarehouse.V1.Model.GoodocCharLabel.t() | nil,
LanguageLabel: [GoogleApi.ContentWarehouse.V1.Model.GoodocLanguageLabel.t()] | nil,
SemanticLabel: GoogleApi.ContentWarehouse.V1.Model.GoodocSemanticLabel.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoodocLabel