@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
| Property | Type | Description | Defined in |
|---|---|---|---|
caseInsensitive? | boolean | The comparison will ignore case | src/fuzzy-match.ts:12 |
weightDiceCoefficient? | number | Weight of diceCoefficient | src/fuzzy-match.ts:16 |
weightLevenshteinDistance? | number | Weight of levenshtein distance | src/fuzzy-match.ts:14 |
weightLongestCommonSubstring? | number | Weight of longestCommonSubstring | src/fuzzy-match.ts:18 |