Holumbus-Searchengine-1.2.1: A search and indexing engine.

Portabilitynot portable
Stabilityexperimental
MaintainerUwe Schmidt (uwe@fh-wedel.de)
Safe HaskellNone

Holumbus.Data.PrefixTree.FuzzySearch

Description

Functions for fuzzy search in a prefix tree

Synopsis

Documentation

prefixFindCaseWithKey :: Key -> PrefixTree a -> [(Key, a)]Source

O(max(L,R)) Find all values where the string is a prefix of the key.

prefixFindCaseWithKeyBF :: Key -> PrefixTree a -> [(Key, a)]Source

O(max(L,R)) Find all values where the string is a prefix of the key. Breadth first variant, short words first in the result list