New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing cities and countries #20
Comments
Hi, thanks for using the library. :) So, the demo data is super incomplete and only there to show the capabilities. You can however simply bring your own data as shown.
In the example, China is only found because it is specifically mentioned. Relations are not yet part of the library. |
I agree, unfortunately, the library doesn't recognize some countries/cities if typed with lower case:
returns:
|
Hi @nfrik and thanks for your interest. flashgeotext is case sensitive for two reasons.
What I do agree with you on, is giving the user at least the option to turn |
Hi @iwpnd Enabling case sensitive option would be great. You're right about named entities in newspapers and articles. However another potential scenario could be extracting country names from social media posts and comments, e.g. in my case Tweets. They don't follow capitalization strictly. In this case, this option would be really helpful. |
I know this is super old but I finally addressed it in v0.3.0 pending pip release. |
Hello,
I have started trying out this library, but it seems to be missing cities and countries mostly from South America. What's the best way to update the cities.json and countries.json files? Is it ok just to add the data in there manually?
Also, how can this library map Shanghai as China, where is that relation mapped? why does it not behave the same for Caracas?
Thanks in advance!
The text was updated successfully, but these errors were encountered: