This endpoint takes as input text in english language, and evaluates if the overall sentiment of the text is positive or negative.
The Sentiment Analysis Endpoint evaluates the overall sentiment of text in English language. The endpoint returns the sentiment and score in a JSON object. The score value reflects the sentiment of the text and ranges from negative to positive. A score below zero indicates mostly negative sentiment, while a score above zero indicates mostly positive sentiment. The API automatically divides the continuous score into two classes: negative sentiment (score <= 0.0) and positive sentiment (score > 0.0). This feature can be used for text classification by sentiment and provides valuable insights for businesses, researchers, and marketers.