1 | sS levenSimilarityPercentStr(S a, S b) { |
2 | int n = max(l(a), l(b)); |
3 | ret intPercentRatioStr(n-leven(a, b), n); |
4 | } |
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: | 254 / 279 |
Version history: | 2 change(s) |
Referenced in: | [show references] |