RapidAPI logo

Keyword Extraction

FREEMIUM
By textanalysis
Updated 4 months ago
Tools
6.4/10
Popularity Score
955ms
Latency
89%
Success Rate

Keyword Extraction API Documentation

Keyword Extraction API provides professional keyword extractor service which is based on advanced Natural Language Processing and Machine Learning technologies. It can be used to extract topn important keywords from the URL or document that user provided. If you want test our automatic keyword extraction service, you can use our free automatic keyword extractor online demo: http://keywordextraction.net/keyword-extractor

View API Details
POSTKeyword Extraction for Text
POSTKeyword Extraction for URL
POSTKeyword Extraction for Text

Keyword Extraction for Text

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Optional Parameters
textSTRING
OPTIONALText to be extracted by Keyword Extractor
wordnumNUMBER
OPTIONALKeyword numbers to be extracted specified by user
Code Snippet
unirest.post("https://textanalysis-keyword-extraction-v1.p.rapidapi.com/keyword-extractor-text")
.header("X-RapidAPI-Host", "textanalysis-keyword-extraction-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("text=Keyword extraction is tasked with the automatic identification of terms that best describe the subject of a document. Key phrases, key terms, key segments or just keywords are the terminology which is used for defining the terms that represent the most relevant information contained in the document. Although the terminology is different, function is the same: characterization of the topic discussed in a document. Keyword extraction task is important problem in Text Mining, Information Retrieval and Natural Language Processing. Keyword assignment vs. extraction Keyword assignment methods can be roughly divided into: keyword assignment (keywords are chosen from controlled vocabulary or taxonomy) and keyword extraction (keywords are chosen from words that are explicitly mentioned in original text). Methods for automatic keyword extraction can be: supervised, semi-supervised and unsupervised. Unsupervised methods can be further divided into: simple statistics, linguistics, graph-based and other methods.")
.send("wordnum=5")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://textanalysis-keyword-extraction-v1.p.rapidapi.com/keyword-extractor-text
Request Method: POST
Response Headers
Response Body
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://textanalysis-keyword-extraction-v1.p.rapidapi.com/keyword-extractor-text")
.header("X-RapidAPI-Host", "textanalysis-keyword-extraction-v1.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.header("Content-Type", "application/x-www-form-urlencoded")
.send("text=Keyword extraction is tasked with the automatic identification of terms that best describe the subject of a document. Key phrases, key terms, key segments or just keywords are the terminology which is used for defining the terms that represent the most relevant information contained in the document. Although the terminology is different, function is the same: characterization of the topic discussed in a document. Keyword extraction task is important problem in Text Mining, Information Retrieval and Natural Language Processing. Keyword assignment vs. extraction Keyword assignment methods can be roughly divided into: keyword assignment (keywords are chosen from controlled vocabulary or taxonomy) and keyword extraction (keywords are chosen from words that are explicitly mentioned in original text). Methods for automatic keyword extraction can be: supervised, semi-supervised and unsupervised. Unsupervised methods can be further divided into: simple statistics, linguistics, graph-based and other methods.")
.send("wordnum=5")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication