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 void addSentencesTone(SentenceTone analysis)
analysis
- the analysispublic ElementTone getDocumentTone()
public List<SentenceTone> getSentencesTone()
public void setDocumentTone(ElementTone documentTone)
documentTone
- the new document tonepublic void setSentencesTone(List<SentenceTone> sentencesTone)
sentencesTone
- the new sentences toneCopyright © 2015–2016 IBM Watson. All rights reserved.