Package com.bericotech.clavin.resolver.lucene

Examples of com.bericotech.clavin.resolver.lucene.LuceneLocationResolver


    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);
    }
View Full Code Here


   */
  public static GeoParser getDefault(
      String pathToLuceneIndex, LocationExtractor extractor, int maxHitDepth, int maxContentWindow, boolean fuzzy)
          throws IOException, ParseException{
       
    LocationResolver resolver = new LuceneLocationResolver(
        new File(pathToLuceneIndex), maxHitDepth, maxContentWindow);
   
    return new GeoParser(extractor, resolver, fuzzy);
  }
View Full Code Here

TOP

Related Classes of com.bericotech.clavin.resolver.lucene.LuceneLocationResolver

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.