Vlad is a lightweight header-only library for fuzzy string search. It includes an implementation of efficient generic levenshtein automata and a generic trie for indexing documents and counting unique words.
There are two demo programs. lgrep is like a basic grep with fuzzy matching.
query indexes a text file by line and also does fuzzy search.
You'll need boost, cmake and a recent clang++. Also, doxygen, if you want HTML documentation.
- Create a
builddirectory next to src. - Run
cmake ..in thebuilddirectory. - Run
make all test. - Run
make docif you want an HTML version of the documentation. - Take a look at
lgrepandquery.