search tools snipper 0.06
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 2087
Search::Tools::Snipper 0.06
Search::Tools::Snipper is a Perl module to extract keywords in context. more>>
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.
<<lessSYNOPSIS
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.
Download (0.048MB)
Added: 2006-10-18 License: Perl Artistic License Price:
1101 downloads
Search::Tools::HiLiter 0.06
Search::Tools::HiLiter is a Perl module to extract and highlight search results in original text. more>>
Search::Tools::HiLiter is a Perl module to extract and highlight search results in original text.
SYNOPSIS
use Search::Tools::HiLiter;
my $re = Search::Tools::RegExp->new;
my $rekw = $re->build(the quick brown fox);
my $hiliter = Search::Tools::HiLiter->new( rekw => $rekw );
for my $text (@texts)
{
print $hiliter->light( $text );
}
Search::Tools::HiLiter uses HTML tags to highlight text just like a felt-tip HiLiter. S::T::H can handle both plain and marked up text (HTML and XML). Nested entities and tags within keywords are supported.
You create a HiLiter object with either a string, an array of strings, or a Search::Tools::RegExp::Keywords object, and then feed the HiLiter text to highlight. You can control the style and color of the highlight tags.
Some caveats if you are highlighting HTML or XML: Unlike its more powerful cousin HTML::HiLiter, S::T::H knows nothing about context. This can give unexpected results when your keywords appear in the HTML or across block tag boundaries. Use HTML::HiLiter if you need a real HTML parser. It uses the same regular expressions as S::T::H but is designed for full HTML documents rather than smaller fragments.
<<lessSYNOPSIS
use Search::Tools::HiLiter;
my $re = Search::Tools::RegExp->new;
my $rekw = $re->build(the quick brown fox);
my $hiliter = Search::Tools::HiLiter->new( rekw => $rekw );
for my $text (@texts)
{
print $hiliter->light( $text );
}
Search::Tools::HiLiter uses HTML tags to highlight text just like a felt-tip HiLiter. S::T::H can handle both plain and marked up text (HTML and XML). Nested entities and tags within keywords are supported.
You create a HiLiter object with either a string, an array of strings, or a Search::Tools::RegExp::Keywords object, and then feed the HiLiter text to highlight. You can control the style and color of the highlight tags.
Some caveats if you are highlighting HTML or XML: Unlike its more powerful cousin HTML::HiLiter, S::T::H knows nothing about context. This can give unexpected results when your keywords appear in the HTML or across block tag boundaries. Use HTML::HiLiter if you need a real HTML parser. It uses the same regular expressions as S::T::H but is designed for full HTML documents rather than smaller fragments.
Download (0.048MB)
Added: 2006-10-18 License: Perl Artistic License Price:
1101 downloads
Search::Tools 0.01
Search::Tools are tools for building search applications. more>>
Search::Tools are tools for building search applications.
SYNOPSIS
use Search::Tools;
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.
Examples include:
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.
<<lessSYNOPSIS
use Search::Tools;
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.
Examples include:
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.
Download (0.038MB)
Added: 2006-08-31 License: Perl Artistic License Price:
1149 downloads
Search::Tools::Keywords 0.06
Search::Tools::Keywords is a Perl module to extract keywords from a search query. more>>
Search::Tools::Keywords is a Perl module to extract keywords from a search query.
SYNOPSIS
use Search::Tools::Keywords;
use Search::Tools::RegExp;
my $query = the quick fox color:brown and "lazy dog" not jumped;
my $kw = Search::Tools::Keywords->new(
stopwords => the,
and_word => and,
or_word => or,
not_word => not,
stemmer => &your_stemmer_here,
ignore_first_char => +-,
ignore_last_char => ,
word_characters => $Search::Tools::RegExp::WordChar,
debug => 0,
phrase_delim => ",
charset => iso-8859-1,
lang => en_US,
locale => en_US.iso-8859-1
);
my @words = $kw->extract( $query );
# returns:
# quick
# fox
# brown
# lazy dog
Do not confuse this class with Search::Tools::RegExp::Keywords.
Search::Tools::Keywords extracts the meaningful words from a search query. Since many search engines support a syntax that includes special characters, boolean words, stopwords, and fields, search queries can become complicated. In order to separate the wheat from the chafe, the supporting words and symbols are removed and just the actual search terms (keywords) are returned.
This class is used internally by Search::Tools::RegExp. You probably dont need to use it directly. But if you do, read on.
<<lessSYNOPSIS
use Search::Tools::Keywords;
use Search::Tools::RegExp;
my $query = the quick fox color:brown and "lazy dog" not jumped;
my $kw = Search::Tools::Keywords->new(
stopwords => the,
and_word => and,
or_word => or,
not_word => not,
stemmer => &your_stemmer_here,
ignore_first_char => +-,
ignore_last_char => ,
word_characters => $Search::Tools::RegExp::WordChar,
debug => 0,
phrase_delim => ",
charset => iso-8859-1,
lang => en_US,
locale => en_US.iso-8859-1
);
my @words = $kw->extract( $query );
# returns:
# quick
# fox
# brown
# lazy dog
Do not confuse this class with Search::Tools::RegExp::Keywords.
Search::Tools::Keywords extracts the meaningful words from a search query. Since many search engines support a syntax that includes special characters, boolean words, stopwords, and fields, search queries can become complicated. In order to separate the wheat from the chafe, the supporting words and symbols are removed and just the actual search terms (keywords) are returned.
This class is used internally by Search::Tools::RegExp. You probably dont need to use it directly. But if you do, read on.
Download (0.048MB)
Added: 2006-10-18 License: Perl Artistic License Price:
1102 downloads
Search::Tools::RegExp 0.06
Search::Tools::RegExp is a Perl module to build regular expressions from search queries. more>>
Search::Tools::RegExp is a Perl module to build regular expressions from search queries.
SYNOPSIS
my $regexp = Search::Tools::RegExp->new();
my $kw = $regexp->build(the quick brown fox);
for my $w ($kw->keywords)
{
my $r = $kw->re( $w );
# the word itself
printf("the word is %sn", $r->word);
# is it flagged as a phrase?
print "the word is a phrasen" if $r->phrase;
# each of these are regular expressions
print $r->plain;
print $r->html;
}
Build regular expressions for a string of text.
All text is converted to UTF-8 automatically if it isnt already, via the Search:Tools::Keywords module.
<<lessSYNOPSIS
my $regexp = Search::Tools::RegExp->new();
my $kw = $regexp->build(the quick brown fox);
for my $w ($kw->keywords)
{
my $r = $kw->re( $w );
# the word itself
printf("the word is %sn", $r->word);
# is it flagged as a phrase?
print "the word is a phrasen" if $r->phrase;
# each of these are regular expressions
print $r->plain;
print $r->html;
}
Build regular expressions for a string of text.
All text is converted to UTF-8 automatically if it isnt already, via the Search:Tools::Keywords module.
Download (0.048MB)
Added: 2006-10-19 License: Perl Artistic License Price:
1100 downloads
Search::Tools::XML 0.01
Search::Tools::XML are methods for playing nice with XML and HTML. more>>
Search::Tools::XML are methods for playing nice with XML and HTML.
SYNOPSIS
use Search::Tools::XML;
my $class = Search::Tools::XML;
my $text = the "quick brown" fox;
my $xml = $class->start_tag(foo);
$xml .= $class->utf8_safe( $text );
$xml .= $class->end_tag(foo);
# $xml: the "quick brown" fox
$class->escape( $xml );
# $xml: the "quick brown" fox
$class->unescape( $xml );
# $xml: the "quick brown" fox
my $plain = $class->no_html( $xml );
# $plain eq $text
Search::Tools::XML provides utility methods for dealing with XML and HTML. There isnt really anything new here that CPAN doesnt provide via HTML::Entities or similar modules. The difference is convenience: the most common methods you need for search apps are in one place with no extra dependencies.
NOTE: To get full UTF-8 character set from chr() you must be using Perl >= 5.8. This affects things like the unescape* methods.
<<lessSYNOPSIS
use Search::Tools::XML;
my $class = Search::Tools::XML;
my $text = the "quick brown" fox;
my $xml = $class->start_tag(foo);
$xml .= $class->utf8_safe( $text );
$xml .= $class->end_tag(foo);
# $xml: the "quick brown" fox
$class->escape( $xml );
# $xml: the "quick brown" fox
$class->unescape( $xml );
# $xml: the "quick brown" fox
my $plain = $class->no_html( $xml );
# $plain eq $text
Search::Tools::XML provides utility methods for dealing with XML and HTML. There isnt really anything new here that CPAN doesnt provide via HTML::Entities or similar modules. The difference is convenience: the most common methods you need for search apps are in one place with no extra dependencies.
NOTE: To get full UTF-8 character set from chr() you must be using Perl >= 5.8. This affects things like the unescape* methods.
Download (0.038MB)
Added: 2006-09-18 License: Perl Artistic License Price:
1131 downloads
Search::Glimpse 0.02
Search::Glimpse is a Perl extension to communicate with Glimpse server. more>>
Search::Glimpse is a Perl extension to communicate with Glimpse server.
SYNOPSIS
use Search::Glimpse;
my $glimpse = Search::Glimpse->new;
my @results = $glimpse->search("search this string");
ABSTRACT
This module is an extension to use glimpse server from Perl.
Quick hack to connect to glimpse server.
new
Creates a new glimpse object.
search
Search on a glimpse object
hits
Returns the number of hits...
files
Returns the number of files...
<<lessSYNOPSIS
use Search::Glimpse;
my $glimpse = Search::Glimpse->new;
my @results = $glimpse->search("search this string");
ABSTRACT
This module is an extension to use glimpse server from Perl.
Quick hack to connect to glimpse server.
new
Creates a new glimpse object.
search
Search on a glimpse object
hits
Returns the number of hits...
files
Returns the number of files...
Download (0.004MB)
Added: 2007-04-05 License: Perl Artistic License Price:
933 downloads
Search Into Directory 0.1
Search Into Directory starts a kfind window (part of kdebase) ready to search into the selected directory. more>>
With this service menu you will be able to search into directory by right-clicking on it. Search Into Directory starts a kfind window (part of kdebase) ready to search into the selected directory.
Note : This servicemenu is in fact duplicated of an existing one on kde-apps. So Ive removed mine and I wont maintain it. Youll find another one named Find in Folder
<<lessNote : This servicemenu is in fact duplicated of an existing one on kde-apps. So Ive removed mine and I wont maintain it. Youll find another one named Find in Folder
Download (0.083MB)
Added: 2006-07-26 License: GPL (GNU General Public License) Price:
1185 downloads
Search::Tools::RegExp::Keyword 0.06
Search::Tools::RegExp::Keyword is a Perl module to access regular expressions for a keyword. more>>
Search::Tools::RegExp::Keyword is a Perl module to access regular expressions for a keyword.
SYNOPSIS
my $regexp = Search::Tools::RegExp->new();
my $kw = $regexp->build(the quick brown fox);
for my $w ($kw->keywords)
{
my $re = $kw->re( $w ); # $re is S::T::R::Keyword object
# each of these are regular expressions ... suitable for framing
my $h = $re->html;
my $p = $re->plain;
unless ( $re->word =~ m/^$h$/ )
{
die "something terribly wrong with the html regexp: $h";
}
unless ( $re->word =~ m/^$p$/ )
{
die "something terribly wrong with the plain regexp: $p";
}
}
Search::Tools::RegExp::Keyword provides access to the regular expressions for a query keyword.
<<lessSYNOPSIS
my $regexp = Search::Tools::RegExp->new();
my $kw = $regexp->build(the quick brown fox);
for my $w ($kw->keywords)
{
my $re = $kw->re( $w ); # $re is S::T::R::Keyword object
# each of these are regular expressions ... suitable for framing
my $h = $re->html;
my $p = $re->plain;
unless ( $re->word =~ m/^$h$/ )
{
die "something terribly wrong with the html regexp: $h";
}
unless ( $re->word =~ m/^$p$/ )
{
die "something terribly wrong with the plain regexp: $p";
}
}
Search::Tools::RegExp::Keyword provides access to the regular expressions for a query keyword.
Download (0.048MB)
Added: 2006-10-18 License: Perl Artistic License Price:
1102 downloads
Search::Tools::RegExp::Keywords 0.06
Search::Tools::RegExp::Keywords is a Perl module to access regular expressions for keywords. more>>
Search::Tools::RegExp::Keywords is a Perl module to access regular expressions for keywords.
SYNOPSIS
my $regexp = Search::Tools::RegExp->new();
my $kw = $regexp->build(the quick brown fox);
for my $w ($kw->keywords)
{
my $r = $kw->re( $w );
}
Search::Tools::RegExp::Keywords provides access to the regular expressions for a query keyword.
A Search::Tools::RegExp::Keywords object is returned by the Search::Tools::RegExp build() method. This class is typically not used in isolation.
<<lessSYNOPSIS
my $regexp = Search::Tools::RegExp->new();
my $kw = $regexp->build(the quick brown fox);
for my $w ($kw->keywords)
{
my $r = $kw->re( $w );
}
Search::Tools::RegExp::Keywords provides access to the regular expressions for a query keyword.
A Search::Tools::RegExp::Keywords object is returned by the Search::Tools::RegExp build() method. This class is typically not used in isolation.
Download (0.048MB)
Added: 2006-10-18 License: Perl Artistic License Price:
1101 downloads
WWW::Search::Google 0.22
WWW::Search::Google is a Perl module to search Google via SOAP. more>>
WWW::Search::Google is a Perl module to search Google via SOAP.
SYNOPSIS
use WWW::Search;
my $search = WWW::Search->new(Google, key => $key);
$search->native_query("leon brocard");
while (my $result = $search->next_result()) {
print $result->title, "n";
print $result->url, "n";
print $result->description, "n";
print "n";
}
This class is a Google specialization of WWW::Search. It handles searching Google http://www.google.com/ using its new SOAP API http://www.google.com/apis/.
All interaction should be done through WWW::Search objects.
Note that you must register for a Google Web API account and have a valid Google API license key before using this module.
This module reports errors via croak().
This module uses Net::Google to do all the dirty work.
<<lessSYNOPSIS
use WWW::Search;
my $search = WWW::Search->new(Google, key => $key);
$search->native_query("leon brocard");
while (my $result = $search->next_result()) {
print $result->title, "n";
print $result->url, "n";
print $result->description, "n";
print "n";
}
This class is a Google specialization of WWW::Search. It handles searching Google http://www.google.com/ using its new SOAP API http://www.google.com/apis/.
All interaction should be done through WWW::Search objects.
Note that you must register for a Google Web API account and have a valid Google API license key before using this module.
This module reports errors via croak().
This module uses Net::Google to do all the dirty work.
Download (0.003MB)
Added: 2006-11-21 License: Perl Artistic License Price:
1067 downloads
sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. more>>
sqlpp Perl package is a SQL preprocessor.
sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also #perldef for calling arbitrary perl code.
SYNOPSIS
sqlpp [options] filename
options:
-I path - include path
-D var[=value] - define variable
-o output - output to file ( default to stdout )
-h,--help - display this text
-hh - display man page
SYNTAX
#define TAG
Identical to cpp
#define TAG([PARAMETERS]) MACRO
Not fully identical to cpp, the behavior is slightly different. Concatenation ( a ## b ) and stringification ( # a ) behave similar to as in cpp.
The multiline macro can be declared either tranditionally via CPP backslash line continuation, or a perls heredoc style. In the latter case, TAG must be prepended with<<less
sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also #perldef for calling arbitrary perl code.
SYNOPSIS
sqlpp [options] filename
options:
-I path - include path
-D var[=value] - define variable
-o output - output to file ( default to stdout )
-h,--help - display this text
-hh - display man page
SYNTAX
#define TAG
Identical to cpp
#define TAG([PARAMETERS]) MACRO
Not fully identical to cpp, the behavior is slightly different. Concatenation ( a ## b ) and stringification ( # a ) behave similar to as in cpp.
The multiline macro can be declared either tranditionally via CPP backslash line continuation, or a perls heredoc style. In the latter case, TAG must be prepended with<<less
Download (0.010MB)
Added: 2007-05-30 License: Perl Artistic License Price:
877 downloads
nautilus-search-tool 0.2.2
nautilus-search-tool is a Nautilus extension to have search files on popup menu. more>>
nautilus-search-tool is a Nautilus extension to have "search files" on popup menu.
<<less Download (0.35MB)
Added: 2007-07-01 License: GPL (GNU General Public License) Price:
848 downloads
Web Search Aggregator 1.2.0
Web Search Aggregator (WSA) provides multiple Web searches from one place. more>>
Web Search Aggregator (WSA) provides multiple Web searches from one place. It features multiple categories and the display of results from many sites with a single search.
Your last search and the state of the tabs are remembered. Tabs can be navigated with the keyboard.
Enhancements:
- Mouse navigation has been added (hold down the Ctrl key).
- History of searches has been added (+statistics).
<<lessYour last search and the state of the tabs are remembered. Tabs can be navigated with the keyboard.
Enhancements:
- Mouse navigation has been added (hold down the Ctrl key).
- History of searches has been added (+statistics).
Download (0.005MB)
Added: 2006-07-15 License: BSD License Price:
1196 downloads
Search::QueryParser 0.91
Search::QueryParser parses a query string into a data structure suitable for external search engines. more>>
Search::QueryParser parses a query string into a data structure suitable for external search engines.
SYNOPSIS
my $qp = new Search::QueryParser;
my $s = +mandatoryWord -excludedWord +field:word "exact phrase";
my $query = $qp->parse($s) or die "Error in query : " . $qp->err;
$someIndexer->search($query);
# query with comparison operators and implicit plus (second arg is true)
$query = $qp->parse("txt~^foo.* date>=01.01.2001 date<<less
SYNOPSIS
my $qp = new Search::QueryParser;
my $s = +mandatoryWord -excludedWord +field:word "exact phrase";
my $query = $qp->parse($s) or die "Error in query : " . $qp->err;
$someIndexer->search($query);
# query with comparison operators and implicit plus (second arg is true)
$query = $qp->parse("txt~^foo.* date>=01.01.2001 date<<less
Download (0.007MB)
Added: 2006-06-15 License: Perl Artistic License Price:
1226 downloads
Secleted [ 0 ] software to compare
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above search tools snipper 0.06 search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Contact Us | Submit Software | Advertise with us | Terms and Conditions | Privacy Policy | Publisher List | Browse Categories | Blog | Discussion Board
Copyright (c)2005-2009 WareSeeker.com. All rights reserved.
Copyright (c)2005-2009 WareSeeker.com. All rights reserved.