WordNet::get_wn_info - Provides access to glosses related to a concept in WordNet


WordNet-Similarity documentation  | view source Contained in the WordNet-Similarity distribution.

Index


NAME

Top

WordNet::get_wn_info - Provides access to glosses related to a concept in WordNet

SYNOPSIS

Top

  use WordNet::get_wn_info;

  my $gwn = WordNet::get_wn_info->new($wn, 0);

  my $hypHash = $gwn->hype($synsHash, 0);

  my $holHash = $gwn->holo($synsHash, 0);

DESCRIPTION

Top

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.

Methods

new

Creates a new WordNet::get_wn_info object.

Parameters: $wn, $stemFlag

Returns: $gwn

hype

Returns the hypernyms of a synset.

Parameters: $synsHash, $ipType

Returns: $hypeHash

hypo

Returns the hyponyms of a synset.

Parameters: $synsHash, $ipType

Returns: $hypoHash

holo

Returns the holonyms of a synset.

Parameters: $synsHash, $ipType

Returns: $holoHash

mero

Returns the meronyms of a synset.

Parameters: $synsHash, $ipType

Returns: $meroHash

attr

Returns the attributes of a synset.

Parameters: $synsHash, $ipType

Returns: $attrHash

also

Returns the also-see of a synset.

Parameters: $synsHash, $ipType

Returns: $alsoHash

deri

Returns the derived forms of a synset.

Parameters: $synsHash, $ipType

Returns: $deriHash

domn

Returns the domains of a synset.

Parameters: $synsHash, $ipType

Returns: $domnHash

domt

Returns the domain terms of a synset.

Parameters: $synsHash, $ipType

Returns: $domtHash

sim

Returns the similar-to synsets.

Parameters: $synsHash, $ipType

Returns: $simHash

enta

Returns the entailment of a synset.

Parameters: $synsHash, $ipType

Returns: $entaHash

caus

Returns the cause of a synset.

Parameters: $synsHash, $ipType

Returns: $causHash

part

Returns the participles of a synset.

Parameters: $synsHash, $ipType

Returns: $partHash

pert

Returns the pertainyms of a synset.

Parameters: $synsHash, $ipType

Returns: $pertHash

glos

Returns the gloss of a synset.

Parameters: $synsHash, $ipType

Returns: $glossString

example

Returns the example of a synset.

Parameters: $synsHash, $ipType

Returns: $example

syns

Returns the words in the synset.

Parameters: $synsHash, $ipType

Returns: $wordString

glosexample

Returns the gloss and example of a synset.

Parameters: $synsHash, $ipType

Returns: $glosExampleString

SEE ALSO

Top

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

AUTHORS

Top

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

 Satanjeev Banerjee, Carnegie Mellon University, Pittsburgh
 banerjee+ at cs.cmu.edu

BUGS

Top

None.

To report bugs, go to http://groups.yahoo.com/group/wn-similarity/ or e-mail "tpederse at d.umn.edu".

COPYRIGHT AND LICENSE

Top


WordNet-Similarity documentation  | view source Contained in the WordNet-Similarity distribution.