Libraryless. Click here for Pure Java version (2809L/17K).
1 | static MultiSet<S> ngramsHistogram_multipleStrings(int n, Iterable<S> l) { |
2 | new MultiSet<S> ms; |
3 | fOr (S s : l) |
4 | ms.addAll(ngrams(n, s)); |
5 | ret ms; |
6 | } |
Began life as a copy of #1014306
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: | #1027507 |
Snippet name: | ngramsHistogram_multipleStrings |
Eternal ID of this version: | #1027507/1 |
Text MD5: | 574fb49f7d0f2c42b57449c0e24f1e2e |
Transpilation MD5: | 6260154bb70281deb296be41935f3ec7 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-03-22 16:19:17 |
Source code size: | 158 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 159 / 230 |
Referenced in: | [show references] |