You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could easily use math.Min(2,6) -> "Hello Wor" to find the best string in this case. But it would get me in trouble if any of the strings don't match, eg:
First of all, what an awesome lib! Thanks for the work. But I do have this design doubt:
Let's say I wanna compare strings two by two to a target using
RankMatchNormalizedFold
, for example:I could easily use
math.Min(2,6) -> "Hello Wor"
to find the best string in this case. But it would get me in trouble if any of the strings don't match, eg:Where
math.Min(-1,6) -> "foo"
Why using -1 instead of
math.MaxInt
if the lower the distance, the closer the strings?The text was updated successfully, but these errors were encountered: