public void printAnswers(List<CoreLabel> doc, PrintWriter out) {
    for (CoreLabel wi : doc) {
      String answer = wi.get(AnswerAnnotation.class);
      String goldAnswer = wi.get(GoldAnswerAnnotation.class);
      out.println(wi.word() + "\t" + goldAnswer + "\t" + answer);
    }
    out.println();
  }
public void printAnswers ( List < CoreLabel > doc , PrintWriter out ) { for ( CoreLabel wi : doc ) { String answer = wi . get ( AnswerAnnotation . class ) ; String goldAnswer = wi . get ( GoldAnswerAnnotation . class ) ; out . println ( wi . word ( ) + "\t" + goldAnswer + "\t" + answer ) ; } out . println ( ) ; }
end class ColumnDocParser