input text to annotate
Optionallang: string[]
language of the provided document (can be an ISO2 or ISO3 code). If None is provided, the language will be automatically detected
OptionalcustomParams: { [name: string]: unknown }Determine the set of up to 5 categories the text is about. Currently, only English text can be categorized!
input text to categorize
Optionalconcepts: string[]
optional list of concept URIs to bias categorization
Determine the language of the given text
input text to analyse
Extract all available information about an article available at url url.
Returned information will include article title, body, authors, links in the articles,...
article url that'll be used for extraction
OptionalproxyUrl: string
proxy that should be used for downloading article information. format: {schema}://{username}:{pass}@{proxy url/ip}
Optionalheaders: { [name: string]: unknown }Optionalcookies: { [name: string]: unknown }Extract named entities from the provided text. Supported languages are English, German, Spanish and Chinese.
determine the sentiment of the provided text in English language
input text to categorize
method to use to compute the sentiment. possible values are "vocabulary" (vocabulary based sentiment analysis) and "rnn" (neural network based sentiment classification)
Retrieve topic for the topic for which you have already finished training
uri of the topic (obtained by calling trainTopicCreateTopic method)
returns the trained topic: { concepts: [], categories: [] }
Create a new topic and train it using the tweets that match the twitterQuery
string containing the content to search for. It can be a Twitter user account (using "@" prefix or user's Twitter url),a hash tag (using "#" prefix) or a regular keyword.
Object which contains a host of optional parameters
Identify the list of entities and nonentities mentioned in the text