News for hackers. Stuff that matters.
Re:Fuzzify: A tiny library for fuzzy search by rgbjoy on Friday July 26, 2024 @09:41AM (#41078574)
I’m a bit confused. “Unit” brings up Turkmenistan before United States.
Re:Fuzzify: A tiny library for fuzzy search by Arch485 on Friday July 26, 2024 @09:55AM (#41078697)
Turkmenistan is 8 edits, United States is 9. Levenshtein Distance is not actually a good search algorithm :)
Re:Fuzzify: A tiny library for fuzzy search by d0100 on Friday July 26, 2024 @10:23AM (#41078887)
You'll have to add more weights to substring matches, fuzzy search by itself is usually not enough for intuitive search
Re:Fuzzify: A tiny library for fuzzy search by card_zero on Friday July 26, 2024 @09:54AM (#41078693)
That's correct, yes. Turkmenistan: 8 deletions (Trkmesan). United States: 9 deletions (ed States), including the space character.