Live data from Hacker News

Show HN: A fast, hopefully accurate, fuzzy matching library written in Go

github.com

21–30 of 32 posts

Re: Show HN: A fast, hopefully accurate, fuzzy matching library written in Go

#21

Have you tried out one of the standard 'distance' metrics like Hamming distance or Levenstein distance? This would at least give you an objective measure of success. Whether that's something that actually works for what you're trying to achieve is of course an open question, but both Hamming distance matching and Levenstein distance matching (the latter is harder but probably better for your purposes) are very well u…

I made a similar tool and believe that if the author is interested in this route he may prefer the Jaro-Winkler algorithm as it is more highly tailored to names.

Likely he rolled his own solution for the same reason that I did, he is targeting a specific type of names (file names for him) which comes with its own subset of rules that can be incorporated for better matching.

Re: Show HN: A fast, hopefully accurate, fuzzy matching library written in Go

#24

How does this compare with fzf ( https://github.com/junegunn/fzf )?

fzf is a tool with a much larger feature set. fuzzy is just a humble library that you can add to your code.

The logical follow-up question would be; how does it compare to fzy? :) https://github.com/jhawthorn/fzy

Re: Show HN: A fast, hopefully accurate, fuzzy matching library written in Go

#28
post #26

Why do projects written in Go always advertise they are written in Go?

/shrug, language matters to me. I like knowing what code i can interface with. Generally speaking, written in Go is a boon to me (as a Go dev obv), written in Python/Node/Ruby is a negative with runtime requirements for me.

Re: Show HN: A fast, hopefully accurate, fuzzy matching library written in Go

#29
post #26

Why do projects written in Go always advertise they are written in Go?

Novelty and notoriety. I’ll throw in kindred spirits too. Go is still trying to get traction. It’s not Java, nor C#, not PHP. It’s still trying to prove itself outside of well know, but niche projects like Docker.

Re: Show HN: A fast, hopefully accurate, fuzzy matching library written in Go

#30
post #26

Why do projects written in Go always advertise they are written in Go?

In this case this is a library and the information that it is written in Go is indeed useful: you can easily use it from Go code, not so much from other langauges.
Post reply on HN