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

8
LINES

< > BotCompany Repo | #1025888 // ai_ngbWordList_withCount

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

Libraryless. Click here for Pure Java version (5898L/40K).

static timedCached[10.0] LPair<S, Int> ai_ngbWordList_withCount() {
  new LPair<S, Int> out;
  for (S s : mL("NGB Word List")) {
    LS l = splitAtSpace(s);
    out.add(pair(last(l), l(l) > 1 ? parseInt(first(l)) : 1));
  }
  ret out;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1025888
Snippet name: ai_ngbWordList_withCount
Eternal ID of this version: #1025888/3
Text MD5: 978f32b20f2d716963d190b227d48d06
Transpilation MD5: 8423d87312eb03a9587d341285b3a06a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-10-28 12:28:42
Source code size: 243 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 130 / 195
Version history: 2 change(s)
Referenced in: [show references]