Open akankshanb opened 3 years ago
geo.geoparse('We traveled to China')
[{'country_conf': 0.68758196, 'country_predicted': 'CHN', 'geo': {'admin1': 'Hubei', 'country_code3': 'CHN', 'feature_class': 'S', 'feature_code': 'SCHC', 'geonameid': '6620465', 'lat': '30.52047', 'lon': '114.39637', 'place_name': 'China University of Geosciences'}, 'spans': [{'end': 20, 'start': 15}], 'word': 'China'}]
geo.geoparse('We traveled to the U.S')
[{'country_conf': 0.28868943, 'country_predicted': 'CAN', 'spans': [{'end': 22, 'start': 19}], 'word': 'U.S'}]
Kindly look in this. Thanks!
Thanks for the report. Mordecai was mostly built to geolocate subnational locations, but several people have requested this feature so I'm planning to add it in the next re-write.
geo.geoparse('We traveled to China')
geo.geoparse('We traveled to the U.S')
Kindly look in this. Thanks!