public final class ClavinLocationExtractor extends LocationExtractor
Wrapper for CLAVIN (Cartographic Location And Vicinity INdexer) by Berico Technologies. Description from the website:
CLAVIN (Cartographic Location And Vicinity INdexer) is an award-winning open source software package for document
geotagging and geoparsing that employs context-based geographic entity resolution.
It extracts location names from unstructured text and resolves them against a gazetteer to produce data-rich
geographic entities.
CLAVIN does not simply look up location names – it uses intelligent heuristics to identify exactly which Springfield
(for example) was intended by the author, based on the context of the document. CLAVIN also employs fuzzy search to
handle incorrectly-spelled location names, and it recognizes alternative names (e.g., Ivory Coast and Côte d'Ivoire)
as referring to the same geographic entity.
By enriching text documents with structured geo data, CLAVIN enables hierarchical geospatial search and advanced
geospatial analytics on unstructured data.
| Constructor and Description |
|---|
ClavinLocationExtractor(String pathToLuceneIndex)
Create a new
ClavinLocationExtractor. |
| Modifier and Type | Method and Description |
|---|---|
List<LocationAnnotation> |
getAnnotations(String inputText) |
String |
getName() |
static void |
main(String[] args) |
evaluate, evaluate, evaluate, evaluate, getTaggingFormat, setTaggingFormat, tagpublic ClavinLocationExtractor(String pathToLuceneIndex)
Create a new ClavinLocationExtractor.
pathToLuceneIndex - The path to the previously created Lucene index. See here, step 6.public List<LocationAnnotation> getAnnotations(String inputText)
getAnnotations in interface TaggergetAnnotations in class LocationExtractorpublic String getName()
getName in class NamedEntityRecognizerpublic static void main(String[] args)
Copyright © 2018. All rights reserved.