- or download this
my %stopwords;
...
that they then these them who where
why can find on an of and it by))} = 1 x 27;
- or download this
my @salient_word = grep { not $stopwords{$_} } @word ;
- or download this
use Set::Scalar;
$stopwords = Set::Scalar->new;
...
that they then these them who where
why can find on an of and it by));
@word = split /\s+/, "Oh say can you see by the dawn's early light";
- or download this
my @salient_word = grep { not $stopwords->has($_) } @word ;
- or download this
$word = Set::Scalar->new(@word);
my $salient_word = $word - $stopwords;
# or this:
my $salient_word = $word->difference($stopwords);
- or download this
$members = Set::Scalar->new(@members);
...
$s->delete($in->members);
$s->insert($not_in->members);
- or download this
$N = ($a - $b);
$N->insert($b - $a);