InputType
- The input type to convert.OutputType
- The output textual representation.public interface MultiTextualConverter<InputType,OutputType extends Textual> extends DataConverter<InputType,java.lang.Iterable<OutputType>>, TextualConverter<InputType,OutputType>
TextConverter
that converts an input into possibly
multiple output textual objects. This is usually done to encapsulate a
strategy for transforming an object so that it can be used in text analysis,
such as being fed into tokenization for a term extraction pipeline.Modifier and Type | Method and Description |
---|---|
java.lang.Iterable<OutputType> |
convert(InputType input)
Convert the input object into zero or more textual objects.
|
convertAll
java.lang.Iterable<OutputType> convert(InputType input)
input
- The input to convert.