List<CodedArticle> articles = TestUtils.loadExamplesFromFile(filePath);
for(CodedArticle article: articles){
logger.info("Testing article "+article.mediacloudId+" (looking for "+article.handCodedPlaceName+" / "+article.handCodedCountryCode+")");
//List<CountryCode> primaryCountries = ParseManager.extractAndResolve(article.text).getUniqueCountries();
List<ResolvedLocation> resolvedLocations = ParseManager.extractAndResolve(article.text).getResolvedLocations();
FocusStrategy focusStrategy = ParseManager.getFocusStrategy();
List<FocusLocation> primaryCountries = focusStrategy.selectCountries(resolvedLocations);
if(article.isAboutHandCodedCountry(primaryCountries)) {
correct++;
} else {
logger.error("Didn't find "+article.handCodedCountryCode+" in "+primaryCountries);
}