Struct vec_vp_tree::dist::string::JaroWinkler [] [src]

pub struct JaroWinkler;

Distance function for strings using the Jaro similarity factor, optimized for when strings are expected to have a common prefix.

Returns a number in [0, 100], inversely proportional to the similarity between the two strings, where 0 is exactly the same, and 100 is not at all similar.

Trait Implementations

impl Copy for JaroWinkler
[src]

impl Clone for JaroWinkler
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> DistFn<&'a str> for JaroWinkler
[src]

Return the distance between left and right. Read more

impl DistFn<String> for JaroWinkler
[src]

Return the distance between left and right. Read more