Andy Halterman
Andy Halterman
Thanks for the catch on the encoding. I added the encoding to the [code](https://github.com/openeventdata/es-geonames/commit/155f7c977ebc384cea2b7fe91b251f840563cea0) so that shouldn't happen for other people in the future. On the main issue, the ingestion...
Thanks for the catch on the encoding. I added the encoding to the [code](https://github.com/openeventdata/es-geonames/commit/155f7c977ebc384cea2b7fe91b251f840563cea0) so that shouldn't happen for other people in the future. On the main issue, the ingestion...
Good catch! [Here's](https://github.com/ahalterman/mordecai3/blob/bb05976f03d543b2b57543c5fb1dada8b5787247/mordecai3/geoparse.py#L136) where the bug is. I define it as `"end_char": ent[-1].idx + len(ent.text)}`, but it should be `"end_char": ent[-1].idx + len(ent[-1].text)}`. Basically, I'm adding the whole length of...