edu.stanford.nlp.classify
Class Verifier

java.lang.Object
  |
  +--edu.stanford.nlp.classify.Verifier

public class Verifier
extends Object

Compares the classification of a FeatureSet (true value) to the classification of a Classification (predicted value)


Constructor Summary
Verifier(FeatureSet fs, Classification c)
          Constructor: takes the FeatureSet and Classification whose values will be prepared.
 
Method Summary
 boolean result()
          Returns the result from comparing these two classes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Verifier

public Verifier(FeatureSet fs,
                Classification c)
Constructor: takes the FeatureSet and Classification whose values will be prepared.

Method Detail

result

public boolean result()
Returns the result from comparing these two classes.



Stanford NLP Group