as ken mentioned, don't use the = sign in the name of your LM file. I think it's fixed in the latest version of moses. Which version do you have, from when ago?

moses_chart should handle factors. Again, if you version is from long ago, I suggest your update

On 02/02/15 10:06, ekkim214 wrote:

I want to use some factor (class) in the hierarchical model.
I am using the ems script and using KenLM for surface and factor both.
The building of LM is successful with settings "-discount_fallback" but
I got an error during tuning phase like this.

Exception: moses/LM/Ken.cpp:399 in Moses::LanguageModel* Moses::ConstructKenLM(const string&) threw util::Exception because `args.size() != 2'. Incorrect format of KenLM property: path=/home3/ekkim/working/E2K_1501/hierarchical_class/lm/travel22=mkcls.binlm.5
Exit code: 1

Does not "moses_chart" decoder which is distributed in the package support factored training?


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

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

Reply via email to