and this is a central question in semantics; lexica and thesauri are built with the main purpose of answering this question.
nearest neighbor search in a DSM could be seen as a compilation step in a distributional lexicon.