Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1022084 // levenSimilarityPercentStr

JavaX fragment (include)

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: 184 / 210
Version history: 2 change(s)
Referenced in: [show references]