| Package | Description |
|---|---|
| com.bericotech.clavin | |
| com.bericotech.clavin.gazetteer.query | |
| com.bericotech.clavin.resolver |
| Modifier and Type | Method and Description |
|---|---|
List<ResolvedLocation> |
GeoParser.parse(String inputText,
AncestryMode ancestryMode)
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 |
|---|---|
AncestryMode |
QueryBuilder.ancestryMode()
Get the current ancestry loading mode.
|
AncestryMode |
GazetteerQuery.getAncestryMode()
Indicates how the ancestry, the hierarchy of political divisions, for matching
locations should be loaded.
|
static AncestryMode |
AncestryMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AncestryMode[] |
AncestryMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
QueryBuilder |
QueryBuilder.ancestryMode(AncestryMode mode)
Configure the ancestry loading mode.
|
GeoName |
LuceneGazetteer.getGeoName(int geonameId,
AncestryMode ancestryMode) |
GeoName |
Gazetteer.getGeoName(int geonameId,
AncestryMode ancestryMode)
Retrieves the GeoName with the provided ID, resolving ancestry according
to the provided method.
|
| Constructor and Description |
|---|
GazetteerQuery(LocationOccurrence occurrence,
int maxResults,
FuzzyMode fuzzyMode,
AncestryMode ancestryMode,
boolean includeHistorical,
boolean filterDupes,
Set<Integer> parentIds,
Set<FeatureCode> featureCodes)
Create a new GazetteerQuery.
|
| Modifier and Type | Field and Description |
|---|---|
static AncestryMode |
ClavinLocationResolver.DEFAULT_ANCESTRY_MODE
The default ancestry loading mode.
|
| Modifier and Type | Method and Description |
|---|---|
List<ResolvedLocation> |
ClavinLocationResolver.resolveLocations(List<LocationOccurrence> locations,
int maxHitDepth,
int maxContextWindow,
boolean fuzzy,
AncestryMode ancestryMode)
Resolves the supplied list of location names into
ResolvedLocations containing GeoName objects. |
Copyright © 2012–2016 Berico Technologies. All rights reserved.