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):
Attributes
-
bytes
(type:GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan
, default:nil
)
- The bytes in this token. -
characters
(type:GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan
, default:nil
)
- The characters in this token. -
dependency
(type:GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaTokenDependencyEdge
, default:nil
)
- DEPRECATED: PLEASE USE dependency_head AND dependency_label FIELDS. One edge of the dependency parse. -
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'. -
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
, default:nil
)
- The document that contains this token. -
paragraph
(type:GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex
, 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
, default:nil
)
- The sentence that contains this token. -
text
(type:String.t
, default:nil
)
- The text of this token. Must contain valid UTF-8.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaToken{
bytes: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
characters: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
dependency: GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaTokenDependencyEdge.t() | nil,
dependencyHead: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex.t() | nil,
dependencyLabel: String.t() | nil,
document: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex.t() | nil,
paragraph: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex.t() | nil,
pos: String.t() | nil,
sentence: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex.t() | nil,
text: String.t() | nil
}
bytes: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
characters: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
dependency: GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaTokenDependencyEdge.t() | nil,
dependencyHead: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex.t() | nil,
dependencyLabel: String.t() | nil,
document: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex.t() | nil,
paragraph: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex.t() | nil,
pos: String.t() | nil,
sentence: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex.t() | nil,
text: String.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaToken