I'm trying to use GeoText to genrate country mentions, but cities like Rio de Janeiro, Rio das Ostras are not recognized. I verified the dictionary and those cities are OK in there.
- Input:
text = "Rio de Janeiro, Las Vegas, New York"
geo = GeoText(text)
print(geo.cities)
Output:
- ['Las Vegas', 'New York']
Expected Output:
- ['Rio de Janeiro','Las Vegas','New York']
Using python 3.x and geotext 0.3.0