public class Classification extends GenericModel
NaturalLanguageClassifier service.| Constructor and Description |
|---|
Classification() |
| Modifier and Type | Method and Description |
|---|---|
List<ClassifiedClass> |
getClasses()
Gets the classes.
|
String |
getId()
Gets the id.
|
String |
getText()
Gets the text.
|
String |
getTopClass()
Gets the top lass.
|
Double |
getTopConfidence()
Gets the top confidence.
|
String |
getUrl()
Gets the url.
|
void |
setClasses(List<ClassifiedClass> classes)
Sets the classes.
|
void |
setId(String id)
Sets the id.
|
void |
setText(String text)
Sets the text.
|
void |
setTopClass(String topClass)
Sets the top class.
|
void |
setTopConfidence(Double topConfidence)
Sets the top confidence.
|
void |
setUrl(String url)
Sets the url.
|
equals, hashCode, toStringpublic List<ClassifiedClass> getClasses()
public String getId()
public String getText()
public String getTopClass()
public Double getTopConfidence()
public String getUrl()
public void setClasses(List<ClassifiedClass> classes)
classes - the new classespublic void setId(String id)
id - the new idpublic void setText(String text)
text - the new textpublic void setTopClass(String topClass)
topClass - class the new top classpublic void setTopConfidence(Double topConfidence)
topConfidence - the topConfidence to setpublic void setUrl(String url)
url - the new urlCopyright © 2015–2016. All rights reserved.