
WordNet::Similarity::Visual::QueryDataInterface

use WordNet::Similarity::Visual::QueryDataInterface; my $wn = WordNet::Similarity::Visual::QueryDataInterface->new; $wn->initialize; my ($result) = $wn->find_allsenses($word);

This package provides an interface to WordNet::QueryData.
The following methods are defined in this package:
The constructor for WordNet::Similarity::Visual::QueryDataInterface objects.
Return value: the new blessed object
To initialize WordNet::QueryData.
Return Value: None
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.
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.
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.
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.


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

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.