All Downloads are FREE. Search and download functionalities are using the official Maven repository.

edu.stanford.nlp.parser.lexparser.RerankerQuery Maven / Gradle / Ivy

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy