Function strsim::jaro_winkler [−][src]
Expand description
Like Jaro but gives a boost to strings that have a common prefix.
use strsim::jaro_winkler;
assert!((0.911 - jaro_winkler("cheeseburger", "cheese fries")).abs() <
0.001);