Handle foreign character web input

Akkana Peck akkana at shallowsky.com
Fri Jun 28 18:25:35 EDT 2019


On Sat, Jun 29, 2019 at 6:31 AM Tobiah <toby at tobiah.org> wrote:
> Also, what do people do when searching for a record.
> Is there some way to get 'Ronngren' to match the other
> possible foreign spellings?

SequenceMatcher in difflib can do fuzzy string comparisons and
should work for cases like that. There are other methods too --
include "fuzzy" in your web searches and you'll probably find
several options.

        ...Akkana



More information about the Python-list mailing list