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

A generic type description for an entity.

Attributes

  • basedOnMention (type: integer(), default: nil) - This field can be used to specify if the entity type has been annotated or predicted from a specific mention of the entity. However, the entity type does still apply to the entity as a whole, and not just a specific mention.
  • domain (type: String.t, default: nil) - A domain name for the set that this particular type belongs to.
  • info (type: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t, default: nil) - Application-specific information about this entity type.
  • name (type: String.t, default: nil) - The type name, like "/saft/person". See README.entity-types for the inventory of SAFT type tags.
  • score (type: number(), default: nil) - A score for this type.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntityType{
  basedOnMention: integer() | nil,
  domain: String.t() | nil,
  info: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
  name: String.t() | nil,
  score: number() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.