Calculate the similarity between two strings using in-common character pairs.