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: | 379 / 416 |
Version history: | 5 change(s) |
Referenced in: | [show references] |