net.sf.textkit4j.classify
Class Classification
java.lang.Object
net.sf.textkit4j.classify.Classification
public class Classification
- extends java.lang.Object
This is the result of a Classifier.classify operation.
- Author:
- rich
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NEUTRAL_PROBABILITY
public static final java.lang.Double NEUTRAL_PROBABILITY
Classification
public Classification()
getCategory
public java.lang.String getCategory()
getProbability
public java.lang.Double getProbability()
setCategory
public void setCategory(java.lang.String category)
setProbability
public void setProbability(java.lang.Double probability)
Copyright © 2009 All Eight, LLC. All Rights Reserved.