How to handle non-English characters and custom preprocessing
masterBy default, FuzzySharp's preprocessor is optimized for English and strips non-alphanumeric characters. To support other languages (e.g., accented characters like 'é') or to prevent any string alteration, you can provide a custom lambda function as the process parameter in Process methods.
Using (s) => s as the processor will pass the string through to the algorithm without any modifications.
var query = "strng";
var choices = new [] { "stríng", "stráng", "stréng" };
// Use (s) => s to prevent stripping accented characters
var results = Process.ExtractAll(query, choices, (s) => s);