@@ -0,0 +1,1314 @@
+package org.aksw.mlbenchmark;%0A%0Aimport org.apache.commons.configuration2.BaseConfiguration;%0Aimport org.apache.commons.configuration2.CombinedConfiguration;%0Aimport org.apache.commons.configuration2.Configuration;%0Aimport org.apache.commons.configuration2.tree.MergeCombiner;%0A%0A/**%0A * Created by Simon Bin on 16-4-27.%0A */%0Apublic class LearningSystemInfo %7B%0A%09final String learningSystem;%0A%09final BenchmarkRunner br;%0A%09public LearningSystemInfo(BenchmarkRunner parent, String learningSystem) %7B%0A%09%09this.learningSystem = learningSystem;%0A%09%09this.br = parent;%0A%09%7D%0A%09public String getDir() %7B%0A%09%09return br.getLearningSystemDir(learningSystem);%0A%09%7D%0A%09public Configuration getConfig() %7B%0A%09%09Configuration defaultConfig = new BaseConfiguration();%0A%09%09defaultConfig.setProperty(%22language%22, learningSystem.toLowerCase().equals(%22dllearner%22) ? %22owl%22 : %22prolog%22);%0A%09%09Configuration runtimeConfig = br.getConfig();%0A%09%09Configuration lsRuntimeConfig = runtimeConfig.subset(%22learningsystems.%22 + learningSystem);%0A%09%09ConfigLoader systemCL = ConfigLoader.findConfig(getDir()+%22/%22+%22system%22);%0A%09%09CombinedConfiguration cc = new CombinedConfiguration();%0A%09%09cc.setNodeCombiner(new MergeCombiner());%0A%09%09if (systemCL != null) %7B%0A%09%09%09cc.addConfiguration(systemCL.config());%0A%09%09%7D%0A%09%09cc.addConfiguration(lsRuntimeConfig);%0A%09%09cc.addConfiguration(defaultConfig);%0A%09%09return cc;%0A%09%7D%0A%7D%0A

read learning system config