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)

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

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: 106 / 136
Version history: 1 change(s)
Referenced in: [show references]