Interface ITextUnitFilter
-
public interface ITextUnitFilterInstances of classes that implement this interface are used to filter text units that need to be processed by a filtering pipeline step.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanaccept(ITextUnit tu)Tests if a given text unit should 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:
trueif the given text unit should be processed by the step
-
-