Entity Types

Part of the GCP Natural Language processor family

This page pertains to information returned from the AnalyzeEntitiesWithSentiment, AnalyzeEntities, and AnnotateText processors.

Every entity returned from GCP's Natural Language API can take a type, which identifies what kind of thing the API thinks the text represents. They are represented as a string whose value is that which is present in the Identifier field of the following table.

Identifier

Description

ADDRESS

Identifies the street number and locality, plus whichever additional elements appear in the text

CONSUMER_GOOD

A consumer product

DATE

Identifies the components of a date

EVENT

An event

LOCATION

A location (not to be confused with an address)

NUMBER

A numerical value

ORGANIZATION

A large organization, such as a government

OTHER

An entity the API couldn't categorize into anything else

PERSON

An individual or name

PHONE_NUMBER

A phone number, formatted according to local convention

PRICE

UNKNOWN

UNRECOGNIZED

WORK_OF_ART

Last updated