GoogleApi.ContentWarehouse.V1.Model.NlpSaftAnnotatedPhrase
Table of Contents ▼
Jump to a specific part of the page:
Description
Representation of a phrase in the document with a particular annotation. Provides the ability to annotate arbitrary spans in the document. This is intended for representing spans that SAFT does NOT consider to be mentions of entities within a SAFT document.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
info
(type:GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet
, default:nil
)
- Annotation for this phrase. -
phrase
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSaftPhrase
, default:nil
)
- Contains start and end pointers to the token array for this span.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSaftAnnotatedPhrase{
info: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
phrase: GoogleApi.ContentWarehouse.V1.Model.NlpSaftPhrase.t() | nil
}
info: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
phrase: GoogleApi.ContentWarehouse.V1.Model.NlpSaftPhrase.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSaftAnnotatedPhrase