Represents a phrase in the text that is a known entity, such as a person, an organization, or location. The API associates information, such as probability and mentions, with entities.
| JSON representation |
|---|
{ "name": string, "type": enum ( |
| Fields | |
|---|---|
name |
The representative name for the entity. |
type |
The entity type. |
metadata |
Metadata associated with the entity. For the metadata associated with other entity types, see the Type table below. An object containing a list of |
mentions[] |
The mentions of this entity in the input document. The API currently supports proper noun mentions. |
sentiment |
For calls to |
Type
The type of the entity. The table below lists the associated fields for entities that have different metadata.
| Enums | |
|---|---|
UNKNOWN |
Unknown |
PERSON |
Person |
LOCATION |
Location |
ORGANIZATION |
Organization |
EVENT |
Event |
WORK_OF_ART |
Artwork |