Text Mining and NLP

FREEMIUM
By RxNLP
Updated 5 months ago
Data
7.8/10
Popularity Score
989ms
Latency
78%
Success Rate
christinazavou2 years ago
Units meaningDear Sir/Madam, In the monthly subscriptions there is an amount of 'units' available for every day use. To what exactly does the term 'units' refer? Best, Christina
kreshnaa9 months ago
Hi, Can you please clarify what is per request mean. For example in sentence clustering if I send a list of 10 sentences for clustering, is that 1 request or 10 ?
RxNLP2 years ago
Dear Cristina, Different endpoints correspond to different units per request. For example, Topics Extraction, Clustering and Summarization use 10 units per request. The rest use 1 unit per request. The former endpoints use up a lot more processing power than the latter. Hope this helps. Thanks. RxNLP Admin
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