Search::Tools::Snipper 0.06 review

Download
by rbytes.net on

Search::Tools::Snipper is a Perl module to extract keywords in context. SYNOPSIS my $query = [ qw/ quick dog / ]; my $text

License: Perl Artistic License
File size: 0K
Developer: Peter Karman
0 stars award from rbytes.net

Search::Tools::Snipper is a Perl module to extract keywords in context.

SYNOPSIS

my $query = [ qw/ quick dog / ];
my $text = 'the quick brown fox jumped over the lazy dog';

my $s = Search::Tools::Snipper->new(
occur => 3,
context => 8,
word_len => 5,
max_chars => 300,
query => $query
);

print $s->snip( $text );

Search::Tools::Snipper extracts keywords and their context from a larger block of text. The larger block may be plain text or HTML/XML.

Requirements:
Perl

Search::Tools::Snipper 0.06 search tags