openeventdata / mordecai

Full text geoparsing as a Python library
MIT License
742 stars 97 forks source link

Errors in train_country_model.py #78

Closed sreejith-ms closed 4 years ago

sreejith-ms commented 4 years ago

Hi,

Not able to run train_country_model.py

image

with jsonlines.open('geo_annotated/geo_country_db.jsonl') as reader:

The file geo_country_db.jsonl is not found.

Also please share the training scripts for rank model.

ahalterman commented 4 years ago

The models are trained on texts that can't be shared for licensing/copyright reasons, unfortunately. I've uploaded the ranker training script in the retrain branch and will merge in once it passes all the tests.