Text Processing

FREEMIUM
By webknox
Updated 5 months ago
Business
5.8/10
Popularity Score
273ms
Latency
100%
Success Rate

Text Processing API Documentation

The WebKnox text processing API lets you process (natural) language texts. You can detect the text's language, the quality of the writing, find entity mentions, tag part-of-speech, extract dates, extract locations, or determine the sentiment of the text.

View API Details
Extract
GETExtract Dates
POSTSplit Sentences
GETSplit Sentences.
GETExtract Entities
GETExtract Locations
GETSummarize Text
Rank
POSTRate the Quality
Detect
GETDetect Sentiment
GETDetect Language
GETDetect Part-of-Speech
GETDetect Errors
POSTDetect Sentiment - POST
GETExtract Dates

Extract dates from a given text.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
textSTRING
REQUIREDThe text from which dates should be extracted.
Code Snippet
unirest.get("https://webknox-text-processing.p.rapidapi.com/text/dates?text=She+was+born+on+May+29th%2C+1989.")
.header("X-RapidAPI-Host", "webknox-text-processing.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://webknox-text-processing.p.rapidapi.com/text/dates
Request Method: GET
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.get("https://webknox-text-processing.p.rapidapi.com/text/dates?text=She+was+born+on+May+29th%2C+1989.")
.header("X-RapidAPI-Host", "webknox-text-processing.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication