NlxDataSchemaEntity

GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaEntity


Table of Contents ▼

Jump to a specific part of the page:

Description

An entity, which may occur multiple times in the text.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. gender (type: String.t, default: nil)
    - Entity gender. Default label set is 'masculine', 'feminine', or 'neuter'. (Perhaps in the future we can split 'neuter' into 'inanimate', 'unknown', and 'non-binary'.)
  2. mid (type: String.t, default: nil)
    - Machine identifier, such as those from the Freebase database (or similar entity database).
  3. name (type: String.t, default: nil)
    - Free-form entity name.
  4. type (type: list(String.t), default: nil)
    - Entity type, typically something like person/location/organization. The schema for types is not specified. If this entity has a MID, use the mid field instead or in conjunction with the type.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaEntity{
gender: String.t() | nil,
mid: String.t() | nil,
name: String.t() | nil,
type: [String.t()] | nil
}

Function

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

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