with n w,x the number of times w appears in x.
the similarity score is CosTFIDF(x, y) = Experiments show that sequential character-based measures catch mainly coreferent pairs of long NE that differ only by a few characters.