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.
|
List<SentenceTone> |
getSentencesTone()
Gets the sentences tone.
|
void |
setDocumentTone(ElementTone documentTone)
Sets the document tone.
|
void |
setSentencesTone(List<SentenceTone> sentencesTone)
Sets the sentences tone.
|
equals, hashCode, toString
public ElementTone getDocumentTone()
public void setDocumentTone(ElementTone documentTone)
documentTone
- the new document tonepublic List<SentenceTone> getSentencesTone()
public void setSentencesTone(List<SentenceTone> sentencesTone)
sentencesTone
- the new sentences tonepublic void addSentencesTone(SentenceTone analysis)
analysis
- the analysisCopyright © 2015–2016. All rights reserved.