word-sense-document similarity formula