04 Oct 2015 16:19:03 UTC
- Distribution: WordNet-Similarity
- Module version: 2.04
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (6)
- Testers (15 / 8 / 0)
- KwaliteeBus factor: 0
- License: open_source
- Download (5.5MB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest version++ed by:4 non-PAUSE users
- Ted Pedersen, Siddharth Patwardhan, Satanjeev Banerjee, Jason Michelizzi
WordNet::stem - Module that find the stem of a word or the stems of a string of words, using WordNet.
use WordNet::stem; my $wn = WordNet::QueryData->new(); my $stemmer = WordNet::stem->new($wn) my @stems = $stemmer->stemWord($word); my $string = $stemmer->stemString($inString, $cache);
This module uses the internal stemming algorithm of WordNet to stem words and strings of words. This module is used by the lesk measure of the WordNet::Similarity package.
Creates a new stemmer object and initilizes it with a WordNet::QueryData object.
Takes a string of words as input and returns a string of stemmed words.
Takes a word as input and returns its stems. A word may have more than one stem. All are returned.
perl(1), WordNet::Similarity(3), WordNet::QueryData(3)
Ted Pedersen, University of Minnesota Duluth tpederse at d.umn.edu Satanjeev Banerjee, Carnegie Mellon University, Pittsburgh banerjee+ at cs.cmu.edu
To report bugs, go to http://groups.yahoo.com/group/wn-similarity/ or e-mail "tpederse at d.umn.edu".
Copyright (c) 2005, Ted Pedersen and Satanjeev Banerjee
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.
Module Install Instructions
To install WordNet::Similarity, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install WordNet::Similarity
For more information on module installation, please visit the detailed CPAN module installation guide.
|s||Focus search bar|
|?||Bring up this help dialog|
|g p||Go to pull requests|
|g i||go to github issues (only if github is preferred repository)|
|g a||Go to author|
|g c||Go to changes|
|g i||Go to issues|
|g d||Go to dist|
|g r||Go to repository/SCM|
|g s||Go to source|
|g b||Go to file browse|