Code language

Named entity recognition

Detect the people, organizations, locations, dates and other named entities mentioned in the provided document.

POSThttp://analytics.eventregistry.org/api/v1/ner

BodyJSON, with Content-Type: application/json. GET with query parameters also works.

Examples

Find named entities in a text
REST request

How it works

The API call can be used to extract the named entities mentioned in the provided document. The identified entities include people, organizations, locations, dates, currencies and similar. For each entity we return the mentioned text, the character offsets of the mention in the document and the entity type.

Compared to the annotate endpoint, the named entity recognition does not disambiguate the entities to their corresponding Wikipedia pages — it only identifies which parts of the text represent named entities and of which type. On the other hand, it can also identify entities that don't have their own Wikipedia page, such as dates, monetary amounts or less known people and organizations.

The named entity recognition is supported for documents in English, German, Spanish and Chinese language.

Parameters

Send them in the JSON body; the same names work as GET query parameters.

Core

2
apiKeyRequired
string
Your API key
textRequired
string
Define a text in which you'll like to detect the named entities.

Response

Example output is a real response; Output schema lists the fields the endpoint can return.

200 · application/json