fixed bug in cos_sim in guess_word_sense