public class TrainingData extends Object
NaturalLanguageClassifier| Constructor and Description |
|---|
TrainingData() |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getClasses()
Gets the classes.
|
String |
getText()
Gets the representative phrase.
|
void |
setClasses(List<String> classes)
Sets the classes.
|
void |
setText(String text)
Sets the representative phrase.
|
String |
toString() |
public String getText()
public void setText(String text)
text - the new phrasepublic void setClasses(List<String> classes)
classes - the new classesCopyright © 2015. All rights reserved.