sS levenSimilarityPercentStr(S a, S b) { int n = max(l(a), l(b)); ret intPercentRatioStr(n-leven(a, b), n); }
download show line numbers debug dex old transpilations
Travelled to 9 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1022084 |
Snippet name: | levenSimilarityPercentStr |
Eternal ID of this version: | #1022084/3 |
Text MD5: | 14987ac3d528a27be23b3e58f3334c01 |
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:08 |
Source code size: | 116 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 253 / 278 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1026692 - levenSimilarityInt (0 to 100) |