View Source GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaTokenDependencyEdge (google_api_content_warehouse v0.4.0)

DEPRECATED: PLEASE USE dependency_head AND dependency_label FIELDS. One edge of the dependency parse.

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.t, 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'.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaTokenDependencyEdge{
  deprel: String.t() | nil,
  head: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.