InputType
- The type of input that can be converted to a textual form.OutputType
- The type of textual output of the converter. Must implement the
Textual
interface.public interface SingleTextualConverter<InputType,OutputType extends Textual> extends DataConverter<InputType,OutputType>, TextualConverter<InputType,OutputType>
TextConverter
that converts an input into a single
output. 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 |
---|---|
OutputType |
convert(InputType input)
Convert an input into its single textual form.
|
convertAll
OutputType convert(InputType input)
input
- The input to convert.