, - , , "ij" "gh" "th", - . Damerau-Levenshtein , , , , , ββ,
, , , "ij" "ij" , ( , ) ( ) .
Otherwise, you will need to search a bit, this will complicate the situation, but should not change the order of growth of the algorithm (I think) if you look only at a constant number of cells. However, there will be much more constant factors.
source
share