String similarity scoring as used in Jotto.