1 unstable release
0.2.1 |
|
---|---|
0.2.0 | Jan 26, 2024 |
0.1.5 |
|
0.1.3 |
|
#226 in Biology
105 downloads per month
16KB
63 lines
Sorensen
Sørensen–Dice coefficient implementation for Rust.
v0.2.0
Usage
extern crate sorensen;
use sorensen::distance;
let string = "night";
let string_to_compare = "nacht";
let dst: f64 = distance(string.as_bytes(), string_to_compare.as_bytes()); // 0.25
Dependencies
~1MB
~15K SLoC