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

18
LINES

< > BotCompany Repo | #1010511 // Node index from downloaded webs

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (13740L/95K).

1  
!7
2  
3  
p {
4  
  L<Web> webs = downloadedWebs();
5  
  print(n(webs, "web"));
6  
  print();
7  
  MultiSet<S> index = treeMultiSet();
8  
  for (Web web : webs)
9  
    for (WebNode node : web_nodes(web))
10  
      index.addAll(node.texts());
11  
  print(n(index, "string") + " (alphabetical)");
12  
  print();
13  
  pnl(multiSetToMap(index));
14  
  print();
15  
  print("Popular first");
16  
  print();
17  
  pnl(multiSetToMapPopularFirst(index));
18  
}

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: #1010511
Snippet name: Node index from downloaded webs
Eternal ID of this version: #1010511/4
Text MD5: 1ff15261b7bdf96825b804810272b454
Transpilation MD5: 0a010744758b6f5012c611ef3d1d5d9c
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-19 18:30:46
Source code size: 409 bytes / 18 lines
Pitched / IR pitched: No / No
Views / Downloads: 581 / 1188
Version history: 3 change(s)
Referenced in: [show references]