Ted Pedersen > WordNet-Similarity > rankFormat.pl


Annotate this POD


Open  6
View/Report Bugs


rankFormat.pl - Measure the correlation between two different rankings of word pairs measured for semantic relatedness.


 rankFormat.pl [FILE... | --help | --version]


Program to rank the output of similarity.pl based on the semantic relatedness of the word pairs. The output is in a format that can processed by the rank.pl program of the Text::NSP package. The rank.pl program takes two lists of ranked pairs of words and computes the correlation between them according to Spearman's correlation coefficient.

This can be used for comparing the output of two different measures on the same set of word pairs, or for comparing the output of similarity.pl with a human created gold standard (such as the Miller and Charles 30 word pair data).



    Displays a detailed usage message


    Displays 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

More info about Text::NSP http://ngram.sourceforge.net


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

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


Copyright (c) 2006-2008, Ted Pedersen 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.

syntax highlighting: