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

Mentions of relations in the document. A relation mention is between a mention of the source entity and a mention of the target entity.

Attributes

  • info (type: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t, default: nil) - Application-specific information about this relation mention.
  • phrase (type: GoogleApi.ContentWarehouse.V1.Model.NlpSaftPhrase.t, default: nil) - Phrase in the document that indicates the relation mention.
  • source (type: integer(), default: nil) - Source and target mention indices. These are indices into the mention arrays for their respective entities. The target is not used for attributes.
  • sourceInfo (type: list(String.t), default: nil) - The info of the source models or systems of the relation mention.
  • target (type: integer(), default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSaftRelationMention{
  info: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
  phrase: GoogleApi.ContentWarehouse.V1.Model.NlpSaftPhrase.t() | nil,
  source: integer() | nil,
  sourceInfo: [String.t()] | nil,
  target: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.