Sign Up

Log In

Topics Extraction

FREEMIUM
By MeaningCloud
Updated 19 hours ago
Social
-/10
Popularity Score
-
Latency
-
Success Rate

Topics Extraction API Documentation

Topics Extraction tags locations, people, companies, dates and many other elements appearing in a text written in Spanish, English, French, Italian, Portuguese or Catalan. This detection process is carried out by combining a number of complex natural language processing techniques that allow to obtain morphological, syntactic and semantic analyses of a text and use them to identify different types of significant elements.

View API Details

Supercharge your App

Discover and connect to thousands of APIs in the world's largest API Hub

GETtopics-2.0
GETtopics-2.0

Topics Extraction 2.0 is MeaningCloud's solution for extracting the different elements present in sources of information. This detection process is carried out by combining a number of complex natural language processing techniques that allow to obtain morphological, syntactic and semantic analyses of a text and use them to identify different types of significant elements.

FreemiumThis API has a free, limited plan and paid plans. You can subscribe directly to it from RapidAPI.
Sign up to test this endpoint
Log in
Header Parameters
X-RapidAPI-KeySTRING
REQUIRED
acceptSTRING
OPTIONAL
Required Parameters
langSTRING
REQUIREDIt specifies the language in which the text must be analyzed.
txtSTRING
REQUIREDInput text that's going to be analyzed.
ttSTRING
REQUIREDThe list of topic types to extract will be specified through a string with the letters assigned to each one of the topic types that are to be extracted.
Optional Parameters
txtfSTRING
OPTIONALThe text format parameter specifies if the text included in the txt parameter uses markup language that needs to be interpreted (known HTML tags and HTML code will be interpreted, and unknown tags will be ignored).
uwSTRING
OPTIONALDeal with unknown words. This feature adds a stage to the topic extraction in which the engine, much like a spellchecker, tries to find a suitable analysis to the unknown words resulted from the initial analysis assignment. It is specially useful to decrease the impact typos have in text analyses.
rtSTRING
OPTIONALDeal with relaxed typography. This parameter indicates how reliable the text (as far as spelling, typography, etc. are concerned) to analyze is, and influences how strict the engine will be when it comes to take these factors into account in the topic extraction.
dmSTRING
OPTIONALType of disambiguation applied. It is accumulative, that is, the semantic disambiguation mode will also include morphosyntactic disambiguation
sdgSTRING
OPTIONALSemantic disambiguation grouping. This parameter will only apply when semantic disambiguation is activated (dm=s).
udSTRING
OPTIONALThe user dictionary allows to include user-defined entities and concepts in the topics extraction.
stSTRING
OPTIONALShow subtopics.
timerefSTRING
OPTIONALThis value allows to set a specific time reference to detect the actual value of all the relative time expressions detected in the text. Format: YYYY-MM-DD hh:mm:ss GMT±HH:MM
ofSTRING
OPTIONALOutput format.
Request Snippet
unirest.get("https://topics-extraction.p.rapidapi.com/topics-2.0.php?txtf=undefined&uw=undefined&rt=undefined&dm=undefined&sdg=undefined&ud=undefined&st=undefined&timeref=undefined&of=undefined&lang=<required>&txt=<required>&tt=<required>")
.header("X-RapidAPI-Key", "undefined")
.header("accept", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response

loading...

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.get("https://topics-extraction.p.rapidapi.com/topics-2.0.php?txtf=undefined&uw=undefined&rt=undefined&dm=undefined&sdg=undefined&ud=undefined&st=undefined&timeref=undefined&of=undefined&lang=<required>&txt=<required>&tt=<required>")
.header("X-RapidAPI-Key", "undefined")
.header("accept", "undefined")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication
Sign up for freeto test this endpoint
Join the world’s largest API marketplace with over half a million developers and thousands of APIs.
DiscoverAPIs
Testfrom the browser
Connectusing code snippets
Managefrom one dashboard