if (!new File(fromRulesFolder).exists()) {
TextRulerToolkit.log("\tSKIPPED, fromRulesFolder not found!");
return;
}
F1Scorer scorer = new F1Scorer(ae, originalsFolder, fromRulesFolder);
Score slotScore = scorer.scoreSlot(slotName);
String str = "Score Results for Fold " + foldNumber + "\t Slot: " + slotName
+ "\t Algorithm: " + algorithmID + "\n\n";
str += slotScore.toString();
try {
FileUtils.saveString2File(str, new File(resultsFile));
} catch (IOException e) {
TextRulerPlugin.error(e);
}