Download Jar. Uses 3874K of libraries. Click here for Pure Java version (7461L/54K).
1 | !7 |
2 | |
3 | static LS questions = tenGACQuestions_set1(); |
4 | static new Map<S, Set<S>> categoryToPhrases; |
5 | |
6 | p-exp { |
7 | useLocalMechListCopies(); |
8 | for (PairS p : mL_pairs("Word category => List")) |
9 | getOrCreateCISet(categoryToPhrases, p.a).addAll(mL(p.b)); |
10 | for (S cat : keys(categoryToPhrases)) |
11 | print(cat + " => " + l(categoryToPhrases.get(cat))); |
12 | |
13 | //for (S pat : mL("English sentence patterns")) |
14 | |
15 | for (S input : questions) { |
16 | L<S> tok = javaTokWithAngleBracketsC(input); |
17 | printStruct(tok); |
18 | } |
19 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017280 |
Snippet name: | Parse with spreads & word categories [Spike, dev.] |
Eternal ID of this version: | #1017280/5 |
Text MD5: | 795f49e515e50c351eb184663adafd47 |
Transpilation MD5: | d5bab615c550116d660ce5c830c261ba |
Author: | stefan |
Category: | javax / parsing |
Type: | JavaX source code (desktop) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-16 13:44:25 |
Source code size: | 525 bytes / 19 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 374 / 1000 |
Version history: | 4 change(s) |
Referenced in: | [show references] |