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)
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 |
Verifier
public Verifier(FeatureSet fs,
Classification c)
- Constructor: takes the FeatureSet and Classification whose
values will be prepared.
result
public boolean result()
- Returns the result from comparing these two classes.
Stanford NLP Group