ApacheOpenNLP / NamedEntityRecognition / 1.0.0
Named Entity Recognition
Royalty Free
Recognizes and returns entities in a given sentence
Language
Java
Metrics
API Calls - 1,623
Avg call duration -
N/A
Permissions
This is not a recognized license.
This is necessary for algorithms that rely on external services,
however it also implies that this algorithm is able to send your
input data outside of the Algorithmia platform.
This allows an algorithm to compose sophisticated functionality
using other algorithms as building blocks
, however it also carries the potential of incurring additional
royalty and usage costs from any algorithm that it calls
.
Run an example
Input
Output
[
[
[
"Bob",
"person"
],
[
"Johnsons",
"person"
],
[
"'s",
""
],
[
"will",
""
],
[
"left",
""
],
[
"much",
""
],
[
"of",
""
],
[
"his",
""
],
[
"estate",
""
],
[
"to",
""
],
[
"Flat",
"organization"
],
[
"State",
"organization"
],
[
"University",
"organization"
],
[
"in",
""
],
[
"Kansas",
"location"
]
],
[
[
"When",
""
],
[
"he",
""
],
[
"passed",
""
],
[
"away",
""
],
[
"last",
"date"
],
[
"December",
"date"
],
[
",",
""
],
[
"his",
""
],
[
"son",
""
],
[
"got",
""
],
[
"30",
"percentage"
],
[
"percent",
"percentage"
],
[
"of",
""
],
[
"his",
""
],
[
"financial",
""
],
[
"holdings",
""
],
[
",",
""
],
[
"the",
""
],
[
"rest",
""
],
[
"went",
""
],
[
"to",
""
],
[
"the",
""
],
[
"university",
""
]
]
]
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
Use
algo run ApacheOpenNLP/NamedEntityRecognition/1.0.0 -d '"Bob Johnsons's will left much of his estate to Flat State University in Kansas. When he passed away last December, his son got 30 percent of his financial holdings, the rest went to the university."' --timeout 300
Warning
This algorithm's sample input contains a
'
character. This can be used to inject malicious code when running commands
(e.g. "'; sudo rm -rf / ;"). Use with caution.