public class ToneAnalysis extends GenericModel
Constructor and Description |
---|
ToneAnalysis() |
Modifier and Type | Method and Description |
---|---|
void |
addSentencesTone(SentenceTone analysis)
Adds the sentences tone.
|
ElementTone |
getDocumentTone()
Gets the document tone.
|
java.util.List<SentenceTone> |
getSentencesTone()
Gets the sentences tone.
|
void |
setDocumentTone(ElementTone documentTone)
Sets the document tone.
|
void |
setSentencesTone(java.util.List<SentenceTone> sentencesTone)
Sets the sentences tone.
|
equals, hashCode, toString
public void addSentencesTone(SentenceTone analysis)
analysis
- the analysispublic ElementTone getDocumentTone()
public java.util.List<SentenceTone> getSentencesTone()
public void setDocumentTone(ElementTone documentTone)
documentTone
- the new document tonepublic void setSentencesTone(java.util.List<SentenceTone> sentencesTone)
sentencesTone
- the new sentences tone