Python Implementation of Lesk Algorithm using nltk WordNet
Requirements:
- Python
- nltk package for python.
For nltk installation, Refer http://www.nltk.org/install.html
The program takes in a word and a (phrase or sentence) as argument and returns the nearest possible sense key for the word according to Lesk's algorithm.
For Lesk's Algorithm: http://en.wikipedia.org/wiki/Lesk_algorithm