Package joshua.oracle

Examples of joshua.oracle.OracleExtractor


        + ((double)(System.currentTimeMillis() - startTime) / 1000.0)
        + " seconds");
   
    if (oracleSentence != null) {
      logger.fine("Creating oracle extractor");
      OracleExtractor extractor = new OracleExtractor(this.symbolTable);
     
      logger.finer("Extracting oracle hypergraph...");
      HyperGraph oracle = extractor.getOracle(hypergraph, 3, oracleSentence);
     
      logger.finer("... Done Extracting. Getting k-best...");
      this.kbestExtractor.lazyKBestExtractOnHG(
        oracle, this.featureFunctions,
        JoshuaConfiguration.topN,
View Full Code Here

TOP

Related Classes of joshua.oracle.OracleExtractor

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.