gov.sandia.cognition.text.convert
Interface MultiTextualConverter<InputType,OutputType extends Textual>

Type Parameters:
InputType - The input type to convert.
OutputType - The output textual representation.
All Superinterfaces:
DataConverter<InputType,Iterable<OutputType>>, Evaluator<InputType,Iterable<OutputType>>, TextualConverter<InputType,OutputType>
All Known Implementing Classes:
AbstractMultiTextualConverter, SingleToMultiTextualConverterAdapter

public interface MultiTextualConverter<InputType,OutputType extends Textual>
extends DataConverter<InputType,Iterable<OutputType>>, TextualConverter<InputType,OutputType>

Interface for an 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.

Since:
3.1
Author:
Justin Basilico

Method Summary
 Iterable<OutputType> convert(InputType input)
          Convert the input object into zero or more textual objects.
 
Methods inherited from interface gov.sandia.cognition.evaluator.Evaluator
evaluate
 
Methods inherited from interface gov.sandia.cognition.text.convert.TextualConverter
convertAll
 

Method Detail

convert

Iterable<OutputType> convert(InputType input)
Convert the input object into zero or more textual objects.

Parameters:
input - The input to convert.
Returns:
Zero or more textual objects.