Detect the sentiment (positive or negative) of a given text. The entire document is scored and also each individual sentence.
{
"document": {
"sentiment": "positive",
"confidence": 1,
"average_confidence": 1
},
"sentences": [
{
"sentiment": "positive",
"offset": 0,
"confidence": 1,
"length": 34
}
]
}
{{ codeCopyText }}
{{ codeCopyText }}
{{ codeCopyText }}
{{ codeCopyText }}
{{ codeCopyText }}
{{ codeCopyText }}