|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.aliasi.classify.Classification
public class Classification
A Classification provides a first-best category.
Subclasses provide n-best results with numerical scores of
various interpretations.
| Constructor Summary | |
|---|---|
Classification(String bestCategory)
Construct a classification with the specified first-best category. |
|
| Method Summary | |
|---|---|
String |
bestCategory()
Returns the best-scoring category. |
String |
toString()
Returns a string-based representation of the first-best category of this classification. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Classification(String bestCategory)
bestCategory - Category of this classification.| Method Detail |
|---|
public String bestCategory()
public String toString()
toString in class Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||