![JAR search and dependency download from the Maven repository](/logo.png)
edu.stanford.nlp.parser.metrics.ParserQueryEval Maven / Gradle / Ivy
package edu.stanford.nlp.parser.metrics;
import java.io.PrintWriter;
import edu.stanford.nlp.parser.common.ParserQuery;
import edu.stanford.nlp.trees.Tree;
/**
* Evaluate based on the ParserQuery rather than the Tree produced
*
* @author John Bauer
*/
public interface ParserQueryEval {
public void evaluate(ParserQuery query, Tree gold, PrintWriter pw);
/**
* Called after the evaluation is finished. While that generally
* means you want to display final stats here, you can also use this
* as a chance to close open files, etc
*/
public void display(boolean verbose, PrintWriter pw);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy