NlxDataSchemaToken

GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaToken


Table of Contents ▼

Jump to a specific part of the page:

Description

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

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

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

Type

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaToken