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

17
LINES

< > BotCompany Repo | #1011452 // Turn hugeEnglishDictionary into webs

JavaX source code (desktop) [tags: use-pretranspiled] - run with: x30.jar

Download Jar. Libraryless. Click here for Pure Java version (15151L/108K).

!7

p {
  //restartWithVMArgs(smallHeapArgs() + " -Xmx1g");
  restartWith1GBHeap();
  //set ai_cache_hasTriple_debug;
  int n = 0;
  appendToFile_keepOpen(true);
  try {
    for (S word : hugeEnglishDictionary()) {
      if ((++n % 100) == 0) print(n);
      ai_postTriple(word, "is", "an english word according to the huge dictionary");
    }
  } finally {
    appendToFile_keepOpen(false);
  }
}

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: #1011452
Snippet name: Turn hugeEnglishDictionary into webs
Eternal ID of this version: #1011452/13
Text MD5: c3431a11d13844b62e6d0f1859844b7a
Transpilation MD5: 9321ea2309505e4a6304c3342e8e9fef
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-29 21:20:11
Source code size: 413 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 406 / 994
Version history: 12 change(s)
Referenced in: [show references]