Turbo NLP

FREEMIUM
By sharpcode
Updated 5 months ago
Text Analysis
6.1/10
Popularity Score
487ms
Latency
100%
Success Rate

Turbo NLP API Documentation

Your Swiss army knife for NLP! Text summarization, sentiment check, text readability analysis, named entity extraction, segmentation, tokenization, SEO slug creation and much more.

View API Details
POSTCheck Sentiment
POSTNER
POSTTokenize
POSTSegment
POSTDetect Language
POSTCreate Slug
POSTTest Readability
POSTSummarize Text
POSTTokenize

Tokenizes text including the non-word character spans.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
Method payloadJSON_STRING
REQUIREDText that must be tokenized
Code Snippet
unirest.post("https://turbo-nlp.p.rapidapi.com/Tokenize")
.header("X-RapidAPI-Host", "turbo-nlp.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"text":"Jon Snow, is the son of Lyanna Stark and Rhaegar Targaryen, the late Prince of Dragonstone."})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://turbo-nlp.p.rapidapi.com/Tokenize
Request Method: POST
Response Headers
Response Body

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://turbo-nlp.p.rapidapi.com/Tokenize")
.header("X-RapidAPI-Host", "turbo-nlp.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/json")
.send({"text":"Jon Snow, is the son of Lyanna Stark and Rhaegar Targaryen, the late Prince of Dragonstone."})
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication