
Analyze text sentiment with high accuracy (positive, negative, neutral)
Analyzes text sentiment (negative, neutral, positive)
textstringRequiredText content to analyze for sentiment
This product exceeded my expectations!Sentiment analysis result with probability scores
labelstringPrimary sentiment classification
positivenegative_probabilityfloatProbability of negative sentiment (0.0-1.0)
0.05neutral_probabilityfloatProbability of neutral sentiment (0.0-1.0)
0.1positive_probabilityfloatProbability of positive sentiment (0.0-1.0)
0.85confidencefloatClassification confidence (0.0-1.0)
0.92{
"model": "advanced-sentiment-analysis",
"content": "This product exceeded my expectations!"
}{
"success": true,
"data": {
"label": "positive",
"negative_probability": 0.05,
"neutral_probability": 0.1,
"positive_probability": 0.85,
"confidence": 0.92
}
}429 HTTP error code along with an error message. You should then retry with an exponential back-off strategy, meaning that you should retry after 4 seconds, then 8 seconds, then 16 seconds, etc.Integrate Advanced Sentiment Analysis into your application today with our easy-to-use API.