GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntityType
Table of Contents ▼
Jump to a specific part of the page:
Description
A generic type description for an entity.
Attributes List
This module has the following attributes (case-insensitive ascending order):
Attributes
-
basedOnMention
(type:integer()
, default:nil
)
- This field can be used to specify if the entity type has been annotated or predicted from a specific mention of the entity. However, the entity type does still apply to the entity as a whole, and not just a specific mention. -
domain
(type:String.t
, default:nil
)
- A domain name for the set that this particular type belongs to. -
info
(type:GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet
, default:nil
)
- Application-specific information about this entity type. -
name
(type:String.t
, default:nil
)
- The type name, like "/saft/person". See README.entity-types for the inventory of SAFT type tags. -
score
(type:number()
, default:nil
)
- A score for this type.
Type
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntityType{
basedOnMention: integer() | nil,
domain: String.t() | nil,
info: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
name: String.t() | nil,
score: number() | nil
}
basedOnMention: integer() | nil,
domain: String.t() | nil,
info: GoogleApi.ContentWarehouse.V1.Model.Proto2BridgeMessageSet.t() | nil,
name: String.t() | nil,
score: number() | nil
}
Function
@spec decode(struct(), keyword()) :: struct()Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.NlpSaftEntityType