openeventdata/mordecai
Full text geoparsing as a Python library
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.
Stars
758
Forks
100
Language
Python
License
MIT
Category
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.
Related tools
hellohaptik/chatbot_ner
chatbot_ner: Named Entity Recognition for chatbots.
Rostlab/nalaf
NLP framework in python for entity recognition and relationship extraction
mpuig/spacy-lookup
Named Entity Recognition based on dictionaries
NorskRegnesentral/skweak
skweak: A software toolkit for weak supervision applied to NLP tasks
Kyubyong/name2nat
name2nat: a Python package for nationality prediction from a name