public static GeoParser getDefault(
String pathToLuceneIndex, LocationExtractor extractor, int maxHitDepth, int maxContentWindow, boolean fuzzy)
throws IOException, ParseException{
// instantiate new LuceneLocationResolver with supplied parameters
LocationResolver resolver = new LuceneLocationResolver(
new File(pathToLuceneIndex), maxHitDepth, maxContentWindow);
return new GeoParser(extractor, resolver, fuzzy);
}