View Source GoogleApi.ContentWarehouse.V1.Model.NlpSaftPhrase (google_api_content_warehouse v0.4.0)
A document phrase marks a range of tokens in a document as a phrase. The indices are token positions in the document.
Attributes
-
end
(type:integer()
, default:nil
) - -
facet
(type:String.t
, default:nil
) - -
head
(type:integer()
, default:nil
) - The head token in the phrase is the id of the top-most token within the phrase. It either has an arc from outside the phrase going to it, or it is a root token of the sentence. A value of -1 indicates that the head has not yet been computed for the phrase (not the same semantics as the head of a token!). Note that even when it is uniquely defined, there is no guarantee that the head is set for entities and measurements within a document: you may need to explicitly compute it. -
start
(type:integer()
, default:nil
) - First and last token in the phrase. The phrase goes from start to end (inclusive).
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
Functions
Unwrap a decoded JSON object into its complex fields.