NAME
Wordnet::SenseSearch - Just get a synset from a sense key
SYNOPSIS
use
Wordnet::SenseSearch;
my
$search
= new Wordnet::SenseSearch (
dir
=>
'/usr/local/Wordnet/dict/'
);
my
%synset
=
$search
->lookup(
'animal%1:03:00::'
);
join
", "
, @{
$synset
{words}};
$synset
{
pos
};
$synset
{gloss};
DESCRIPTION
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:
COPYRIGHT AND LICENSE
Copyright (C) 2006 by Danny Brian.