Text-Processing

FREEMIUM
By japerk
Updated 4 months ago
Other
9.3/10
Popularity Score
523ms
Latency
75%
Success Rate
chalresvtiu5 years ago
Wrong classificationIf I say "I really like ______" such as Microsoft or Panera, it's classified as a negative sentiment
japerk5 years ago
Yes, I can see that, but I'm not sure yet how that happened. If you want the most accurate results, I recommend looking at each class probability, and only keeping results that have a probability of 0.8 or higher. In this case, the probabilities are 0.6 & 0.4.
amrendra.singh5 years ago
i thing in this case really is negative probability. if i put only " i like " then positive
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