NamedEntityRecognition

FREEMIUM
By vbachani | Updated un mese fa | Text Analysis
Popularity

7.1 / 10

Latency

721ms

Service Level

100%

Health Check

N/A

Followers: 1
API Creator:
V
vbachani
vbachani
Log In to Rate API
Rating: 5 - Votes: 1

README

Endpoint: /ner

Description:
The /ner endpoint of the Named Entity Recognition (NER) API is used to extract named entities from a given text. Named entities can include entities such as people, organizations, locations, dates, and more. The endpoint processes the input text using advanced natural language processing (NLP) techniques and returns the identified named entities in a structured format.

Request:
The request to the /ner endpoint should be a POST request containing a JSON object with a single property, text, which represents the input text to be analyzed for named entities.

Request Body Format:

{
  "text": "Input text to be analyzed for named entities"
}

Response:
The response from the /ner endpoint is a JSON object with a single property, entities, which is an array of objects representing the identified named entities and their respective labels.

Response Format:

{
  "entities": [
    {
      "text": "Text of the named entity",
      "label": "Entity label (e.g., ORG, PERSON, GPE)"
    },
    ...
  ]
}

Example Response:

{
  "entities": [
    {"text": "Apple", "label": "ORG"},
    {"text": "Cupertino", "label": "GPE"},
    {"text": "California", "label": "GPE"}
  ]
}

The text property in the response object represents the text of the identified named entity, and the label property represents the entity label, such as “ORG” for organizations, “PERSON” for people, “GPE” for geopolitical entities, etc.