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.
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 resolvedfuzzy - switch for turning on/off fuzzy matching
- Returns:
- list of
ResolvedLocation objects
- Throws:
Exception
Copyright © 2013 Berico Technologies. All rights reserved.