public class Classification extends Object
Classification provides a first-best category.
Subclasses provide n-best results with numerical scores of
various interpretations.| Constructor and Description |
|---|
Classification(String bestCategory)
Construct a classification with the specified first-best
category.
|
| Modifier and Type | Method and Description |
|---|---|
String |
bestCategory()
Returns the best-scoring category.
|
String |
toString()
Returns a string-based representation of the first-best
category of this classification.
|
public Classification(String bestCategory)
bestCategory - Category of this classification.IllegalArgumentException - If the category is null.public String bestCategory()
Copyright © 2016 Alias-i, Inc.. All rights reserved.