There are several metrics that can be used for this purpose, see for instance (Budanitsky and Hirst, 2001) for an overview.
most of them rely on measures of semantic distance computed on semantic networks, and thus they are limited by the availability of explicitly encoded semantic relations (e.g.