NamedEntityRecognition

FREEMIUM
(Ким) vbachani | Оновлено un mese fa | Text Analysis
Популярність

7.8 / 10

Затримки

924ms

Рівень обслуговування

100%

Health Check

N/A

Відстежувачі: 1
Створювач API:
V
vbachani
vbachani
Увійти в «Ставки по API»
Рейтинг: 5 - Голосів: 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.