Package joshua.discriminative.training.risk_annealer.hypergraph

Examples of joshua.discriminative.training.risk_annealer.hypergraph.RiskAndFeatureAnnotationOnLMHG


   
    this.linearCorpusGainThetas = linearCorpusGainThetas_;
 
    if(baselineLMOrder>=bleuNgramOrder){
      useNoEquivAnnotator = true;
      this.riskAnnotatorNoEquiv = new RiskAndFeatureAnnotationOnLMHG(baselineLMOrder, baselineLMFeatID,  linearCorpusGainThetas, symbolTbl,
          featureStringToIntegerMap, featTemplates, true);
     
    }else{
      useNoEquivAnnotator = false;
      this.riskAnnotator = new RiskAndFeatureAnnotation(symbolTbl_, 4, linearCorpusGainThetas, featureStringToIntegerMap,  featTemplates);     
View Full Code Here

TOP

Related Classes of joshua.discriminative.training.risk_annealer.hypergraph.RiskAndFeatureAnnotationOnLMHG

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.