Interface ITextUnitFilter


  • public interface ITextUnitFilter
    Instances of classes that implement this interface are used to filter text units that need to be processed by a filtering pipeline step.
    • Method Detail

      • accept

        boolean accept​(ITextUnit tu)
        Tests if a given text unit should be processed by a filtering pipeline step. If a text unit is not accepted, then it is not processed by the step and sent unmodified further along the pipeline.
        Parameters:
        tu - the given text unit
        Returns:
        true if the given text unit should be processed by the step