Add calculation of word similarity.