if(parser==null){
// use the Stanford NER location extractor
String modelToUse = CliffConfig.getInstance().getNerModelName();
logger.debug("Creating extractor with "+modelToUse);
StanfordNamedEntityExtractor locationExtractor = new StanfordNamedEntityExtractor(Model.valueOf(modelToUse));
boolean useFuzzyMatching = false;
Gazetteer gazetteer = new LuceneGazetteer(new File(PATH_TO_GEONAMES_INDEX));
resolver = new CliffLocationResolver(gazetteer);