Ben

Results 136 comments of Ben

Check the demo data carefully. GeoText does not use synonyms in its lookup.

The data in `geotext/data` does not reflect what GeoText is looking for in a text. It only takes a small part of it for the lookup. So yes, the data...

In order for it to work the input text must make use of capitalization, because the underlying regex statement and the idea behind this library is to catch city names...

This is right. You have to understand that there are two things at work here. A regular expression that _tries_ to catch all named entities in a text, store it...

1. ```python "Ventallo" == "Ventalló" >> False ``` ```python "Sant Cugat del Vallés" == "Sant Cugat del Vallès" >> False ``` Check the punctuation. 2. It doesn't matter if its...

1. I'm not mixing anything. I'm just pointing out that you have to be specific about what you're looking for and what is contained within cities15000.txt file. 2. I'm not...

> Quick question, I have seen that also cities down to 500 people are included and the size of the file is "just" 4 times the file of 15000. Why...

Hi @elyase! I'm not really using geotext, rather it has been one of my first favs on github and that's why I choose to help with issues that come up...

Think of geotext as the general framework on how to extract named entities (low level approach) that are then looked up in an _exemplary_ table of cities. If you want...

I like the idea, thanks for sharing!