I am trying to compare two words for similarity. I am using OCR to get one word (second word is 100% correct), but sometimes OCR makes some small errors. So I was thinking it would be good to have some "back test". This is what I came up(in theory) with my limited knowledge: split the word on single characters and compare to other word, character by character, and make it tolerate one or two errors... Any other idea?