somnathrakshit / geograpy3

Extract place names from a URL or text, and add context to those names -- for example distinguishing between a country, region or city.
https://geograpy3.readthedocs.io
Apache License 2.0
124 stars 12 forks source link

correctMisspelling should be False by default for Locator #14

Closed WolfgangFahl closed 4 years ago

WolfgangFahl commented 4 years ago

Describe the bug When correctMisspelling is used unwanted side effects happen.

To Reproduce locate "Amsterdam, Netherlands" with correctMisspelling = True Result: None since the correction kicks in and wrongly changes the Netherlands to Netherland Antilles ...

Expected behavior Amsterdam (NH(North Holland) - NL(Netherlands))