Sentiment
Perform line by line sentiment analysis on any text.
POST
/
v1
/
ai
/
sentiment
Body
text
string
requiredThe text to be analyzed
Header
x-api-key
string
requiredYour JigsawStack API key
Response
success
boolean
Indicates whether the call was successful.
sentiment
object
sentiment
string
Indicates the sentiment the text. E.g positive
or negative
emotion
string
Indicates the type of emotion inferred from the text. Supported emotions:
anger
fear
sadness
happiness
anxiety
disgust
embarrassment
love
surprise
shame
envy
satisfaction
self-confidence
annoyance
boredom
hatred
compassion
guilt
loneliness
depression
pride
neutral
score
number
Indicates the sentiment score of the text.
sentences
Array<object>
The list of texts with associated sentiment result