Sign Up

Log In

Text-Processing

FREEMIUM
By japerk
Updated 2 months ago
Other
9.5/10
Popularity Score
293ms
Latency
34%
Success Rate
jdimm5 years ago
Obama is an ORG?Input to NER tagger: Barack Obama and Clinton Output: { "text": "(S\n (PERSON Barack/NNP)\n (ORGANIZATION Obama/NNP)\n and/CC\n (PERSON Clinton/NNP))" } I'll try some more, but this is a pretty easy test case. You must have seen "Barack Obama" frequently in training data.
jdimm5 years ago
Another test: Barack Obama and Hilary Clinton and Mitt Romney and Michele Obama and Barack Obama That gets all but the first "Obama". The "Barack Obama" at the end of the string is correctly identified.
japerk5 years ago
NER tends to work better in a real context instead of just lists of names. But my models are also trained on somewhat old data, so I'm not sure they've actually encountered Obama specifically.
Hi Developer, feel free to post your answer:
Log inSign up

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.post("https://japerk-text-processing.p.rapidapi.com/phrases/")
.header("X-RapidAPI-Host", "undefined")
.header("X-RapidAPI-Key", "undefined")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("language=undefined")
.send("text=<required>")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication

Sign up for free

to test this endpoint

Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard