pub fn baseline(
pattern: &str,
text: &str,
max_distance: usize,
distance_fn: DistanceFn,
) -> BitapResult
Expand description
The baseline functions should be functionally the same as the reference functions, but internally use a much slower algorithm. It’s a reference for the reference so to speak. Handy because early iterations of the reference function had pretty serious logic flaws that would not have been caught without this!