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

This message summarized anchors of one trusted site.

Attributes

  • matchedScore (type: number(), default: nil) - Difference in KL-divergence from spam and non-spam anchors. Value >0 indicate that anchor text from this trusted source is similar to anchors classified as spam which means that spammy anchors are legitimate.
  • matchedScoreInfo (type: list(String.t), default: nil) - Detailed debug information about computation of trusted anchors match. Populated only when --anchorspam_penalizer_debug=true
  • phrasesScore (type: number(), default: nil) - Count of anchors classified as spam using anchor text.
  • site (type: String.t, default: nil) - Site name from anchor.source().site().
  • text (type: list(String.t), default: nil) - Tokenized text of all anchors from the site.
  • trustedScore (type: number(), default: nil) - Fraction of pages with newsy anchors on the site, >0 for trusted sites.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.IndexingDocjoinerAnchorTrustedInfo{
  matchedScore: number() | nil,
  matchedScoreInfo: [String.t()] | nil,
  phrasesScore: number() | nil,
  site: String.t() | nil,
  text: [String.t()] | nil,
  trustedScore: number() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.