For example, there are letters that are similar between the Russian and Latin alphabets: a, H, and so on ...
There is some dictionary.
There is some database where information could be entered incorrectly => if you perform a search in the dictionary, you will not be able to find it.
It is necessary to sort through all combinations of similar Latin and Cyrillic characters.
For example, the word was given Rhinoceros. (A false example)
You need to generate sequences (black is highlighted in Latin):
H orozh
But about sorog
Nose about horn
Nosor about g
But sorog
Can you suggest an abstract algorithm to solve this problem?
The first thing that comes to mind is to create a dictionary and write down the positions of the characters that I am going to change.
Next, I do not know which way to go.