DependencyEdge(mapping=None, *, ignore_unknown_fields=False, **kwargs)Represents dependency parse tree information for a token. .. attribute:: head_token_index
Represents the head of this token in the dependency tree.
This is the index of the token which has an arc going to
this token. The index is the position of the token in the
array of tokens returned by the API method. If this token is
a root token, then the head_token_index is its own
index.
:type: int
Attribute |
|
|---|---|
| Name | Description |
label |
google.cloud.language_v1beta2.types.DependencyEdge.Label
The parse label for the token. |
Classes
Label
Label(value)The parse label enum for the token.