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

DocData contains additional salient-term-set-level information that complements a SalientTermSet.

Attributes

  • confidence (type: number(), default: nil) - confidence is a measurement of how much data we had to compute the SalientTermSet. Range: [0.0, 1.0]
  • headVolumeRatio (type: number(), default: nil) - head_volume_ratio is the ratio of the sum of term frequency of the top K terms over the volume of all terms. Range: [0.0, 1.0]. K is defined by Accumulator2Params::head_size.
  • language (type: String.t, default: nil) - language is the main language of this SalientTermSet.
  • signalData (type: list(GoogleApi.ContentWarehouse.V1.Model.QualitySalientTermsSignalData.t), default: nil) - signal_data contains signal-specific (e.g., body, anchors, clicks) data for this SalientTermSet.
  • virtualVolume (type: number(), default: nil) - virtual_volume is a measurement of how much data we had to compute the SalientTermSet. Range: [0.0, +infinity)].

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.QualitySalientTermsDocData{
  confidence: number() | nil,
  headVolumeRatio: number() | nil,
  language: String.t() | nil,
  signalData:
    [GoogleApi.ContentWarehouse.V1.Model.QualitySalientTermsSignalData.t()]
    | nil,
  virtualVolume: number() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.