zulqernain has asked for the wisdom of the Perl Monks concerning the following question:
its not removing stopwords plz helpmy (@arr,@a); foreach $word (@data) { push @arr,split(/ /,$word); } WORD: foreach $a (@arr) { foreach $stop (@stopwords) { next WORD if $a eq $stop; } push(@lessWords, $a); } print "@lessWords\n";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: removing stopwords
by Transient (Hermit) on Jun 01, 2005 at 22:14 UTC | |
by zulqernain (Novice) on Jun 01, 2005 at 23:08 UTC | |
by ikegami (Patriarch) on Jun 01, 2005 at 23:23 UTC | |
|
Re: removing stopwords
by eric256 (Parson) on Jun 01, 2005 at 22:18 UTC | |
by zulqernain (Novice) on Jun 01, 2005 at 22:45 UTC |