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

8
LINES

< > BotCompany Repo | #1010523 // dwlw_fullNodeIndex - full lower-case node (not relation) index on downloadedWebs+localWebs

JavaX fragment (include)

static MultiMap<S, WebNode> dwlw_fullNodeIndex_lower() {
  MultiMap<S, WebNode> index = treeMultiMap();
  for (Web web : concatLists(downloadedWebs(), localWebs()))
    for (WebNode node : web_nodes(web))
      for (S text : asSet(allToLower(node.texts())))
        index.put(text, node);
  ret index;
}

Author comment

Began life as a copy of #1010514

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: #1010523
Snippet name: dwlw_fullNodeIndex - full lower-case node (not relation) index on downloadedWebs+localWebs
Eternal ID of this version: #1010523/1
Text MD5: c6b6efbd156392f773f261af1b78853b
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-19 21:38:39
Source code size: 310 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 537 / 518
Referenced in: [show references]