petewarden / geodict

A simple Python library/tool for pulling location information from unstructured text
http://petewarden.typepad.com/
184 stars 52 forks source link

Showing previous data #5

Open viswesh146 opened 7 years ago

viswesh146 commented 7 years ago

Hi

import geodict_lib lis = ["I live in India with love", "DACH and the Netherlands Klarna Checkout purchases, Nordics Klarna Checkout purchases, and Klarna Checkout for In-App Purchases"] for li in lis: print geodict_lib.find_locations_in_text(li)

I tried with the above code, but for for the text, it shows INDIA as country instead of Netherlands in the second element of the text.

Thanks, Viswesh M