|
NAMEWordNet::Tools - Some tools for use with WordNet.SYNOPSISuse WordNet::QueryData; use WordNet::Tools; my $wn = WordNet::QueryData->new; my $wntools = WordNet::Tools->new($wn); my $wnHashCode = $wntools->hashCode(); my $newstring = $wntools->compoundify("find compound words like new york city in this text"); DESCRIPTIONThis module provides some tools for use with WordNet. For example, the 'compoundify' method detects compound words (as found in WordNet) in a text string and it combines these words into single tokens using underscore separators. Another tool in this module generates a unique hash code corresponding to a WordNet distribution. This hash code is meant to replace the "version" information in WordNet, which is no longer reliable.METHODSThe following methods are defined:
EXPORTNone by default.SEE ALSOperl(1)WordNet::QueryData(3) AUTHORSTed Pedersen, University of Minnesota, Duluth tpederse at d.umn.edu Siddharth Patwardhan, University of Utah, Salt Lake City sidd at cs.utah.edu COPYRIGHT AND LICENSECopyright (c) 2005, Ted Pedersen and Siddharth PatwardhanThis 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.
Visit the GSP FreeBSD Man Page Interface. |