| Package | Description |
|---|---|
| com.bericotech.clavin | |
| com.bericotech.clavin.gazetteer.query | |
| com.bericotech.clavin.resolver | |
| com.bericotech.clavin.resolver.multipart |
| Modifier and Type | Method and Description |
|---|---|
List<ResolvedLocation> |
GeoParser.parse(String inputText)
Takes an unstructured text document (as a String), extracts the
location names contained therein, and resolves them into
geographic entities representing the best match for those
location names.
|
| Modifier and Type | Method and Description |
|---|---|
List<ResolvedLocation> |
LuceneGazetteer.getClosestLocations(GazetteerQuery query)
Execute a query against the Lucene gazetteer index using the provided configuration,
returning the top matches as
ResolvedLocations. |
List<ResolvedLocation> |
Gazetteer.getClosestLocations(GazetteerQuery query)
Execute a query against the gazetteer using the provided configuration,
returning the top matches as
ResolvedLocations. |
| Modifier and Type | Method and Description |
|---|---|
List<ResolvedLocation> |
LuceneLocationResolver.resolveLocations(List<LocationOccurrence> locations,
boolean fuzzy)
|
List<ResolvedLocation> |
LocationResolver.resolveLocations(List<LocationOccurrence> locations,
boolean fuzzy)
Deprecated.
|
List<ResolvedLocation> |
ClavinLocationResolver.resolveLocations(List<LocationOccurrence> locations,
boolean fuzzy)
Resolves the supplied list of location names into
ResolvedLocations containing GeoName objects
using the defaults for maxHitDepth and maxContentWindow. |
List<ResolvedLocation> |
ClavinLocationResolver.resolveLocations(List<LocationOccurrence> locations,
int maxHitDepth,
int maxContextWindow,
boolean fuzzy)
Resolves the supplied list of location names into
ResolvedLocations containing GeoName objects. |
| Modifier and Type | Field and Description |
|---|---|
List<ResolvedLocation> |
SearchResult.locations |
| Modifier and Type | Method and Description |
|---|---|
ResolvedLocation |
SearchResult.getBestLocation() |
ResolvedLocation |
ResolvedMultipartLocation.getCity()
Get the text of the city name.
|
ResolvedLocation |
ResolvedMultipartLocation.getCountry()
Get the text of the country name.
|
ResolvedLocation |
MatchedLocation.Match.getLocation() |
ResolvedLocation |
ResolvedMultipartLocation.getState()
Get the text of the state/province/etc.
|
ResolvedLocation |
MultipartLocationResolver.resolveLocation(boolean fuzzy,
String... locationParts)
Resolves a location provided as a series of political divisions from narrowest to broadest.
|
ResolvedLocation |
MultipartLocationResolver.resolveLocation(String loc,
boolean fuzzy)
Attempts to resolve a location provided as a comma-separated string of political divisions from
narrowest to broadest.
|
| Constructor and Description |
|---|
MatchedLocation.Match(SearchLevel level,
ResolvedLocation location,
int depth) |
ResolvedMultipartLocation(ResolvedLocation city,
ResolvedLocation state,
ResolvedLocation country)
Sole constructor for
ResolvedMultipartLocation class. |
| Constructor and Description |
|---|
SearchResult(SearchLevel level,
List<ResolvedLocation> locations,
Set<Integer> parentIds,
Set<String> parentCodes) |
Copyright © 2012–2014 Berico Technologies. All rights reserved.