1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
//! Jaro similarity
use ;
/// This `struct` is used to access the Jaro algorithm, as implemented by the
/// [rapidfuzz](https://crates.io/crates/rapidfuzz) crate, in a generic manner.
///
/// The Jaro similarity is a measure of similarity between two strings, often
/// used in the field of record linkage and string matching. It’s particularly
/// effective in comparing short strings, such as names. The algorithm considers
/// both the common characters and their order in the strings, as well as the
/// number of transpositions needed to make the strings equal.
;
/// This `BatchComparator` trait implementation is used to access the Jaro
/// algorithm, as implemented by the
/// [rapidfuzz](https://crates.io/crates/rapidfuzz) crate, in a generic manner.
// impl