org.allenai.nlpstack.parse.poly.reranking
the weirdness classifier
computes a feature vector from a parse tree node
the minimum probability of weirdness in order for a node to count as "weird"
the weirdness classifier
computes a feature vector from a parse tree node
Gets the set of "weird" tokens in a parse.
Gets the set of "weird" tokens in a parse.
the parse tree to analyze
the indices and explanation for all tokens classified as weird
the minimum probability of weirdness in order for a node to count as "weird"
This reranking function attempts to rerank parses based on how many "weird" nodes they have, according to a "weirdness" classifier.
the weirdness classifier
computes a feature vector from a parse tree node
the minimum probability of weirdness in order for a node to count as "weird"