I have a string with a misspelled country that looks like this:

"My friend is from ejypt"

Is there a package that i could use to discern if a country is mentioned in the string?

Example of code and output:

packageFunction("My friend is from ejypt")


Anything that is similar would suffice.

Things I have tried: I have tried using geotext for this task. As far as I know, geotext is case-sensitive and doesn't use fuzzy matching, so it cannot be used on misspelled words or case-sensitive words.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.