public interface TextProcessor
TextProcessor
allows applying pre-processing to input tokens for natural language
applications. Multiple implementations of TextProcessor
can be applied on the same input.
The order of application of different implementations of TextProcessor
can make a
difference in the final output.Modifier and Type | Method and Description |
---|---|
java.util.List<java.lang.String> |
preprocess(java.util.List<java.lang.String> tokens)
Applies the preprocessing defined to the given input tokens.
|