29 Sep 2010 18:00:56 UTC
- Development release
- Distribution: KinoSearch
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (5)
- Testers (122 / 14 / 1)
- KwaliteeBus factor: 0
- License: perl_5
- Activity24 month
- Download (841.91KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionCREAMYG Marvin Humphreyand 1 contributors
- Marvin Humphrey <marvin at rectangular dot com>
KinoSearch::Highlight::HeatMap - Density of relevant data in a string.
A HeatMap stores a number for each location in a string, indicating the "heat" (density) of relevant data in areas which match a search query.
my $heat_map = KinoSearch::Highlight::HeatMap->new( spans => \@highlight_spans, window => 100, );
spans - An array of Spans, which need not be sorted and will not be modified.
window - The greatest distance between which heat points may reinforce each other.
KinoSearch::Highlight::HeatMap isa KinoSearch::Object::Obj.
Copyright 2005-2010 Marvin Humphrey
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.