Skip to content

spooky/fuzzysearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A sample project to help experimenting with 'smart' search. Provides an implementation for Levenshtein distance, Damerau–Levenshtein distance and Longest Common Subsequence length.

All implementations have a 'Prime' version and a 'Tweaked' version. All use dynamic programming, but differ in memory usage (tweaked versions allocate less memory).

The web project uses the Longest Common Subsequence length to fill in results for an autocomplete input. This allows greater flexibility in the search term like:

  • tolerates typos
  • allows to type non-adjacent characters so 'tiae' will give 'this is an example' a high rank in the results

Released unter the MIT license.

About

Experiments with 'smart' search

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published