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

Mentions of the entity in the document.

Attributes

  • confidence (type: float(), default: nil) - Estimate of the confidence that this mention is in the correct cluster. Zero means this mention is probably in the wrong cluster, 1 means this mention is probably in the correct cluster. See nlp/saft/components/coreference/coreference-confidence.h for details about what "correct cluster" might mean.
  • info (type: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t, default: nil) - Application-specific information about this mention.
  • kind (type: String.t, default: nil) -
  • nestingRelation (type: String.t, default: nil) -
  • phrase (type: GoogleApi.ContentWarehouse.V1.Model.NlpSaftPhrase.t, default: nil) - Phrase for the mention.
  • resolution (type: GoogleApi.ContentWarehouse.V1.Model.NlpSaftMentionResolution.t, default: nil) - Mention-level resolution. This is used for encoding the meaning of the mention rather than the entity. For example, definite references and appositions are resolved to the mid for the concept rather than the entity.
  • role (type: String.t, default: nil) -
  • type (type: String.t, default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSaftMention{
  confidence: float() | nil,
  info: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
  kind: String.t() | nil,
  nestingRelation: String.t() | nil,
  phrase: GoogleApi.ContentWarehouse.V1.Model.NlpSaftPhrase.t() | nil,
  resolution:
    GoogleApi.ContentWarehouse.V1.Model.NlpSaftMentionResolution.t() | nil,
  role: String.t() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.