Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

16
LINES

< > BotCompany Repo | #1023927 // agi.blue WordNet bot [works, but only on a fixed page]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (8342L/46K).

!7

cmodule AgiBlueWordNetBot > DynSingleFunctionWithPrintLog {
  transient PKIKeyPair keys;
  
  start { keys = keyPairForProgram(); }
  
  void doIt {
    S q = "gringo";
    L<WordNet> l = wordNet(q);
    
    print(shorten1000(agiBot_postMulti(keys, map(l, e -> litorderedmap(
      +q, key := "WordNet definition", value := e.description
    )))));
  }
}

Author comment

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: 125 / 1416
Version history: 5 change(s)
Referenced in: [show references]