System.out.println("varatioanl_ngram_order is greater than baseline_lm_order; must be wrong");
System.exit(1);
}
double weight = new Double(fds[2].trim());
FeatureTemplate ft = new NgramFT(symbolTbl, true , ngramStateID, baselineLMOrder, vlmOrder, vlmOrder);
FeatureTemplateBasedFF ff = new FeatureTemplateBasedFF(ngramStateID+1+featFunctions.size(), weight, ft);
VariationalNgramApproximator rmodel = new VariationalNgramApproximator(symbolTbl, ft, 1.0, vlmOrder);
featFunctions.add(ff);
approximatorMap.put(rmodel, ff);
logger.info( String.format("vlm feature with weight: " + weight));