Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
or even if there is any option for this, I would appreciate to know. thanks in advance.#!/usr/bin/perl use strict; use Lingua::StopWords qw( getStopWords ); my $stopwords = getStopWords('en'); my $text='I want to remove stop words'; #my @words = qw ($text); print join ' ', grep { !$stopwords->{$_} } $words;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: using a string or file in qw
by ikegami (Patriarch) on Jan 22, 2009 at 19:10 UTC | |
|
Re: using a string or file in qw
by jasonk (Parson) on Jan 22, 2009 at 18:47 UTC | |
by Bloodnok (Vicar) on Jan 22, 2009 at 19:52 UTC | |
|
Re: using a string or file in qw
by holli (Abbot) on Jan 22, 2009 at 18:46 UTC |