Download Jar. Uses 3874K of libraries. Click here for Pure Java version (7938L/54K).
!7 p-experiment { for (Pair<S> p : listToOverlappingPairs(mL_katzeLog())) { long dateDiff = parseKatzeLogEntryDate(p.b) -parseKatzeLogEntryDate(p.a); int seconds = iround(dateDiff/1000.0); //print("Date diff: " + seconds + "s"); if (seconds > 12) continue; p = pairMap dropLeadingSquareBracketStuff(p); print(seconds + ": " + p); if (isSingleCharactersPlusSpaces(p.b) && !isSingleCharactersPlusSpaces(p.a)) { print("Possible correction: " + p); botSuggestMechAppend("Mishearing corrections", p.a, dropSpaces(p.b)); } } }
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: | #1014582 |
Snippet name: | Find user-spelled corrected mishearings in Katze log (e.g. hiya => h i g h e r, OK) |
Eternal ID of this version: | #1014582/9 |
Text MD5: | e135b3edaa498af14048af9a8d6253f4 |
Transpilation MD5: | 906197ea1359274ec58e45063f08647a |
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-24 13:14:51 |
Source code size: | 591 bytes / 17 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 463 / 1402 |
Version history: | 8 change(s) |
Referenced in: | [show references] |