NlpSaftRelation

GoogleApi.ContentWarehouse.V1.Model.NlpSaftRelation


Table of Contents ▼

Jump to a specific part of the page:

Description

Relations between entities in the document. A relation is between two different entities in the document. A relation can have a number of mentions in the document. Next available id: 11

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. identifier (type: GoogleApi.ContentWarehouse.V1.Model.NlpSaftIdentifier, default: nil)
    - External identifier for relation.
  2. info (type: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet, default: nil)
    - Application-specific information about this relation.
  3. kind (type: String.t, default: nil)
    -
  4. mention (type: list(GoogleApi.ContentWarehouse.V1.Model.NlpSaftRelationMention), default: nil)
    - Mentions of the relation in the document.
  5. score (type: number(), default: nil)
    - Relation score.
  6. source (type: integer(), default: nil)
    - Source and target entity indices. These are indices into the entity array in the document. If this is an attribute relation the target is the index of a measure in the document.
  7. target (type: integer(), default: nil)
    -
  8. type (type: String.t, default: nil)
    - Relation type.
  9. typeId (type: integer(), default: nil)
    - Relation type id.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSaftRelation{
identifier: GoogleApi.ContentWarehouse.V1.Model.NlpSaftIdentifier.t() | nil,
info: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
kind: String.t() | nil,
mention: [GoogleApi.ContentWarehouse.V1.Model.NlpSaftRelationMention.t()] | nil,
score: number() | nil,
source: integer() | nil,
target: integer() | nil,
type: String.t() | nil,
typeId: integer() | nil
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSaftRelation