A
A
Alexander2021-11-16 02:40:28
Algorithms
Alexander, 2021-11-16 02:40:28

How to find words that look the same?

There is the following task, for example, the word "auto" (completely written in Russian letters), you need to find all possible variants of this word that are similar to "view" but actually differ. The words are similar if, for example, we replace the Russian "a" with the English "a", the word "auto" will come out, these 2 words look the same for a person, but when comparing the character codes, they will differ. Those. replacing the letters of the Russian alphabet with the letters of the English for a person, the word remains the same, but for a machine they are different.
Maybe this phenomenon is called somehow, or maybe this problem has already been solved and someone can share a link to the algorithm.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
hint000, 2021-11-16
@fuliozor

I will express an obvious thought: you need to compare not the words as a whole, but character by character.
A whole bunch of materials are googled effortlessly:
https://stackoverflow.com/questions/39948627/how-t...
https://en.wikipedia.org/wiki/Module:Similar_symbols
https://en.wikipedia.org /wiki/Homoglyph
https://ru.wikipedia.org/wiki/Homoglyph
https://codebox.net/pages/homoglyph-detection
https://habr.com/ru/post/86303/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question