Search::Tools are tools for building search applications. SYNOPSIS use Search::Tools; my $re = Search::Tools->regexp(quer
Search::Tools are tools for building search applications.
my $re = Search::Tools->regexp(query => 'the quick brown fox');
my $snipper = Search::Tools->snipper(query => $re);
my $hiliter = Search::Tools->hiliter(query => $re);
for my $result (@search_results)
print $hiliter->light( $snipper->snip( $result->summary ) );
Search::Tools is a set of utilities for building search applications. Rather than adhering to a particular search application, the goal of Search::Tools is to provide general-purpose methods for common search application features. Think of Search::Tools like a toolbox rather than a hammer.
Parsing search queries for the meaningful keywords
Rich regular expressions for locating keywords in the original indexed documents
Contextual snippets showing query keywords
Highlighting of keywords in context
Search::Tools is derived from some of the features in HTML::HiLiter and SWISH::HiLiter, but has been re-written with an eye to accomodating more general purpose features.
tags search tools search application general purpose rather than search applications for building building search
Download Search::Tools 0.01
Other software in this category
- Desktop Environment
- Science and Engineering
- Text Editing&Processing