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

Type Parameters:
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.
All Superinterfaces:
DataConverter<InputType,OutputType>, Evaluator<InputType,OutputType>, TextualConverter<InputType,OutputType>
All Known Implementing Classes:
AbstractSingleTextualConverter, DocumentFieldConcatenator, DocumentSingleFieldConverter, ObjectToStringTextualConverter

public interface SingleTextualConverter<InputType,OutputType extends Textual>
extends DataConverter<InputType,OutputType>, TextualConverter<InputType,OutputType>

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

Since:
3.1
Author:
Justin Basilico

Method Summary
 OutputType convert(InputType input)
          Convert an input into its single textual form.
 
Methods inherited from interface gov.sandia.cognition.evaluator.Evaluator
evaluate
 
Methods inherited from interface gov.sandia.cognition.text.convert.TextualConverter
convertAll
 

Method Detail

convert

OutputType convert(InputType input)
Convert an input into its single textual form.

Parameters:
input - The input to convert.
Returns:
The output textual object.