|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--edu.stanford.nlp.ie.hmm.HMMTester
Programmatically tests the quality of an HMM on a Corpus.
| Constructor Summary | |
HMMTester(HMM hmm)
Constructs a new tester for the given HMM. |
|
| Method Summary | |
double |
test(Corpus testDocs)
Returns test(testDocs,false,false). |
double |
test(Corpus testDocs,
boolean bestAnswerOnly,
boolean print)
Returns the F1 measure for the HMM on the given corpus. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public HMMTester(HMM hmm)
| Method Detail |
public double test(Corpus testDocs)
test(testDocs,false,false).
public double test(Corpus testDocs,
boolean bestAnswerOnly,
boolean print)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||