Sentiment Analyzer (Deprecated)
Sentiment Analysis inspects the given text and identifies the prevailing emotional opinion within the text, especially to determine a writer's attitude as positive, negative, or neutral.
Pricing
This API analyzes the sentiment of a text
Headers
Name
Type
Description
Request Body
Name
Type
Description
{
"success": true,
"data": {
"documentSentiment": {
"magnitude": 0.6,
"score": -0.6
},
"language": "en",
"sentences": [
{
"text": {
"content": "Bad apple",
"beginOffset": -1
},
"sentiment": {
"magnitude": 0.6,
"score": -0.6
}
}
]
}
}Last updated