Menu
Amazon Comprehend
Developer Guide

Detecting Entities

Use the DetectEntities and BatchDetectEntities operations to detect entities in a document. A entity is a textual reference to the unique name of a real-world object such as people, places, and commercial items, and to precise references to measures such as dates and quantities.

For example, in the text "John moved to 1313 Mockingbird Lane in 2012," "John" might be recognized as a PERSON, "1313 Mockingbird Lane" might be recognized as a LOCATION, and "2012" might be recognized as a DATE.

Each entity also has a score that indicates the level of confidence that Amazon Comprehend has that it correctly detected the entity type. You can filter out the entities with lower scores to reduce the risk of using incorrect detections.

The following table lists the entity types.

Type Description

COMMERCIAL_ITEM

A branded product

DATE

A full date (for example, 11/25/2017), day (Tuesday), month (May), or time (8:30 a.m.)

EVENT

An event, such as a festival, concert, election, etc.

LOCATION

A specific location, such as a country, city, lake, building, etc.

ORGANIZATION

Large organizations, such as a government, company, religion, sports team, etc.

OTHER

Entities that don't fit into any of the other entity categories

PERSON

Individuals, groups of people, nicknames, fictional characters

QUANTITY

A quantified amount, such as currency, percentages, numbers, bytes, etc.

TITLE

An official name given to any creation or creative work, such as movies, books, songs, etc.