-
-
05 Dec 2006 00:52:44 UTC
- Distribution: KinoSearch
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (5)
- Testers (34 / 3 / 0)
- Kwalitee
Bus factor: 0- License: perl_5
- Activity
24 month- Tools
- Download (219.83KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 1 contributors- Marvin Humphrey <marvin at rectangular dot com>
- Dependencies
- Clone
- Compress::Zlib
- Lingua::Stem::Snowball
- Lingua::StopWords
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
KinoSearch::Highlight::Formatter - format highlighted bits within excerpts
SYNOPSIS
# abstract base class
DESCRIPTION
Formatter objects serve one purpose: they highlight pieces of text within an excerpt. The text might be a single term, or it might be a phrase.
METHODS
highlight
my $highlighted = $formatter->highlight($text);
Highlight text by e.g. surrounding it with asterisks, or html "strong" tags, etc.
COPYRIGHT
Copyright 2006 Marvin Humphrey
LICENSE, DISCLAIMER, BUGS, etc.
See KinoSearch version 0.15.
Module Install Instructions
To install KinoSearch, copy and paste the appropriate command in to your terminal.
cpanm KinoSearch
perl -MCPAN -e shell install KinoSearch
For more information on module installation, please visit the detailed CPAN module installation guide.