if (null == this.languageModel) {
throw new IllegalArgumentException("LM model has not been properly initialized before setting order and weight");
}
double weight = Double.parseDouble(fds[1].trim());
this.featureFunctions.add(
new LanguageModelFF(
JoshuaConfiguration.ngramStateID,
this.featureFunctions.size(),
JoshuaConfiguration.lmOrder,
this.symbolTable, this.languageModel, weight));
if (logger.isLoggable(Level.FINEST))