RepositoryWebrefWebrefAnnotationStats

GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefWebrefAnnotationStats


Table of Contents ▼

Jump to a specific part of the page:

Description

Detailed statistics about the annotations in the document. Contains, for example, the number of ranges with name matches, the number of entities matched, and the number of entities with mentions. This information can be used to tune some WebRef-internal scoring functions based on existing annotations (e.g., document-length normalization in global link support). Next available tag: 10.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. docWeight (type: number(), default: nil)
    - The relative weight of the document, used when aggregating information from multiple documents.
  2. ngramContext (type: list(GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefNgramContext), default: nil)
    - Extracted n-grams context scores (in cdoc language, weighted by doc_weight) output if webref_populate_annotation_ngrams is enabled.
  3. numCandidates (type: String.t, default: nil)
    - The total number of candidates.
  4. numConceptsWithCandidates (type: String.t, default: nil)
    - The total number of concepts with at least 1 candidate.
  5. numConceptsWithMentions (type: String.t, default: nil)
    - The total number of concepts with at least 1 mention.
  6. numRangesWithCandidates (type: String.t, default: nil)
    - The total number of RangeData objects with at least one candidate.
  7. statsPerType (type: list(GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefAnnotationStatsPerType), default: nil)
    - Statistics for each token type.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefWebrefAnnotationStats{
docWeight: number() | nil,
ngramContext: [GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefNgramContext.t()] | nil,
numCandidates: String.t() | nil,
numConceptsWithCandidates: String.t() | nil,
numConceptsWithMentions: String.t() | nil,
numRangesWithCandidates: String.t() | nil,
statsPerType: [ GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefAnnotationStatsPerType.t() ] | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefWebrefAnnotationStats