Entity Resolution using cosine similarity