Download Jar. Libraryless. Click here for Pure Java version (3012L/21K).
!7 static new TreeMap<S, Float> map; p { for (S s : tlft(loadSnippet(#1010778))) pcall { int i = indexOfAny(s, 0, " \t"); float f = parseFloat(takeFirst(i, s)); Float previous = mapPutIfChange2(map, trim(substring(s, i)), f); if (previous != null) print("Duplicate question: " + s + " (was: " + previous + ")"); } print("Have " + n(map, "question")); }
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: | #1010779 |
Snippet name: | Parse GAC-36K file => gac36k() |
Eternal ID of this version: | #1010779/9 |
Text MD5: | 626ef5f3cc7c17b1279475d9070fd0cd |
Transpilation MD5: | bf936a03e8c9fb748ccffc967a548d9a |
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-10-11 17:57:41 |
Source code size: | 395 bytes / 14 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 554 / 1082 |
Version history: | 8 change(s) |
Referenced in: | #1010781 - gac36k - cached map of GAC-36K (question -> float truth value [0..1]) |