Ted Pedersen > WordNet-Similarity-2.07 > wnDepths.pl


Annotate this POD


Open  6
View/Report Bugs


wnDepths.pl - Find the depths of WordNet taxonomies


  wnDepths.pl [[--wnpath=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.



The path to WordNet data files. The default is /usr/local/WordNet-3.0/dict on Unix and C:\WordNet\3.0\dict on Windows.


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.


The file to which the depth of every noun and verb synset should be sent.


The names of synsets in the output as "word#part_of_speech#sense" strings rather than as offsets.


Be verbose.


Show detailed help message.


Show version information.


Report to WordNet::Similarity mailing list : http://groups.yahoo.com/group/wn-similarity



WordNet home page : http://wordnet.princeton.edu

WordNet::Similarity home page : http://wn-similarity.sourceforge.net


 Ted Pedersen, University of Minnesota Duluth
 tpederse at d.umn.edu

 Jason Michelizzi

 Siddharth Patwardhan, University of Utah, Salt Lake City
 sidd at cs.utah.edu


Copyright (c) 2005-2008, Ted Pedersen, Jason Michelizzi and Siddharth Patwardhan

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.

syntax highlighting: