GapLabeler (Apache OpenNLP Tools 2.5.9 API)
Description: declaration: package: opennlp.tools.parser, interface: GapLabeler

# Interface GapLabeler

All Known Implementing Classes:
  `AncoraSpanishHeadRules, HeadRules`

public interface GapLabeler
Represents a labeler for nodes which contain traces so that these traces can be predicted by a `Parser`.

See Also:
  - `Parser`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `labelGaps(Stack<Constituent> stack)`
  Labels `constituents` found in the `stack` with gap labels if appropriate.

- ## Method Details

  - ### labelGaps

    void labelGaps(Stack<Constituent> stack)
    Labels `constituents` found in the `stack` with gap labels if appropriate.
    Parameters:
      `stack` - The `Stack` of un-completed `constituents`.