((CRFOptimizableByLabelLikelihood)optLikelihood).setGaussianPriorVariance(gpv);
}
else {
CRFOptimizableByBatchLabelLikelihood likelihood = new CRFOptimizableByBatchLabelLikelihood(crf,trainingSet,numThreads);
optLikelihood = new ThreadedOptimizable(likelihood,trainingSet,crf.getParameters().getNumFactors(),
new CRFCacheStaleIndicator(crf));
likelihood.setGaussianPriorVariance(gpv);
}
CRFOptimizableByGE ge = new CRFOptimizableByGE(crf,constraints,unlabeledSet,map,numThreads,geWeight);
// turn off the prior... it already appears above!