dice coeff for text similarity
character pair based  text similarity