GoogleApi.ContentWarehouse.V1.Model.NlpSaftRelationMention
Table of Contents ▼
Jump to a specific part of the page:
Description
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 List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
info
(type:GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet
, default:nil
)
- Application-specific information about this relation mention. -
phrase
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSaftPhrase
, 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
)
-
Type
@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
}
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
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSaftRelationMention