4 Commits

Author SHA1 Message Date
Rob Ede
6f8a8cb49f add sorensen-dice distance function 2020-01-31 09:24:44 -05:00
Ophir LOJKINE
31cb4cb82d [feature] Implement generic distance functions (#30)
* [feature] Implement generic distance functions

Closes https://github.com/dguo/strsim-rs/issues/29

* Change variable names in generic functions

* rename *_generic functions to generic_*

See https://github.com/dguo/strsim-rs/pull/30#issuecomment-475084373
2019-03-29 16:07:13 -04:00
Viktor Lazarev
ab17c1e9ab Add normalized Levenshtein and Damerau-Levenstein (#20)
* Add tests for 'normalized_levenshtein'

* Implement 'normalized_levenshtein'

* Implement 'normalized_damerau_levenshtein'

* Add benchmarking of new functions

* Move test cases from integration tests to unit tests

* Use 'is_empty' instead of 'len'

* Count chars instead of bytes

* Update Readme
2018-08-19 17:30:28 -04:00
Sean Stangl
e178e6995f Add some simple benchmarks. 2018-06-25 09:55:27 -04:00