public class Classification
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Constructor and Description |
---|
Classification() |
Modifier and Type | Method and Description |
---|---|
List<ClassifiedClass> |
getClasses()
Gets the classes.
|
String |
getClassifierId()
Gets the classifierId.
|
String |
getText()
Gets the text.
|
String |
getTopClass()
Gets the topClass.
|
String |
getUrl()
Gets the url.
|
public String getClassifierId()
Unique identifier for this classifier.
public String getUrl()
Link to the classifier.
public String getText()
The submitted phrase.
public String getTopClass()
The class with the highest confidence.
public List<ClassifiedClass> getClasses()
An array of up to ten class-confidence pairs sorted in descending order of confidence.
Copyright © 2021 IBM Cloud. All rights reserved.