Skip to contents

Creates comparison levels based on the Jaccard index, the ratio of the intersection to the union of character n-gram sets. Thresholds are between 0 and 1, ordered from strictest to most lenient.

Usage

cl_jaccard(...)

Arguments

...

Numeric thresholds between 0 and 1, ordered from strictest to most lenient.

Value

A comparison-level object for use in il_compare().

Examples

il_spec() |>
  il_compare(name, cl_jaccard(0.9))
#> Linkage Specification
#>   Comparisons (1):
#>     name : jaccard
#>   Blocking rules: (none)