public class EmotionScores
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Constructor and Description |
---|
EmotionScores() |
Modifier and Type | Method and Description |
---|---|
Double |
getAnger()
Gets the anger.
|
Double |
getDisgust()
Gets the disgust.
|
Double |
getFear()
Gets the fear.
|
Double |
getJoy()
Gets the joy.
|
Double |
getSadness()
Gets the sadness.
|
public Double getAnger()
Anger score from 0 to 1. A higher score means that the text is more likely to convey anger.
public Double getDisgust()
Disgust score from 0 to 1. A higher score means that the text is more likely to convey disgust.
public Double getFear()
Fear score from 0 to 1. A higher score means that the text is more likely to convey fear.
public Double getJoy()
Joy score from 0 to 1. A higher score means that the text is more likely to convey joy.
public Double getSadness()
Sadness score from 0 to 1. A higher score means that the text is more likely to convey sadness.
Copyright © 2021 IBM Cloud. All rights reserved.