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

12
LINES

< > BotCompany Repo | #1012501 // ai_triplesFileFromGithub

JavaX fragment (include)

sS ai_triplesFileFromGithub_url = "https://github.com/stefan-reich/smartbot/releases/download/1/triples.gz";

static File ai_triplesFileFromGithub() {
  S programID = #1012438;
  File file = getProgramFile(programID, "triples-1.gz");
  if (fileSize(file) == 0) {
    print("Downloading triples (9 MB).");
    loadBinaryPageToFile(ai_triplesFileFromGithub_url, file);
  } else
    print("Triples already downloaded.");
  ret file;
}

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: #1012501
Snippet name: ai_triplesFileFromGithub
Eternal ID of this version: #1012501/2
Text MD5: 6eb2a49d26856407ff7e3a788c5a1e10
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-05 14:03:32
Source code size: 442 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 349 / 364
Version history: 1 change(s)
Referenced in: [show references]