Examples of NgramRankerTest


Examples of synalp.generation.ranker.NgramRankerTest

    // String[] ngramtype = new
    // String[]{"serverBased","JNIBased-withoutfilter",
    // "JNIBased-withfilter"};
    // int[] timeouts = new int[] { 1000, 10000, 60000 };

    NgramRankerTest ranker;
    for (int i = 1; i < 11; i++) {
      System.out.println("beam "+i);
      ranker = new NgramRankerTest(i, 1000, "JNIBased-withoutfilter");
      ranker.testRanker();

      beamsize.add(i);
      defaultPass.add(ranker.countPASS1);
      defaultFail.add(ranker.countFAIL1);
      defaultTimeout.add(ranker.countTO1);
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.