use of edu.illinois.cs.cogcomp.prepsrl.inference.ConstrainedPrepSRLClassifier in project cogcomp-nlp by CogComp.
the class Main method test.
public void test() {
ConstrainedPrepSRLClassifier classifier = new ConstrainedPrepSRLClassifier();
Parser testDataReader = new PrepSRLDataReader(dataDir, "test");
TestDiscrete tester = new TestDiscrete();
TestDiscrete.testDiscrete(tester, classifier, new PrepSRLClassifier.Label(), testDataReader, true, 100);
testDataReader.close();
}
Aggregations