Skip to content

Fuzzy process

github-actions[bot] edited this page Aug 22, 2026 · 23 revisions

Process

One query against many candidates.

public static class Process

Example — the two best of four.

using Lodestar.Fuzzy;

string[] choices = ["apple pie", "apple tart", "banana bread", "cherry pie"];

IReadOnlyList<ExtractResult> best = Process.Extract("apple pie", choices, limit: 2);

int returned = best.Count;  // => 2
double top = best[0].Score;  // => 100

Remarks — the equivalent of rapidfuzz's process.extract and process.extractOne, scoring with Fuzz.WRatio unless a scorer is passed. Which scorer is the decision that matters most, and the matching index is where that decision is laid out.

Both members take a scoreCutoff, and it is not merely a filter: candidates below it are dropped, so ExtractOne can return nothing.

Applies to — net10.0, netstandard2.0.

See alsoFuzz, ExtractResult, Deduplicator.

Members

Member What it does
Process.Extract The best candidates, ranked.
Process.ExtractOne The single best, or nothing.

Lodestar

Project

Clone this wiki locally