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).

1  
!7
2  
3  
p {
4  
  //restartWithVMArgs(smallHeapArgs() + " -Xmx1g");
5  
  restartWith1GBHeap();
6  
  //set ai_cache_hasTriple_debug;
7  
  int n = 0;
8  
  appendToFile_keepOpen(true);
9  
  try {
10  
    for (S word : hugeEnglishDictionary()) {
11  
      if ((++n % 100) == 0) print(n);
12  
      ai_postTriple(word, "is", "an english word according to the huge dictionary");
13  
    }
14  
  } finally {
15  
    appendToFile_keepOpen(false);
16  
  }
17  
}

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: 546 / 1307
Version history: 12 change(s)
Referenced in: [show references]