public interface DocumentReaderAndWriter<IN extends CoreMap> extends IteratorFromReaderFactory<List<IN>>, Serializable
Modifier and Type | Method and Description |
---|---|
void |
init(SeqClassifierFlags flags)
This will be called immediately after construction.
|
void |
printAnswers(List<IN> doc,
PrintWriter out)
This method prints the output of the classifier to a
PrintWriter . |
getIterator
void init(SeqClassifierFlags flags)
flags
- Flags specifying behaviorvoid printAnswers(List<IN> doc, PrintWriter out)
PrintWriter
.doc
- The document which has answers (it has been classified)out
- Where to send the output