Uses 911K of libraries. Click here for Pure Java version (8342L/46K).
1 | !7 |
2 | |
3 | cmodule AgiBlueWordNetBot > DynSingleFunctionWithPrintLog { |
4 | transient PKIKeyPair keys; |
5 | |
6 | start { keys = keyPairForProgram(); } |
7 | |
8 | void doIt { |
9 | S q = "gringo"; |
10 | L<WordNet> l = wordNet(q); |
11 | |
12 | print(shorten1000(agiBot_postMulti(keys, map(l, e -> litorderedmap( |
13 | +q, key := "WordNet definition", value := e.description |
14 | ))))); |
15 | } |
16 | } |
Began life as a copy of #1023679
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: | #1023927 |
Snippet name: | agi.blue WordNet bot [works, but only on a fixed page] |
Eternal ID of this version: | #1023927/6 |
Text MD5: | 3dd890dd886a2fdc79e592093bf0b65e |
Transpilation MD5: | 64cf1b9ab7b3f7057bab70c8578bd652 |
Author: | stefan |
Category: | javax / agi.blue |
Type: | JavaX source code (Dynamic Module) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-13 04:17:53 |
Source code size: | 374 bytes / 16 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 202 / 1512 |
Version history: | 5 change(s) |
Referenced in: | [show references] |