net.sf.textkit4j.classify
Class Classification

java.lang.Object
  extended by net.sf.textkit4j.classify.Classification

public class Classification
extends java.lang.Object

This is the result of a Classifier.classify operation.

Author:
rich

Field Summary
static java.lang.Double NEUTRAL_PROBABILITY
           
 
Constructor Summary
Classification()
           
 
Method Summary
 java.lang.String getCategory()
           
 java.lang.Double getProbability()
           
 void setCategory(java.lang.String category)
           
 void setProbability(java.lang.Double probability)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NEUTRAL_PROBABILITY

public static final java.lang.Double NEUTRAL_PROBABILITY
Constructor Detail

Classification

public Classification()
Method Detail

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.