static Map<S, Int> loadSpellList(S snippetID) { new LinkedHashMap<S, Int> map; for (S line : toLinesFullTrim(loadSnippet(snippetID))) { L<S> tok = javaTokC(line); if (l(tok) == 2 && isInteger(last(tok))) map.put(toLower(first(tok)), parseInt(last(tok))); } ret map; }
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: | #1008390 |
Snippet name: | loadSpellList - load list of words for levenAttract |
Eternal ID of this version: | #1008390/2 |
Text MD5: | cceae4f36266086e8963f0893894e726 |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-05-11 01:56:49 |
Source code size: | 298 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 551 / 555 |
Version history: | 1 change(s) |
Referenced in: | [show references] |