| Package | Description |
|---|---|
| com.bericotech.clavin.extractor | |
| com.bericotech.clavin.gazetteer.query | |
| com.bericotech.clavin.resolver |
| Modifier and Type | Method and Description |
|---|---|
List<LocationOccurrence> |
LocationExtractor.extractLocationNames(String plainText)
Extracts a list of location names found in unstructured text.
|
List<LocationOccurrence> |
ApacheExtractor.extractLocationNames(String plainText)
Extracts location names from unstructured text using the named
entity recognizer (NER) feature provided by the Apache OpenNLP
Name Finder.
|
| Modifier and Type | Method and Description |
|---|---|
LocationOccurrence |
GazetteerQuery.getOccurrence()
Get the LocationOccurrence to search on.
|
LocationOccurrence |
QueryBuilder.location()
Get the currently configured location to query for.
|
| Modifier and Type | Method and Description |
|---|---|
QueryBuilder |
QueryBuilder.location(LocationOccurrence loc)
Set the location to query for.
|
| Constructor and Description |
|---|
GazetteerQuery(LocationOccurrence occurrence,
int maxResults,
FuzzyMode fuzzyMode,
boolean includeHistorical,
boolean filterDupes,
Set<Integer> parentIds,
Set<FeatureCode> featureCodes)
Create a new GazetteerQuery.
|
| Modifier and Type | Method and Description |
|---|---|
LocationOccurrence |
ResolvedLocation.getLocation()
Get the original location name extracted from the text.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
ClavinLocationResolver.isDemonym(LocationOccurrence extractedLocation)
Various named entity recognizers tend to mistakenly extract
demonyms (i.e., names for residents of localities (e.g.,
American, British)) as place names, which tends to gum up the
works for the resolver, so this method filters them out from
the list of
LocationOccurrences passed to the resolver. |
| 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. |
| Constructor and Description |
|---|
ResolvedLocation(LocationOccurrence location,
GeoName geoname,
String matchedName,
boolean fuzzy)
Builds a
ResolvedLocation from a document retrieved from
the Lucene index representing the geographic entity resolved
from a location name. |
Copyright © 2012–2014 Berico Technologies. All rights reserved.