Hi everyone,

I'm creating a feature that needs to load and query a language model. The LM 
should not be part of the global model and thus should not get registered by 
the scoreIndexManager. I was planning to use the 
LanguageModelFactory::CreateLanguageModel function, but it registers the newly 
created LM with the scoreIndexManager, causing the Moses decoder to expect 1 
more feature weight than I specified.

Are there any shortcuts I can use to construct a LM that doesn't involve 
creating a ScoreProducer in the global model?

Thanks for your recommendations.
Nick Ruiz

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to