NamedEntityRecognition

GRATIS CON POSSIBILITÀ DI UPGRADE
Da vbachani | Aggiornamento hace 2 meses | Text Analysis
Popolarità

8.1 / 10

Latenza

997ms

Livello di servizio

100%

Health Check

N/A

Follower: 1
Creatore dell'API:
V
vbachani
vbachani
Accedi per valutare l'API
Valutazione: 5 - Voti: 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.