Safe Haskell | None |
---|
Documentation
class Search container full algo | container -> full, container -> algo whereSource
Generic class for data structures that can perform queries retrieving words close to a given one.
insert :: full -> container -> containerSource
:: Int | The maximum distance to search for |
-> full | The starting word |
-> container | |
-> [(full, Distance algo)] |
singleton :: full -> containerSource
(Eq sym, ListLike full sym, EditDistance sym algo) => Search (BKDist full sym algo) full algo | |
(Ord sym, ListLike full sym, EditDistance sym DamerauLevenshtein) => Search (TSTDist full sym DamerauLevenshtein) full DamerauLevenshtein | |
(Ord sym, ListLike full sym, EditDistance sym Levenshtein) => Search (TSTDist full sym Levenshtein) full Levenshtein |