public void writeAnswers ( List < IN > doc , PrintWriter printWriter , DocumentReaderAndWriter < IN > readerAndWriter ) throws IOException { if ( flags . lowerNewgeneThreshold ) { return ; } if ( flags . numRuns <= 1 ) { readerAndWriter . printAnswers ( doc , printWriter ) ; // out.println(); printWriter . flush ( ) ; } }
Write the classifications of the Sequence classifier out to a writer in a format determined by the DocumentReaderAndWriter used .