score the similarity values