//=====compute onebest BLEU
computeOneBestBLEU(curHypFilePrefix);
//==== run DA annealer to obtain optimal weight vector using the hypergraphs as training data
HyperGraphFactory hgFactory = new HyperGraphFactory(curHypFilePrefix, referenceFiles, MRConfig.ngramStateID, symbolTbl, this.haveRefereces);
GradientComputer gradientComputer = new HGRiskGradientComputer(MRConfig.useSemiringV2,
numTrainingSentence, numPara, MRConfig.gainFactor, 1.0, 0.0, true,
MRConfig.fixFirstFeature, hgFactory,
MRConfig.maxNumHGInQueue, MRConfig.numThreads,
MRConfig.ngramStateID, MRConfig.baselineLMOrder, symbolTbl,