opennlp.tools.parser
Interface GapLabeler

All Known Implementing Classes:
HeadRules

public interface GapLabeler

Interface for labeling nodes which contain traces so that these traces can be predicted by the parser.


Method Summary
 void labelGaps(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.


Copyright © 2010. All Rights Reserved.