#165 · Primary category: NLP Tools & Text Processing
mordecai
Full text geoparsing as a Python library
Project last updated:09/17/21
GitHub Stars
765
Forks
98
Contributors
6
License
MIT
Why we included this project
Mordecai handles the full geoparsing chain in a single library call: it takes English text, finds the place names, and resolves each one to a specific location with coordinates and structured GeoNames data. Feed it "I traveled from Oxford to Ottawa" and it returns two correctly disambiguated places instead of one ambiguous match. It builds on spaCy for named entity recognition and an Elasticsearch-backed GeoNames gazetteer for resolution, so it fits into existing NLP and data workflows rather than asking you to assemble the pieces yourself. That makes it a practical fit for event data, news analysis, or any corpus where locations matter and the structured output is easy to consume downstream. One caveat: it needs a running Elasticsearch instance with the GeoNames index loaded, so plan for that dependency before adopting it.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
flair
A very simple framework for state-of-the-art Natural Language Processing (NLP)
compromise
modest natural-language processing
tokenizers
💥 Fast State-of-the-Art Tokenizers optimized for Research and Production
CoreNLP
CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.
Chinese-Word-Vectors
100+ Chinese Word Vectors 上百种预训练中文词向量