edu.stanford.nlp.parser.lexparser.RerankerQuery Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of stanford-parser Show documentation
Show all versions of stanford-parser Show documentation
Stanford Parser processes raw text in English, Chinese, German, Arabic, and French, and extracts constituency parse trees.
package edu.stanford.nlp.parser.lexparser;
import edu.stanford.nlp.trees.Tree;
/**
* Process a Tree and return a score. Typically constructed by the
* Reranker, possibly given some extra information about the sentence
* being parsed.
*
* @author John Bauer
*/
public interface RerankerQuery {
double score(Tree tree);
}