google_api_language v0.8.0 GoogleApi.Language.V1.Model.DependencyEdge View Source

Represents dependency parse tree information for a token. (For more information on dependency labels, see http://www.aclweb.org/anthology/P13-2017

Attributes

  • headTokenIndex (type: integer(), default: nil) - 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.
  • label (type: String.t, default: nil) - The parse label for the token.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Language.V1.Model.DependencyEdge{
  headTokenIndex: integer(),
  label: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.