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