if(new File(annotationsFolder, i + ".tsv").exists()) {
continue;
}
try{
List<DBpediaResourceOccurrence> annotatedOccurrences = annotator.annotate(text.text());
FileWriter fileWriter = new FileWriter(new File(annotationsFolder, i + ".tsv"));
for(DBpediaResourceOccurrence annotatedOccurrence : annotatedOccurrences){
fileWriter.write(annotatedOccurrence.toTsvString() + "\n");
}