View Source GoogleApi.ContentWarehouse.V1.Model.NlpSaftAnnotatedPhrase (google_api_content_warehouse v0.3.0)
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
-
info
(type:GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t
, default:nil
) - Annotation for this phrase. -
phrase
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSaftPhrase.t
, default:nil
) - Contains start and end pointers to the token array for this span.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSaftAnnotatedPhrase{ info: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil, phrase: GoogleApi.ContentWarehouse.V1.Model.NlpSaftPhrase.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.