Named Entity Recognition (Detection of Persons, Dates, Locations and much more)

Extracts entities out of text such as persons and organizations, with high precision.

Algorithmia Platform License

Run an Example

[
  {
    "end_char": 23,
    "label": "PERSON",
    "start_char": 0,
    "text": "Barack Hussein Obama II"
  },
  {
    "end_char": 38,
    "label": "NORP",
    "start_char": 30,
    "text": "American"
  },
  {
    "end_char": 72,
    "label": "ORDINAL",
    "start_char": 68,
    "text": "44th"
  },
  {
    "end_char": 103,
    "label": "GPE",
    "start_char": 86,
    "text": "the United States"
  },
  {
    "end_char": 121,
    "label": "DATE",
    "start_char": 109,
    "text": "2009 to 2017"
  }
]

Install & Use

Use

curl -X POST -d '"Barack Hussein Obama II is an American politician who served as the 44th President of the United States from 2009 to 2017"' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/PetiteProgrammer/NamedEntityRecognition/0.1.0