public static class DocumentEmotion.Emotion extends GenericModel
AlchemyLanguage.getEmotion(java.util.Map)
.Constructor and Description |
---|
Emotion() |
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.
|
void |
setAnger(Double anger)
Sets the anger.
|
void |
setDisgust(Double disgust)
Sets the disgust.
|
void |
setFear(Double fear)
Sets the fear.
|
void |
setJoy(Double joy)
Sets the joy.
|
void |
setSadness(Double sadness)
Sets the sadness.
|
equals, hashCode, toString
public Double getAnger()
public Double getDisgust()
public Double getFear()
public Double getJoy()
public Double getSadness()
public void setAnger(Double anger)
anger
- the new angerpublic void setDisgust(Double disgust)
disgust
- the new disgustpublic void setFear(Double fear)
fear
- the new fearpublic void setJoy(Double joy)
joy
- the new joypublic void setSadness(Double sadness)
sadness
- the new sadnessCopyright © 2015–2016 IBM Watson. All rights reserved.