RapidAPI logo

Text Mining and NLP

FREEMIUM
By RxNLP
Updated 4 months ago
Data
7.8/10
Popularity Score
597ms
Latency
95%
Success Rate

Text Mining and NLP API Overview

Generate word & n-gram counts, compute text similarity, extract topics (keywords) from text , cluster sentences, extract text from HTML pages, summarize opinions.

Contact API Provider
star-blueRate
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://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