NAME

WordNet::Similarity::Visual::QueryDataInterface

SYNOPSIS

Basic Usage Example

use WordNet::Similarity::Visual::QueryDataInterface;

my $wn = WordNet::Similarity::Visual::QueryDataInterface->new;

$wn->initialize;

my ($result) = $wn->find_allsenses($word);

DESCRIPTION

This package provides an interface to WordNet::QueryData.

Methods

The following methods are defined in this package:

Public methods

$obj->new

The constructor for WordNet::Similarity::Visual::QueryDataInterface objects.

Return value: the new blessed object

$obj->initialize

To initialize WordNet::QueryData.

Return Value: None

$obj->search_glosses

Parameter: The word(String) for which we are searching the glosses.

Return value: A hash with all the glosses for all the senses of the word.

$obj->find_allsenses

Parameter: The word(String) for which we are searching the senses.

Return value: A array of all the senses of this word found in WordNet.

$obj->find_allsyns

Parameter: The word(String) for which we are searching the synonyms.

Return value: A array of all the senses of this word found in WordNet.

Discussion

This module provides an interface to WordNet::Querydata. It implements functions that take a word as argument and return all the senses of this word listed in WordNet. It also implements a function that returns a hash containing all the senses of the word and the glosses for these senses.

SEE ALSO

WordNet::QueryData

AUTHOR

Saiyam Kohli, University of Minnesota, Duluth kohli003@d.umn.edu

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

COPYRIGHT

Copyright (c) 2005-2006, Saiyam Kohli and Ted Pedersen

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.

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 215:

You forgot a '=back' before '=head2'

Around line 217:

=back without =over