Enable this model configuration to analyze text sentiment based on (Lexical Emotion Analysis) is the response inside the sentiment key
Sentiment Analysis will help you interpret and quantify if the conversation or text is Positive, Very Positive, Negative, Very Negative, or Neutral. It also provides you a measure as to how subjective the conversation is with a subjectivity score.
a statement or sentence that is highly positive
"Brilliant work John, you really came through."
a statement or a sentence that is marginally positive
"Okay let's hope everything is fine."
a statement or a sentence that is neutral
"sure I will do that tomorrow"
a statement or a sentence that is marginally Negative
am not happy with the outcome.."
a statement or sentence that is highly negative
"I don't think that will happen today"
Returns the predicted sentiment for a given sentence
Example Curl Request
Shown below is a code snippet to send a request for the sentiment analysis
curl --location --request POST 'https://api.marsview.ai/text/sentiment/get_sentiment' \
--header 'Content-Type: application/json' \
"jwtToken": "Insert JWT token Key",
"sentence": "Insert your sentence for sentiment detection here",