Strange result
Closed this issue · 5 comments
vellrya commented
Hi. Ratio value between words "гигантская" and "гигансткая" is 90.
In my opinion, here something is wrong. Or is this a normal result of the library?
xdrop commented
I can't reproduce this with simple, partial, or weightedRatio.
Can you provide some sample code to reproduce this?
vellrya commented
xdrop commented
@vellrya That's strange.
I just ran:
System.out.println(FuzzySearch.ratio("гигантская","гигантская"));
And it prints 100
.
Are you using 1.1.7
?
vellrya commented
Haha) Look at this letters: "гиганТСкая" and "гиганСТкая." The change of two letters between them reduces the ratio by 10 points.
That's exactly what I wanted to pay attention to