GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaTokenDependencyEdge
Table of Contents ▼
Jump to a specific part of the page:
Description
DEPRECATED: PLEASE USE dependency_head AND dependency_label FIELDS. One edge of the dependency parse.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
deprel
(type:String.t
, default:nil
)
- Relation label for this dependency. Generally this should be using the Universal Dependencies label format, using fine- grained labels like nsubj:pass. -
head
(type:GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex
, default:nil
)
- The head of this token. By default, the root of the sentence is its own head; it should also have deprel as 'root'.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaTokenDependencyEdge{
deprel: String.t() | nil,
head: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex.t() | nil
}
deprel: String.t() | nil,
head: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaTokenDependencyEdge