View on
MetaCPAN is shutting down
For details read Perl NOC. After June 25th this page will redirect to
Ted Pedersen > WordNet-SenseRelate-WordToSet-0.04 >


Annotate this POD

View/Report Bugs

NAME ^ - Command line interface to WordNet-SenseRelate-WordToSet

SYNOPSIS ^ bank money cash dollars loans --type WordNet::Similarity::res bank river shore fish swim --type WordNet::Similarilarity::res target context1 [context2 ...] [--type MEASURE] [--trace INT]
 [--config FILE] | --help | --version

DESCRIPTION ^ determines which sense of a word is most related to a given set of words. It outputs the sum of the similarity of relatedness scores of the first word (the target) to the highest scoring sense of each of the words in the set.



The target word to assign a sense to (or disambiguate)

context1 [context2...]

A list of words to use as context for disambiguating the target word. The order of the context words does not matter. The first word is automatically the target word, and all the remaining words are the set to be compared to.

--type MEASURE

The name of a WordNet::Similarity measure. The default is WordNet::Similarity::lesk.

--trace INTEGER

Turn tracing on/off. A value of zero turns tracing off, and a non-zero value turns tracing on. By default, tracing is off. The trace levels are:

  1 show non-zero scores from the semantic relatedness measure

  2 show zero & undefined scores from the relatedness measure (no
    effect unless combined with level 1)

  4 show traces from the semantic relatedness measure

The trace levels can be combined by adding together different levels. For example, to show non-zero scores and the traces from the relatedness measure, use level 5.

--config FILE

The name of a configuration file for the specified semantic relatedness measure. See the documentation for the specific WordNet::Similarity measure you are using to learn more about the format of a config file.


Show version information.


Show detailed help message.




 Ted Pedersen, University of Minnesota, Duluth
 tpederse at

 Jason Michelizzi 

Last modified by : $Id:,v 1.4 2008/04/07 03:35:51 tpederse Exp $


None known.


Copyright (C) 2005-2008 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.

syntax highlighting: