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

1  
srecord noeq GazKB_restoreKBParametersFromFile(File conceptsFile) {
2  
  simplyCached Map concepts() {
3  
    ret safeUnstructureMap(conceptsFile);
4  
  }
5  
  
6  
  run {
7  
    var concepts = concepts();
8  
    var kb = genget(concepts, 275924);
9  
    print(powerWordSearch := genget(kb, "powerWordSearch", "value", "id"));
10  
    print(additionalSearchers := map getConceptRefID_afterSafeUnstruct((L) genget(kb, "additionalSearchers", "l")));
11  
    print(rareSearchers := map getConceptRefID_afterSafeUnstruct((L) genget(kb, "rareSearchers", "l")));
12  
    print(additionalComputeFunctions := map getConceptRefID_afterSafeUnstruct((L) genget(kb, "additionalComputeFunctions", "l")));
13  
  }
14  
}

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: 164 / 282
Version history: 2 change(s)
Referenced in: [show references]