wordtoset.pl - Command line interface to WordNet-SenseRelate-WordToSet
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
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.
The target word to assign a sense to (or disambiguate)
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.
The name of a WordNet::Similarity measure. The default is WordNet::Similarity::lesk.
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.
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.
L<http://senserelate.sourceforge.net/>
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 $
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.
To install WordNet::SenseRelate::WordToSet, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WordNet::SenseRelate::WordToSet
CPAN shell
perl -MCPAN -e shell install WordNet::SenseRelate::WordToSet
For more information on module installation, please visit the detailed CPAN module installation guide.