apply language model weighting, update to kaldi 1.0