Re: lingua::stem::snowball [resolved]

From: Eric Lease Morgan <emorgan_at_nyob>
Date: Tue, 13 Oct 2009 13:06:38 -0400
To: CODE4LIB_at_LISTSERV.ND.EDU
On Oct 12, 2009, at 10:27 PM, Benjamin Florin wrote:

> foreach my $word (keys %words)
> {
> 	$words_stems{$stemmer->stem($word)} += $words{$word};
> }
>
> foreach my $idea (@ideas)
> {
> 	my $idea_stem = $stemmer->stem( $idea );
> 	print "$idea ($idea_stem)\n";
> 	print $words_stems{$idea_stem}."\n";
> }


A number of other people in other venues have suggested similar things  
-- pre-process the hash of stems. I will go with this. Resolved. Thank  
you.

  internet++

-- 
Eric Morgan
Received on Tue Oct 13 2009 - 13:07:14 EDT