View Source GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaToken (google_api_content_warehouse v0.3.0)

A word, punctuation mark, or other small piece of text.

Attributes

  • bytes (type: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t, default: nil) - The bytes in this token.
  • characters (type: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t, default: nil) - The characters in this token.
  • dependency (type: GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaTokenDependencyEdge.t, default: nil) - DEPRECATED: PLEASE USE dependency_head AND dependency_label FIELDS. One edge of the dependency parse.
  • dependencyHead (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'.
  • dependencyLabel (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.
  • document (type: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex.t, default: nil) - The document that contains this token.
  • paragraph (type: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex.t, default: nil) - The paragraph that contains this token.
  • pos (type: String.t, default: nil) - Coarse part-of-speech tag.
  • sentence (type: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex.t, default: nil) - The sentence that contains this token.
  • text (type: String.t, default: nil) - The text of this token. Must contain valid UTF-8.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

Functions

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

Unwrap a decoded JSON object into its complex fields.