Download Jar. Uses 3874K of libraries. Click here for Pure Java version (7730L/53K).
1 | !7 |
2 | |
3 | p-experiment { |
4 | for (Pair<S> p : katzeLog_pairsCloseInTime()) { |
5 | S a = p.a, b = p.b; |
6 | if (eq(a, b)) continue; |
7 | S s = longestCommonSubstring(a, b); |
8 | if (empty(s)) continue; |
9 | int percent = ratioToIntPercent(l(s), max(l(a), l(b))); |
10 | printToBuf(percent + "%: " + p.a + " -> " + p.b); |
11 | } |
12 | printLines(sortedByFirstInt(bufLines())); |
13 | } |
Began life as a copy of #1014582
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1014658 |
Snippet name: | Find possible double hearings (user-corrected mishearings) in Katze log |
Eternal ID of this version: | #1014658/6 |
Text MD5: | 4f78ebf95f493a6782c2bcfd636c5b2f |
Transpilation MD5: | e2c544069875c38fe1e5e99c99484841 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-04-29 00:14:11 |
Source code size: | 364 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 470 / 3683 |
Version history: | 5 change(s) |
Referenced in: | [show references] |