View Source GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaToken (google_api_content_warehouse v0.4.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
@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 }
Functions
Unwrap a decoded JSON object into its complex fields.