A simple BK-Tree implementation in Haskell
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
BKTree.hs
LICENSE.txt
README.md
SpellCorrect.hs

README.md

bk-tree

A simple BK-Tree implementation in Haskell.

The implementation of the tree structure is located in BKTree.hs. An example usage of the tree is located in SpellCorrect.hs, which uses Levenshtein distance as the tree metric to suggest spelling corrections.

For a full discussion of how this code works, see this blog post.

This implementation is freely usable under the terms of the MIT License