GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaEntity
Table of Contents ▼
Jump to a specific part of the page:
- Description
- Attribute List
- Attributes
- Type
- Function
- Related links
- Possibly related Modules
Description
An entity, which may occur multiple times in the text.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
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'.) -
mid
(type:String.t
, default:nil
)
- Machine identifier, such as those from the Freebase database (or similar entity database). -
name
(type:String.t
, default:nil
)
- Free-form entity name. -
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
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlxDataSchemaEntity