Sentiment Analysis

FREEMIUM
By MeaningCloud
Updated 9 hours ago
Data
7.1/10
Popularity Score
386ms
Latency
100%
Success Rate

Sentiment Analysis API Documentation

Multilingual sentiment analysis of texts from different sources (blogs, social networks,…). Besides polarity at sentence and global level, Sentiment Analysis uses advanced natural language processing techniques to also detect the polarity associated to both entities and concepts in the text. Sentiment Analysis also gives the user the possibility of detecting the polarity of user-defined entities and concepts, making the service a flexible tool applicable to any kind of scenario. Additionally, Sentiment Analysis detects if the text processed is subjective or objective and if it contains irony marks [beta], both at global and sentence level, giving the user additional information about the reliability of the polarity obtained from the sentiment analysis.

View API Details
GETsentiment-2.1
GETsentiment-2.1

Sentiment Analysis 2.1

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
AcceptSTRING
OPTIONAL
Required Parameters
langSTRING
REQUIREDLanguage in which to analyze the text
txtSTRING
REQUIREDText to analyze
modelSTRING
REQUIREDSentiment model to use in the analysis
Optional Parameters
ofSTRING
OPTIONALOutput format
txtfSTRING
OPTIONALText format
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. Possible values: y or n
dmSTRING
OPTIONALType of disambiguation applied. It is accumulative, that is, the semantic disambiguation mode will also include morphosyntactic disambiguation. Possible values: n (no disambiguation), m (morphosyntactic disambiguation), s (semantic disambiguation)
sdgSTRING
OPTIONALSemantic disambiguation grouping. This parameter will only apply when semantic disambiguation is activated (dm=s). Possible values: n (none), g (global intersection), t (intersection by type), l (intersection by type - smallest location)
rtSTRING
OPTIONALThis parameter indicates how reliable the text to analyze is (as far as spelling, typography, etc. are concerned), and influences how strict the engine will be when it comes to take these factors into account in the analysis. Possible values: y, n or u (enabled just for user dictionary)
egpSTRING
OPTIONALExpand global polarity. This mode allows you to choose between two different algorithms for the polarity detection of entities and concepts. Enabling the parameter gives less weight to the syntactic relationships, so it's recommended for short texts with unreliable typography. Possible values: y or n
contSTRING
OPTIONALDisambiguation context. Context prioritization for entity semantic disambiguation
Code Snippet
Install SDK
Response Example

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication