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

6
LINES

< > BotCompany Repo | #1027507 // ngramsHistogram_multipleStrings

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (2809L/17K).

static MultiSet<S> ngramsHistogram_multipleStrings(int n, Iterable<S> l) {
  new MultiSet<S> ms;
  fOr (S s : l)
    ms.addAll(ngrams(n, s));
  ret ms;
}

Author comment

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: 157 / 228
Referenced in: [show references]