public class CollectionItem
extends com.ibm.cloud.sdk.core.service.model.GenericModel
| Constructor and Description | 
|---|
CollectionItem()  | 
| Modifier and Type | Method and Description | 
|---|---|
List<ClassifiedClass> | 
getClasses()
Gets the classes. 
 | 
String | 
getText()
Gets the text. 
 | 
String | 
getTopClass()
Gets the topClass. 
 | 
public String getText()
The submitted phrase. The maximum length is 2048 characters.
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.