News for hackers. Stuff that matters.
Re:Show HN: A fast, accurate and multilingual fuzzy search l... by kmschaal on Thursday February 15, 2024 @03:13PM (#39388061)
Thank you for your comment! It is indeed a problem in plain fuzzy search libraries (like this one) that substring matches can have a lower quality than unequal strings of similar length. A solution to that is to implement a higher level search controller that queries the fuzzy searcher, as well as a suffix array searcher. The controller than mixes the matches and returns the best matches across the two searchers. One can even add more searchers, e.g. a phonetic one. With the correct parameters this approach works well.

There are no comments on this comment yet.