Scores the indexed epic.trees.BinaryRule rule when it occurs at (begin, split, end)
Scores the indexed epic.trees.BinaryRule rule when it occurs at (begin, split, end)
Scores the indexed label rule with refinenemnt ref, when it occurs at (begin, end).
Scores the indexed label rule with refinenemnt ref, when it occurs at (begin, end). Can be used for s, or for a "bottom" label. Mainly used for s.
Scores the indexed epic.trees.UnaryRule rule when it occurs at (begin, end)
Scores the indexed epic.trees.UnaryRule rule when it occurs at (begin, end)
Computes the pointwise product of two grammars, augmenting their refinement space to reflect this.
Computes the pointwise product of two grammars, augmenting their refinement space to reflect this. If they share the same annotationTag, (assuming it's non-negative) they will share their state space. (That is, they will have the same annotations.)
Computes the pointwise division of two grammars, augmenting their refinement space to reflect this.
Computes the pointwise division of two grammars, augmenting their refinement space to reflect this. If they share the same annotationTag, (assuming it's non-negative) they will share their state space. (That is, they will have the same annotations.)
The annotationTag controls if two grammars are over the same refinements.
The annotationTag controls if two grammars are over the same refinements. If they are, then * and / can be much faster.
Note that 0 is reserved for unrefined anchorings, and -1 never matches other tags.
Reserved: 1 - Lexicalized Parsers with no symbol or rule annotation
0's will be optimized
Returns the refined rule given parent and child refinements for a unary rule.
Returns the refined rule given parent and child refinements for a unary rule. May return -1 if no such rule is allowed.
rule Index
parent index
left child index
right child index
rule refinement id, or -1 if rule is not allowed with those refinements
Returns the refined rule given parent and child refinements for a unary rule.
Returns the refined rule given parent and child refinements for a unary rule. May return -1 if no such rule is allowed.
rule index
parent index
child index
rule refinement id, or -1 if rule is not allowed with those refinements
For a given span, what refinements to the label are allowed? Refinements in general are in the range (0, numValidRefinements).
For a given span, what refinements to the label are allowed? Refinements in general are in the range (0, numValidRefinements). This method may return a subset.
array of valid refinements. Don't modify!
For a given span and the parent's refinement, what refinements to the rule are allowed?
For a given span and the parent's refinement, what refinements to the rule are allowed?
(Since version ) see corresponding Javadoc for more information.
TODO