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

Saft named-entities info for a given topic.

Attributes

  • canonicalEntityName (type: String.t, default: nil) - Representative canonical name for the entity.
  • entitySalience (type: float(), default: nil) - Score indicating the saliency (centrality) of this entity to the original_text.
  • entityTypeName (type: String.t, default: nil) - The type name, like "/saft/person", "/saft/art". See README.entity-types for the inventory of SAFT type tags.
  • mentionText (type: String.t, default: nil) - Representative entity name mention extracted from original_text.
  • mentionType (type: String.t, default: nil) - SAFT Mention type.
  • mid (type: String.t, default: nil) - Freebase MID for entity if this the saft entity corresponds to a Webref KG mid. This field is not always populated and is taken from FREEBASE_MID mid in EntityProfile in the saft entity annotation.
  • originalText (type: String.t, default: nil) - The original input text (e.g. the anchor text) where the saft entity annotation was run on.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.VideoContentSearchSaftEntityInfo{
  canonicalEntityName: String.t() | nil,
  entitySalience: float() | nil,
  entityTypeName: String.t() | nil,
  mentionText: String.t() | nil,
  mentionType: String.t() | nil,
  mid: String.t() | nil,
  originalText: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.