NlxDataSchemaMention

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):

View Attributes

Attributes

  1. bytes (type: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerSpan, default: nil)
    - The bytes in this mention.
  2. document (type: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex, default: nil)
    - The document that contains this mention.
  3. entity (type: GoogleApi.ContentWarehouse.V1.Model.MultiscalePointerIndex, default: nil)
    - The entity that this mention refers to.
  4. kind (type: String.t, default: nil)
    - Mention kind, typically 'referential', 'attributive', or 'modifier'.
  5. text (type: String.t, default: nil)
    - The mention text itself. Must contain valid UTF-8.
  6. 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.
  7. 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
}

Function

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

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