if(use_lm_feat==true){
FeatureTemplate ft = new NgramFT(symbolTbl, false, ngramStateID, baseline_lm_order,1,2);//TODO: unigram and bi gram
l_feat_templates.add(ft);
l_feat_templates_nobaseline.add(ft);
}else if(use_edge_ngram_only){//exclusive with use_lm_feat
FeatureTemplate ft = new EdgeBigramFT(symbolTbl, ngramStateID, baseline_lm_order, useIntegerString);
l_feat_templates.add(ft);
l_feat_templates_nobaseline.add(ft);
}
if(use_joint_tm_lm_feature){