NamedEntityRecognition

フリーミアム
よって vbachani | 更新済み a month ago | 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.