Package org.apache.ctakes.constituency.parser.treekernel

Examples of org.apache.ctakes.constituency.parser.treekernel.TreeKernel


//    }
    String dir = "/home/tmill/Projects/coref/training/";
    String config = "treeKernels";
    String path = dir+config;
   
    TreeKernel kernel = new TreeKernel(false);
    TreeKernelTrainer tkt;
    tkt = new TreeKernelTrainer(path + "/ne/trees.downsampled.txt", path + "/ne/matrix.downsampled.out");
    tkt.run(kernel);
//    tkt = new TreeKernelTrainer(path + "/dem/trees.downsampled.txt", path + "/dem/matrix.downsampled.out");
//    tkt.run();
View Full Code Here

TOP

Related Classes of org.apache.ctakes.constituency.parser.treekernel.TreeKernel

Copyright © 2018 www.massapicom. 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.