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

9
LINES

< > BotCompany Repo | #1026704 // ai_mostSimilarSpeechLogLines_rendered

JavaX fragment (include)

sS ai_mostSimilarSpeechLogLines_rendered() {
  ret sortLinesAlphaNumDesc(hijackPrint(r {
    for (PairS p : overlappingPairs(speechLog())) {
      if (eqic(p.a, p.b)) continue;
      int sim = levenSimilarityIntIC(p.a, p.b);
      print(formatInt(sim, 2) + ": " + p);
    }
  }));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026704
Snippet name: ai_mostSimilarSpeechLogLines_rendered
Eternal ID of this version: #1026704/2
Text MD5: 02e256fbd41451722a8b545b3e34b450
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:19:16
Source code size: 290 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 180 / 206
Version history: 1 change(s)
Referenced in: [show references]