@Override
public void evaluateClassifier(String resultFile,ArrayList<SupportedFeature> neededFeats) {
SupervisedPanel svmClassifier = new SupervisedPanel(neededFeats);
svmClassifier.setCorpus(annotatedCorpus);
Evaluation evaluator = svmClassifier.kFoldValidate();
writeStatsToFile(evaluator, resultFile);
}
private void writeStatsToFile(Evaluation evaluator,String resultFile){
try {