I think the getSenseKey method in Dictionary retrieves the sense key in wrong way. I have tested the method with WordNet 1.7.1.
For the test I have used Senseval-3 all-words baseline for first sense.
I have computed the baseline using the getSenseKey and I obtained a precision of 60.9%.
Using directly the index.sense file and Perl API for WordNet I obtained a precision of 65.1%.
The second result is correct because I compared it with the official baseline. I think that there is a bug in getSenseKey and also the method is very slow.
Log in to post a comment.