Skip to main content

Module process

Module process 

Source
Expand description

Ranked extraction and duplicate removal.

Structs§

ExtractWithoutOrder
Lazy choice scores in their input order.
Match
A scored item borrowed from the caller’s choices.

Enums§

Scorer
Selects a scoring function for extraction and duplicate removal.

Functions§

dedupe
Removes similar items and returns representatives in first-occurrence order.
dedupe_default
Removes duplicates at threshold 70 with token set similarity.
extract
Scores choices, filters by an inclusive cutoff, and returns a stable descending ranking.
extract_default
Extracts up to five matches with weighted similarity and cutoff zero.
extract_one
Returns the first highest-scoring choice at or above an inclusive cutoff.
extract_one_default
Extracts one match with weighted similarity and cutoff zero.
extract_without_order
Scores choices lazily in input order and filters by an inclusive cutoff.
extract_without_order_default
Scores choices lazily with weighted similarity and cutoff zero.