| Safe Haskell | None |
|---|
Language.Distance.Search.Class
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.
Methods
insert :: full -> container -> containerSource
Arguments
| :: Int | The maximum distance to search for |
| -> full | The starting word |
| -> container | |
| -> [(full, Distance algo)] |
singleton :: full -> containerSource
Instances
| (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 |