You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make it a configurable property. Maybe combine with different Levenshtein distance for different length words.
An example would be no matching for words with less than 5 letters, 1 as distance for 5-7 letter words, 2 as distance for 7-10 letter words and 3 as distance for all words with 11 or more letters.
constoptions={threshold: 3,// matching kicks in at 3 letter words and biggerdistanceType: `percentage`// absolute/percentage - absolute is default to be backwards compatibledistance: 33// Levenshtein distance. If percentage, this is percentage of word length. Rounded to closest integer. If absolute, this is the...}
i.e. matchThreshold: 3
The text was updated successfully, but these errors were encountered: