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

pub struct Jaro;

Distance function for strings using the Jaro similarity factor.

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 Jaro
[src]

impl Clone for Jaro
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

Return the distance between left and right. Read more

impl DistFn<String> for Jaro
[src]

Return the distance between left and right. Read more