get_wn_info - Provides access to glosses related to a concept in WordNet
use get_wn_info; my $gwn = get_wn_info->new($wn, 0); my $hypHash = $gwn->hype($synsHash, 0); my $holHash = $gwn->holo($synsHash, 0);
This module provides a layer between the user and the WordNet::QueryData module, by providing easy access to glosses and synsets related to particular concpets in WordNet.
Creates a new get_wn_info object.
Parameters: $wn, $stemFlag
Returns: $gwn
Returns the hypernyms of a synset.
Parameters: $synsHash, $ipType
Returns: $hypeHash
Returns the hyponyms of a synset.
Returns: $hypoHash
Returns the holonyms of a synset.
Returns: $holoHash
Returns the meronyms of a synset.
Returns: $meroHash
Returns the attributes of a synset.
Returns: $attrHash
Returns the also-see of a synset.
Returns: $alsoHash
Returns the derived forms of a synset.
Returns: $deriHash
Returns the domains of a synset.
Returns: $domnHash
Returns the domain terms of a synset.
Returns: $domtHash
Returns the similar-to synsets.
Returns: $simHash
Returns the entailment of a synset.
Returns: $entaHash
Returns the cause of a synset.
Returns: $causHash
Returns the participles of a synset.
Returns: $partHash
Returns the pertainyms of a synset.
Returns: $pertHash
Returns the gloss of a synset.
Returns: $glossString
Returns the example of a synset.
Returns: $example
Returns the words in the synset.
Returns: $wordString
Returns the gloss and example of a synset.
Returns: $glosExampleString
perl(1), WordNet::Similarity(3), WordNet::QueryData(3)
http://www.cs.utah.edu/~sidd
http://wordnet.princeton.edu
http://www.ai.mit.edu/~jrennie/WordNet
http://groups.yahoo.com/group/wn-similarity
Ted Pedersen, University of Minnesota Duluth tpederse at d.umn.edu Satanjeev Banerjee, Carnegie Mellon University, Pittsburgh banerjee+ at cs.cmu.edu
None.
To report bugs, go to http://groups.yahoo.com/group/wn-similarity/ or e-mail "tpederse at d.umn.edu".
Copyright (c) 2005, Ted Pedersen and Satanjeev Banerjee
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.
You should have received a copy of the GNU General Public License along with this program; if not, write to
The Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
Note: a copy of the GNU General Public License is available on the web at http://www.gnu.org/licenses/gpl.txt and is included in this distribution as GPL.txt.
To install WordNet::Similarity, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WordNet::Similarity
CPAN shell
perl -MCPAN -e shell install WordNet::Similarity
For more information on module installation, please visit the detailed CPAN module installation guide.