Text-Processing

FREEMIUM
By japerk
Updated 5 months ago
Other
9.3/10
Popularity Score
395ms
Latency
85%
Success Rate
jroven6 months ago
Why does the PoS tagging sometimes say -None- ?eg: "liquid/-None- nitrogen/NC" Shouldn't the first tag be /JJ ? Thanks
jroven6 months ago
Pls disregard. Default langauge in the snippet was set to Spanish for some reason. Thanks.
Hi Developer, feel free to post your answer:

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", "japerk-text-processing.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("language=spanish")
.send("text=California is nice")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication