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

Represents all information we have about a specific/localized name. Next available tag: 13. NOTE: If you add a field to the NameInfo proto and wish to retain it after the GlobalNameInfo merging steps in //r/w/enricher/pipeline:topic-enricher-flume-main then the appropriate combining logic for turning a flume stream of NameInfo protos into a single NameInfo must be updated with the new field in mind, in either or both of CombineContextNameInfosFn/CombineNameInfosFn. If not, the newly added field will be ignored during the merging steps (presumably because it is a transient field or a debug field that is not necessary to be retained).

Attributes

  • aggregatedScores (type: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefAggregatedEntityNameScores.t, default: nil) - The score aggregated from all sources.
  • annotatedCategory (type: list(GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefAnnotatedCategoryInfo.t), default: nil) - Information on categories annotated on the range.
  • debugDetails (type: list(GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefNameDebugInfo.t), default: nil) - DEBUG ONLY: stores a list of queries with per-candidate scores about signals used for prior learning.
  • includeInModel (type: boolean(), default: nil) - Field which decides if this NameInfo should be included in model creation.
  • name (type: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefLocalizedString.t, default: nil) - The specific name to which this information applies.
  • ngramData (type: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefUniversalNgramData.t, default: nil) - N-gram data (e.g. n-gram IDF).
  • perNameLightweightToken (type: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefLightweightTokensPerNameLightweightToken.t, default: nil) - Lightweight token semantic metadata for inflected name.
  • scores (type: GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefNameScores.t, default: nil) - The name-specific scores. These scores only depend on the name and are independent of the entity.
  • source (type: list(GoogleApi.ContentWarehouse.V1.Model.RepositoryWebrefEntityNameSource.t), default: nil) - The per-source scores.

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.