wnDepths.pl - find depths of WordNet taxonomies
wnDepths.pl [[--wnhome=PATH] [--outfile=FILE|-] [--depthfile=FILE] [--wps] [--verbose]] | --help | --version]
wnDepths.pl finds the depths of WordNet's noun and verb taxonomies; it can also find the depth of each synset in WordNet. This program was originally written for use with the WordNet::Similarity::lch and WordNet::Similarity::wup measures of semantic similarity, but it likely has other uses as well.
--wnpath=path
The path to WordNet data files. The default is /usr/local/WordNet-2.0/dict on Unix and C:\WordNet\2.0\dict on Windows.
--outfile=file
The file to which the maximum depths of the taxomomies should be output. If this option is not given, or if the file name is -, then output will be sent to the standard output.
--depthfile=file
The file to which the depth of every noun and verb synset should be sent.
--wps
The names of synsets in the output as "word#part_of_speech#sense" strings rather than as offsets.
--verbose
Be verbose.
--help
Show detailed help message.
--version
Show version information.
Jason Michelizzi, University of Minnesota Duluth mich0212 at d.umn.edu Ted Pedersen, University of Minnesota Duluth tpederse at d.umn.edu
None.
To report a bug, go to http://groups.yahoo.com/group/wn-similarity/ or send an e-mail to "tpederse at d.umn.edu".
WordNet::Similarity(3)
http://www.cogsci.princeton.edu/~wn/
http://wn-similarity.sourceforge.net
http://groups.yahoo.com/group/wn-similarity/
Copyright (C) 2004, Jason Michelizzi and Ted Pedersen
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.
To install WordNet::Similarity, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WordNet::Similarity
CPAN shell
perl -MCPAN -e shell install WordNet::Similarity
For more information on module installation, please visit the detailed CPAN module installation guide.