Skip to content

@technobuddha > library > String > Fuzzy Match

Type Alias: FuzzyMatchOptions

ts
type FuzzyMatchOptions = {
  caseInsensitive?: boolean;
  weightDiceCoefficient?: number;
  weightLevenshteinDistance?: number;
  weightLongestCommonSubstring?: number;
};

Defined in: fuzzy-match.ts:10

Options for the fuzzyMatch function

Properties

PropertyTypeDescriptionDefined in
caseInsensitive?booleanThe comparison will ignore casesrc/fuzzy-match.ts:12
weightDiceCoefficient?numberWeight of diceCoefficientsrc/fuzzy-match.ts:16
weightLevenshteinDistance?numberWeight of levenshtein distancesrc/fuzzy-match.ts:14
weightLongestCommonSubstring?numberWeight of longestCommonSubstringsrc/fuzzy-match.ts:18