Text Mining and NLP

FREEMIUM
By RxNLP
Updated 5 months ago
Data
7.7/10
Popularity Score
557ms
Latency
76%
Success Rate
acturcato2 years ago
Text Mining and NLP API is broken (yesterday and now)I´m trying to execute the preview code on dashboard api interface and it don´t run (anytime). What is the problem?
acturcato2 years ago
Hi! Today (one minute before), I ran again the same sample code (2: Text Similarity") and it´s OK now!
RxNLP2 years ago
Hi, I am unable to reproduce the problem, could you please try again and let me know what error message you are seeing?
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://rxnlp-core.p.rapidapi.com/generateNGramCounts")
.header("X-RapidAPI-Host", "rxnlp-core.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("n-gram=3")
.send("text=I love rainy days. How I wish it was raining ! How I wish it was snowing !")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication