public class Classification
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Field and Description |
---|---|
protected java.util.List<ClassifiedClass> |
classes |
protected java.lang.String |
classifierId |
protected java.lang.String |
text |
protected java.lang.String |
topClass |
protected java.lang.String |
url |
Constructor and Description |
---|
Classification() |
Modifier and Type | Method and Description |
---|---|
java.util.List<ClassifiedClass> |
getClasses()
Gets the classes.
|
java.lang.String |
getClassifierId()
Gets the classifierId.
|
java.lang.String |
getText()
Gets the text.
|
java.lang.String |
getTopClass()
Gets the topClass.
|
java.lang.String |
getUrl()
Gets the url.
|
@SerializedName(value="classifier_id") protected java.lang.String classifierId
protected java.lang.String url
protected java.lang.String text
@SerializedName(value="top_class") protected java.lang.String topClass
protected java.util.List<ClassifiedClass> classes
public java.lang.String getClassifierId()
Unique identifier for this classifier.
public java.lang.String getUrl()
Link to the classifier.
public java.lang.String getText()
The submitted phrase.
public java.lang.String getTopClass()
The class with the highest confidence.
public java.util.List<ClassifiedClass> getClasses()
An array of up to ten class-confidence pairs sorted in descending order of confidence.