WordNet (Fellbaum, 1998), a manually constructed lexical reference system provides a lexical database along with semantic relations among the lexemes of English and is widely used in NLP tasks today.
it takes a word token and an optional context as input, and returns the sense of the word in that context.