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

6
LINES

< > BotCompany Repo | #1014317 // uniqNgrams

JavaX fragment (include)

static Set<S> uniqNgrams(int n, Collection<S> lines) {
  new Set<S> set;
  for (S s : unnull(lines))
    addAll(set, ngrams(n, s));
  ret set;
}

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: #1014317
Snippet name: uniqNgrams
Eternal ID of this version: #1014317/6
Text MD5: 95b35473d000cc1490c0e565b4ba3d15
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-04-20 03:07:46
Source code size: 149 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 381 / 418
Version history: 5 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)