View Source GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntityProfile (google_api_content_warehouse v0.3.0)

An entity profile contains a summary of the information about a single unique entity. Next available index: 46.

Attributes

  • alternate (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntityProfileAlternate.t), default: nil) -
  • annotations (type: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t, default: nil) - Generic annotations.
  • attribute (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntityProfileAttribute.t), default: nil) - List of attributes for the entity.
  • canonicalName (type: String.t, default: nil) - Canonical entity name.
  • collectionScoreType (type: String.t, default: nil) -
  • disambiguation (type: String.t, default: nil) - Disambiguation phrase. The combination of entity name and disambiguation phrase should be unique within the corpus.
  • embedding (type: list(number()), default: nil) - Entity embeding vector, representing the entity in a dense low-dimensional embedding space.
  • frame (type: String.t, default: nil) - Profile frame in binary SLING encoding.
  • gender (type: String.t, default: nil) - Gender of the entity.
  • id (type: String.t, default: nil) - Unique global id for entity.
  • identifier (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSaftIdentifier.t), default: nil) - External identifiers for entity.
  • keyword (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntityProfileKeyword.t), default: nil) -
  • mid (type: String.t, default: nil) - Freebase MID for entity. This field should be the same as FREEBASE_MID identifier for the entity profile.
  • name (type: String.t, default: nil) - Representative name for entity.
  • nameLanguage (type: integer(), default: nil) - Language for the name and disambiguation.
  • nature (type: String.t, default: nil) - Nature of the entity.
  • reference (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntityProfileReference.t), default: nil) -
  • related (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntityProfileRelated.t), default: nil) -
  • type (type: String.t, default: nil) - Entity type.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntityProfile{
  alternate:
    [GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntityProfileAlternate.t()]
    | nil,
  annotations:
    GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
  attribute:
    [GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntityProfileAttribute.t()]
    | nil,
  canonicalName: String.t() | nil,
  collectionScoreType: String.t() | nil,
  disambiguation: String.t() | nil,
  embedding: [number()] | nil,
  frame: String.t() | nil,
  gender: String.t() | nil,
  id: String.t() | nil,
  identifier: [GoogleApi.ContentWarehouse.V1.Model.NlpSaftIdentifier.t()] | nil,
  keyword:
    [GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntityProfileKeyword.t()] | nil,
  mid: String.t() | nil,
  name: String.t() | nil,
  nameLanguage: integer() | nil,
  nature: String.t() | nil,
  reference:
    [GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntityProfileReference.t()]
    | nil,
  related:
    [GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntityProfileRelated.t()] | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.