Package opennlp.tools.parser
Interface GapLabeler
-
- All Known Implementing Classes:
AncoraSpanishHeadRules,HeadRules
public interface GapLabelerInterface for labeling nodes which contain traces so that these traces can be predicted by the parser.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidlabelGaps(Stack<Constituent> stack)Labels the constituents found in the stack with gap labels if appropriate.
-
-
-
Method Detail
-
labelGaps
void labelGaps(Stack<Constituent> stack)
Labels the constituents found in the stack with gap labels if appropriate.- Parameters:
stack- The stack of un-completed constituents.
-
-