GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaDocument
Table of Contents ▼
Jump to a specific part of the page:
Description
A single document.
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 document. -
characters
(type:GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan
, default:nil
)
- The characters in this document. -
id
(type:String.t
, default:nil
)
- The identifier of this document. -
languageCode
(type:list(String.t)
, default:nil
)
- A set of BCP-47 codes indicating the language(s) of this document. -
languageSpans
(type:GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan
, default:nil
)
- The language spans in this document. -
mentions
(type:GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan
, default:nil
)
- The mentions in this document. -
paragraphs
(type:GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan
, default:nil
)
- The paragraphs in this document. -
sentences
(type:GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan
, default:nil
)
- The sentences in this document. -
text
(type:String.t
, default:nil
)
- The text of this document. Must contain valid UTF-8. -
tokens
(type:GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan
, default:nil
)
- The tokens in this document. -
url
(type:String.t
, default:nil
)
- The url of this document.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaDocument{
author: [GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex.t()] | nil,
bytes: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
characters: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
id: String.t() | nil,
languageCode: [String.t()] | nil,
languageSpans: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
mentions: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
paragraphs: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
sentences: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
text: String.t() | nil,
tokens: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
url: String.t() | nil
}
author: [GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex.t()] | nil,
bytes: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
characters: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
id: String.t() | nil,
languageCode: [String.t()] | nil,
languageSpans: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
mentions: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
paragraphs: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
sentences: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
text: String.t() | nil,
tokens: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
url: String.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaDocument