r-tae / geolocation-tools

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

geolocation-tools

Setup

  1. Download Standford NER from https://nlp.stanford.edu/software/CRF-NER.html#Download
  2. Extract to project base directory

Geopandas was difficult to install on my M1 macOS, this guide worked:

Folders

Short texts

Contains arbitrarily truncated versions of the full texts, to be used for testing the NER script more quickly

Scripts

Standford_NER_toCSV.py

This script performs NER on the texts in either full_texts or short_texts, it creates one CSV file per text, containing all identified Entities. Additionally, it searches each placename using the GHAP API and creates a map of the results.

TLC_Disambig.py

This script searches names from test_csv.csv using the GHAP API and attempts to disambiguate to a single location. It creates a single CSV of all outputs

About


Languages

Language:Python 100.0%