View Source GoogleApi.ContentWarehouse.V1.Model.NlpSaftConstituencyNode (google_api_content_warehouse v0.3.0)
Constituency parse tree node with tokens as the leaf nodes.
Attributes
-
child
(type:list(integer())
, default:nil
) - An arbitrary number of children, ordered from left to right; empty for preterminals. Represented via indices into Document.constituency_node. -
label
(type:String.t
, default:nil
) - The label of the current node. -
phrase
(type:GoogleApi.ContentWarehouse.V1.Model.NlpSaftPhrase.t
, default:nil
) - A phrase that contains information about the span and the (optional) head token. For terminal nodes the head of the phrase holds the word.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSaftConstituencyNode{ child: [integer()] | nil, label: String.t() | nil, phrase: GoogleApi.ContentWarehouse.V1.Model.NlpSaftPhrase.t() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.