clj-fuzzy is a native Clojure library providing a collection of famous algorithms dealing with fuzzy strings and phonetics.
It can be used in Clojure, ClojureScript, client-side JavaScript and Node.js.
The full documentation for this library is available there.
- Sorensen / Dice coefficient
- Levensthein distance
- Hamming distance
- Jaccard / Tanimoto distance
- Jaro-Winkler distance
- MRA comparison
- Tversky index
- Metaphone
- Double Metaphone
- Soundex
- NYSIIS (original & refined)
- Caverphone (original & revisited)
- Cologne Phonetic
- MRA codex
Please feel free to contribute by forking this repo. Just be sure to add relevant unit tests and pass them all before submitting any code.
MIT