@datafire/apitore_text2labelbytfidfapis
Client library for Text2Label by tfidf APIs
Installation and Usage
npm install --save datafire @datafire/apitore_text2labelbytfidfapis
let datafire = require('datafire');
let apitore_text2labelbytfidfapis = require('@datafire/apitore_text2labelbytfidfapis').create();
apitore_text2labelbytfidfapis.getUsingGET_1({}).then(data => {
console.log(data);
})
Description
Text to label by tfidf of contents.
[Endpoint] https://api.apitore.com/api/18
Actions
getUsingGET_1
Text2Label by tfidf.
Response
Github: summarize-response
Class: com.apitore.banana.response.summarize.LabelResponseEntity
apitore_text2labelbytfidfapis.getUsingGET_1({
"access_token": "",
"text": ""
}, context)
Parameters
- access_token (string) required - Access Token
- text (string) required - text
- num (integer) - num [max 10, default 1]