WordNet::SenseRelate::Word - Perl module that represents a single word from the context.
use WordNet::SenseRelate::Word; $object = WordNet::SenseRelate::Word->new("balloon"); $object->retrieveSenses($wn, "nva"); $object->restrictSenses("n"); @senses = $object->getSenses();
WordNet::SenseRelate::Word represents a single word from the context. A collection of word objects is used to represent an instance. Each word object contains the surface form of a word. In addition, it also contain the morphological root form, and the WordNet senses of the word if any.
None by default.
perl(1)
WordNet::SenseRelate::TargetWord(3)
WordNet::QueryData(3)
Ted Pedersen, tpederse at d.umn.edu
Siddharth Patwardhan, sidd at cs.utah.edu
Satanjeev Banerjee, banerjee+ at cs.cmu.edu
Copyright (C) 2005 by Ted Pedersen, Siddharth Patwardhan, and Satanjeev Banerjee
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.