Creates a locally-normalized anchored PCFG from some refined forest.
Creates anchorings for a set of trees from some parser using p(rule | sentence) marginals.
Used for computed the expected number of anchored rules that occur at each span/split.
Used for computed the expected number of anchored labels that occur at each span
Projects a chart to a span anchoring
An epic.parser.projections.EnumeratedAnchoring is a compressed forest, with potentially distinct rule and span scores for every possible anchoring.
Creates a grammar using only span marginals and unary rule marginals
Finds the best tree (relative to the gold tree) s.
Creates labeled span scorers for a set of trees from some parser.
For computing projections from a fine grammar to a coarse grammar.
TODO
Object for creating epic.constraints.CachedChartConstraintsFactory from a parser and prepopulating it with the contents of a treebank.