The WordNet::Similarity package is designed to work with words in the form of lemmaposnum where "lemma" is the word lemma, "pos" is the part of speech, and "num" is the sense number. Unfortuantely, the sense numbering is not stable from one WordNet release to another. Thus, for external programs, it can often be more useful to work with sense keys. Unfortunately, the Wordnet::Similarity package is unaware of sense keys. This class fills that gap.
A description of sense keys may be found at
http://wordnet.princeton.edu/man/senseidx.5WN.html
or the man page 'senseidx(5WN)'
INSTALLATION
To install this module type the following:
perl Makefile.PL
make
make test
make install
DEPENDENCIES
This module requires these other modules and libraries:
WordNet::QueryData
COPYRIGHT AND LICENCE
Copyright (C) 2008, 2009 by Linas Vepstas
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to
The Free Software Foundation, Inc.,
59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA.
Note: a copy of the GNU General Public License is available on the web at <http://www.gnu.org/licenses/gpl.txt> and is included in this distribution as GPL.txt.