Examples of InstanceData


Examples of org.apache.ctakes.ytex.kernel.InstanceData

    String experiment = props.getProperty("org.apache.ctakes.ytex.experiment");
    String param2 = props.getProperty("org.apache.ctakes.ytex.param2");
    double param1 = Double.parseDouble(props
        .getProperty("org.apache.ctakes.ytex.param1", "0"));
    String scope = props.getProperty("scope");
    InstanceData instanceData = this.getKernelUtil().loadInstances(
        props.getProperty("instanceClassQuery"));
    String splitName = props.getProperty("org.apache.ctakes.ytex.splitName");
    String outdir = props.getProperty("outdir");
    Map<String, BiMap<String, Integer>> labelToClassIndexMap = new HashMap<String, BiMap<String, Integer>>();
    kernelUtil.fillLabelToClassToIndexMap(
        instanceData.getLabelToClassMap(), labelToClassIndexMap);
    exportGramMatrices(name, experiment, param1, param2, scope, splitName,
        outdir, instanceData, labelToClassIndexMap);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.