Content deleted Content added
Line 7:
The Lesk algorithm is based on the assumption that words in a given "neighborhood" (section of text) will tend to share a common topic. A simplified version of the Lesk algorithm is to compare the dictionary definition of an ambiguous word with the terms contained in its neighborhood. Versions have been adapted to use [[WordNet]].<ref>Satanjeev Banerjee and Ted Pedersen. ''[https://www.cs.cmu.edu/~banerjee/Publications/cicling2002.ps.gz An Adapted Lesk Algorithm for Word Sense Disambiguation Using WordNet]'', Lecture Notes in Computer Science; Vol. 2276, Pages: 136 - 145, 2002. {{ISBN|3-540-43219-1}}
</ref> An implementation might look like this:
# for every sense of the word being disambiguated one should count the number of words that are in both the neighborhood of that word and in the dictionary definition of that sense
# the sense that is to be chosen is the sense
A frequently used example illustrating this algorithm is for the context "pine cone". The following dictionary definitions are used:
|