Package joshua.decoder.hypergraph

Examples of joshua.decoder.hypergraph.TrivialInsideOutside.clearState()


      HashMap<String, Double> model = approximator.estimateModel(hg, pInsideOutside);
      featureFunction.setModel(model);     
    }
   
    //clean up
    pInsideOutside.clearState();
   
    //=== step-3: rank the HG using the baseline and variational feature
    this.ranker.rankHG(hg);

    //=== step-4: kbest extraction from the reranked HG: remember to add the new feature function into the model list
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.