1 | static int levenSimilarityInt(S a, S b) { |
2 | int n = max(l(a), l(b)); |
3 | ret intPercentRatio(n-leven(a, b), n); |
4 | } |
Began life as a copy of #1022084
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026692 |
Snippet name: | levenSimilarityInt (0 to 100) |
Eternal ID of this version: | #1026692/4 |
Text MD5: | fc91532a3128d709fec31992c95a22c5 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-01-19 01:11:00 |
Source code size: | 114 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 208 / 236 |
Version history: | 3 change(s) |
Referenced in: | [show references] |