new AnnotatedDataset(new File(args[0]),
AnnotatedDataset.Format.CSAW, spotlightFactory);
int tp = 0, fp = 0, fn = 0;
Set<DBpediaResourceOccurrence> goldAnnotations = evaluationCorpus.toDBpediaResourceOccurrences();
writeAnnotations(spotlightFactory, evaluationCorpus,
new File(args[1]));
/**
* Read all annotations made by a configuration of DBpedia Spotlight.