What's the difference between the distance and similarity functions? #111
Answered
by
maxbachmann
stijnfrishert
asked this question in
Q&A
-
What's the difference between functions such as In Levenshtein.hpp there's two big comments.
I'm guessing similarity is just the opposite of distance (so a similarity of max distance means a full match), but that's guess work on my side. Maybe the comments could use a refresher. :) |
Beta Was this translation helpful? Give feedback.
Answered by
maxbachmann
Nov 28, 2023
Replies: 1 comment 1 reply
-
I never really got around to making the C++ documentation nice 😅 Your interpretation is correct about what these are:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
stijnfrishert
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I never really got around to making the C++ documentation nice 😅
Your interpretation is correct about what these are: