PetiteProgrammer

PetiteProgrammer / NamedEntityRecognition / 0.1.0

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

20 Credit Royalty
Extracts entities out of text such as persons and organizations, with high precision.
Language
Python 3.x
Metrics
API Calls - 15,417 Avg call duration - 1.07sec
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More

Run an Example

Input
Output
[
  {
    "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 and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

$ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
CLI Install Docs

Use



algo run PetiteProgrammer/NamedEntityRecognition/0.1.0 -d '"Barack Hussein Obama II is an American politician who served as the 44th President of the United States from 2009 to 2017"' --timeout 300
  
CLI Docs