WordNet::SenseRelate::Algorithm::Local - Perl module that finds the sense of a target word that is most related to its context.
use WordNet::SenseRelate::Algorithm::Local; $algo = WordNet::SenseRelate::Algorithm::Local->new($wntools, $measure); $sense = $algo->disambiguate($instance);
This modules uses a measure of relatedness (WordNet::Similarity module) to find the relatedness of each sense of the target word with the senses of the words in the context. It then return the most related sense of the target word.
None by default.
perl(1)
WordNet::SenseRelate::TargetWord(3)
Siddharth Patwardhan, sidd at cs.utah.edu
Satanjeev Banerjee, banerjee+ at cs.cmu.edu
Ted Pedersen, tpederse at d.umn.edu
Copyright (C) 2005 by Siddharth Patwardhan, Satanjeev Banerjee and Ted Pedersen
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.3 or, at your option, any later version of Perl 5 you may have available.
To install WordNet::SenseRelate::TargetWord, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WordNet::SenseRelate::TargetWord
CPAN shell
perl -MCPAN -e shell install WordNet::SenseRelate::TargetWord
For more information on module installation, please visit the detailed CPAN module installation guide.