|
|
|
|
|
by wanderingstan
984 days ago
|
|
I wrote such a library for Python here: https://github.com/wanderingstan/Confusables My use case was to thwart spammers in our company’s channels, but I suppose it could be used to also normalize accent encoding issues. Basically converts a phrase into a regular expression matching confusables. E.g. "ℍ℮1೦" would match "Hello" |
|
What would you think about this approach: reduce each character to a standard form which is the same for all characters in the same confusable group? Then match all search input to this standard form.
This means "ℍ℮1l೦" is converted to "Hello" before searching, for example.