in reply to word similarity measure

PDL::Ngrams may be useful here.