com.bericotech.clavin.resolver
Interface LocationResolver

All Known Implementing Classes:
LuceneLocationResolver

public interface LocationResolver

Resolves location names into GeoName objects. Takes location names extracted from unstructured text documents by LocationExtractor and resolves them into the appropriate geographic entities (as intended by the document's author based on context) by finding the best match in a gazetteer.


Method Summary
 List<ResolvedLocation> resolveLocations(List<LocationOccurrence> locations, boolean fuzzy)
          Resolves the supplied list of location names into ResolvedLocations containing GeoName objects.
 

Method Detail

resolveLocations

List<ResolvedLocation> resolveLocations(List<LocationOccurrence> locations,
                                        boolean fuzzy)
                                        throws Exception
Resolves the supplied list of location names into ResolvedLocations containing GeoName objects.

Parameters:
locations - list of location names to be resolved
fuzzy - switch for turning on/off fuzzy matching
Returns:
list of ResolvedLocation objects
Throws:
Exception


Copyright © 2013 Berico Technologies. All rights reserved.