- Slightly optimized the
levenshtein
andlevenshteinNorm
functions. PR 50.
- Works with
text-2.0
.
-
Fixed a bug in the implementation of Jaro-Winkler distance when two strings share a long prefix. PR 21.
-
Dropped support for GHC 8.6 and older.
-
All functions are now implemented in pure Haskell.
-
All functions return
Int
orRatio Int
instead ofNatural
andRatio Natural
. -
Added
overlap
(returns overlap coefficient) andjaccard
(returns Jaccard similarity coefficient).
-
Made the
levenshtein
,levenshteinNorm
,damerauLevenshtein
, anddemerauLevenshtein
more efficient. -
Added
jaro
andjaroWinkler
functions.
- Initial release.