openeventdata/mordecai

Full text geoparsing as a Python library

56
/ 100
Established

This tool helps researchers, journalists, or analysts quickly identify and map locations mentioned in English-language text documents. It takes raw text as input and outputs structured geographic information for each place, including coordinates and country codes. This is ideal for anyone needing to extract precise location data from large volumes of unstructured text.

758 stars. No commits in the last 6 months. Available on PyPI.

Use this if you need to automatically find all place names in a text, determine which specific real-world locations they refer to, and get their precise geographical coordinates and country information.

Not ideal if your text is in a language other than English, or if you only need to identify place names without resolving them to specific coordinates.

geospatial-analysis social-science-research journalism intelligence-analysis historical-research
Stale 6m No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 25 / 25
Community 21 / 25

How are scores calculated?

Stars

758

Forks

100

Language

Python

License

MIT

Last pushed

Sep 17, 2021

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/nlp/openeventdata/mordecai"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.