if (!this.isTraining()) {
this.eventChunking.createChunks(jCas, tokens, outcomes);
}
}
if(this.isTraining() && this.smoteNumOfNeighbors >= 1){ //add synthetic instances to datawriter, if smote is selected
Iterable<Instance<String>> syntheticInsts = smote.populateMinorityClass();
for( Instance<String> sytheticInst: syntheticInsts){
this.dataWriter.write(sytheticInst);
}
}