Wordnet::SenseSearch - Just get a synset from a sense key


Wordnet-SenseSearch documentation  | view source Contained in the Wordnet-SenseSearch distribution.

Index


SYNOPSIS

Top

  use Wordnet::SenseSearch;
  my $search = new Wordnet::SenseSearch (dir => '/usr/local/Wordnet/dict/');
  my %synset = $search->lookup('animal%1:03:00::');
  print join ", ", @{$synset{words}};
  print $synset{pos};
  print $synset{gloss};

DESCRIPTION

Top

This module does just one thing: returns the typically useful text for a synset, given its synset index key. The format of these keys and the sense index is described at:

  http://wordnet.princeton.edu/man/senseidx.5WN.html

COPYRIGHT AND LICENSE

Top


Wordnet-SenseSearch documentation  | view source Contained in the Wordnet-SenseSearch distribution.