Uses 3874K of libraries. Click here for Pure Java version (9895L/68K/232K).
1 | !7 |
2 | |
3 | concept Def { |
4 | long updated; |
5 | S inputTerm, outputTerm; |
6 | L<S> definitions; |
7 | } |
8 | |
9 | p-subst { |
10 | db(); |
11 | veryBigConsole(); |
12 | botDemo("juice", "money"); |
13 | } |
14 | |
15 | answer { |
16 | s = trim(s); |
17 | Pair<S, L<S>> p = macmillanDefinitions2(s); |
18 | cset(uniq(Def, inputTerm := s), outputTerm := p.a, definitions := p.b, updated := now()); |
19 | print("== " + p.a + " =="); |
20 | pnl(p.b); |
21 | try answer first(p.b); |
22 | } |
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: | #1008456 |
Snippet name: | Macmillan Bot [Dictionary Bot] |
Eternal ID of this version: | #1008456/11 |
Text MD5: | be4de6e2d39c4d6f65dce4b6483fc22e |
Transpilation MD5: | 979a0e2d761ce37625a5720a7ad513af |
Author: | stefan |
Category: | javax / a.i. |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-23 00:07:08 |
Source code size: | 405 bytes / 22 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 513 / 934 |
Version history: | 10 change(s) |
Referenced in: | [show references] |