GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaMention
Table of Contents ▼
Jump to a specific part of the page:
Description
A mention of an entity. A single entity might be mentioned multiple times.
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 mention. -
document
(type:GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex
, default:nil
)
- The document that contains this mention. -
entity
(type:GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex
, default:nil
)
- The entity that this mention refers to. -
kind
(type:String.t
, default:nil
)
- Mention kind, typically 'referential', 'attributive', or 'modifier'. -
text
(type:String.t
, default:nil
)
- The mention text itself. Must contain valid UTF-8. -
tokens
(type:GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan
, default:nil
)
- The token(s) in this mention. This may not be present, or have zero length if representing an implicit mention, as in the prodrop case. -
type
(type:String.t
, default:nil
)
- Mention type, typically 'named' (for name mentions) or 'nominal'. More types include 'pronominal', 'conjoined' for conjoined mention construction, and 'non-referential' for non-referential pronoun mentions.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaMention{
bytes: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
document: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex.t() | nil,
entity: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex.t() | nil,
kind: String.t() | nil,
text: String.t() | nil,
tokens: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
type: String.t() | nil
}
bytes: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
document: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex.t() | nil,
entity: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex.t() | nil,
kind: String.t() | nil,
text: String.t() | nil,
tokens: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan.t() | nil,
type: String.t() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaMention