Package org.fnlp.nlp.parser.dep.analysis

Examples of org.fnlp.nlp.parser.dep.analysis.AnalysisTest.test()


    System.out.printf("total time:\t%.2f(s)\n", time);
    System.out.printf("average speed:\t%.4f(s/word)\t%.4f(s/sent)",  total
        / time, totsent / time);
    System.out.println();
    AnalysisTest at = new AnalysisTest();
    at.test(resultFile);
    /*System.out.printf("accuracy(depClass):\t%.8f\ttotal(words):\t%d\n",  1.0-1.0
        * dError / total, total);
    System.out.printf("accuracy(heads):\t%.8f\ttotal(words):\t%d\n",  1.0-1.0
        * error / total, total);
    System.out.printf("accuracy(sents):\t%.8f\ttotal(sents):\t%d\n", 1.0-1.0
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.