The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

wordtoset.pl - Command line interface to WordNet-SenseRelate-WordToSet

SYNOPSIS

 wordtoset.pl bank money cash dollars loans --type WordNet::Similarity::res

 wordtoset.pl bank river shore fish swim --type WordNet::Similarilarity::res

 wordtoset.pl target context1 [context2 ...] [--type MEASURE] [--trace INT]
 [--config FILE] | --help | --version

DESCRIPTION

wordtoset.pl 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.

PARAMETERS & OPTIONS

target

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.

--version

Show version information.

--help

Show detailed help message.

SEE ALSO

 L<http://senserelate.sourceforge.net/>

AUTHORS

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

 Jason Michelizzi 

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

BUGS

None known.

COPYRIGHT

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.