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

14
LINES

< > BotCompany Repo | #1032740 // GazKB_restoreKBParametersFromFile

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (7326L/43K).

srecord noeq GazKB_restoreKBParametersFromFile(File conceptsFile) {
  simplyCached Map concepts() {
    ret safeUnstructureMap(conceptsFile);
  }
  
  run {
    var concepts = concepts();
    var kb = genget(concepts, 275924);
    print(powerWordSearch := genget(kb, "powerWordSearch", "value", "id"));
    print(additionalSearchers := map getConceptRefID_afterSafeUnstruct((L) genget(kb, "additionalSearchers", "l")));
    print(rareSearchers := map getConceptRefID_afterSafeUnstruct((L) genget(kb, "rareSearchers", "l")));
    print(additionalComputeFunctions := map getConceptRefID_afterSafeUnstruct((L) genget(kb, "additionalComputeFunctions", "l")));
  }
}

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1032740
Snippet name: GazKB_restoreKBParametersFromFile
Eternal ID of this version: #1032740/3
Text MD5: 3b2eaa22e2f31d466837b16f364071ed
Transpilation MD5: 7af5342f1261688556283b49af4134e5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-04 04:29:27
Source code size: 674 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 163 / 281
Version history: 2 change(s)
Referenced in: [show references]