static int levenSimilarityInt(S a, S b) { int n = max(l(a), l(b)); ret intPercentRatio(n-leven(a, b), n); }
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: | 413 / 447 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |