public class ToneTrait extends Object
| Constructor and Description |
|---|
ToneTrait() |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Gets the id.
|
List<LinguisticEvidence> |
getLinguisticEvidence()
Gets the linguistic evidence.
|
String |
getName()
Gets the name.
|
Double |
getNormalizedScore()
Gets the normalized score.
|
Double |
getRawScore()
Gets the raw score.
|
Integer |
getWordCount()
Gets the word count.
|
void |
setId(String id)
Sets the id.
|
void |
setLinguisticEvidence(List<LinguisticEvidence> linguisticEvidence)
Sets the linguistic evidence.
|
void |
setName(String name)
Sets the name.
|
void |
setNormalizedScore(Double normalizedScore)
Sets the normalized score.
|
void |
setRawScore(Double rawScore)
Sets the raw score.
|
void |
setWordCount(Integer wordCount)
Sets the word count.
|
String |
toString() |
ToneTrait |
withId(String id)
With id.
|
ToneTrait |
withLinguisticEvidence(List<LinguisticEvidence> linguisticEvidence)
With linguistic evidence.
|
ToneTrait |
withName(String name)
With name.
|
ToneTrait |
withNormalizedScore(Double normalizedScore)
With normalized score.
|
ToneTrait |
withRawScore(Double rawScore)
With raw score.
|
ToneTrait |
withWordCount(Integer wordCount)
With word count.
|
public String getName()
public void setName(String name)
name - The namepublic ToneTrait withName(String name)
name - the namepublic String getId()
public void setId(String id)
id - The idpublic Integer getWordCount()
public void setWordCount(Integer wordCount)
wordCount - The word countpublic ToneTrait withWordCount(Integer wordCount)
wordCount - the word countpublic Double getNormalizedScore()
public void setNormalizedScore(Double normalizedScore)
normalizedScore - The normalized_scorepublic ToneTrait withNormalizedScore(Double normalizedScore)
normalizedScore - the normalized scorepublic Double getRawScore()
public void setRawScore(Double rawScore)
rawScore - The raw scorepublic ToneTrait withRawScore(Double rawScore)
rawScore - the raw scorepublic List<LinguisticEvidence> getLinguisticEvidence()
public void setLinguisticEvidence(List<LinguisticEvidence> linguisticEvidence)
linguisticEvidence - The linguistic_evidencepublic ToneTrait withLinguisticEvidence(List<LinguisticEvidence> linguisticEvidence)
linguisticEvidence - the linguistic evidenceCopyright © 2015. All rights reserved.