Thank you.
It is successful to change the LM name without "=" symbol.

However, decoding still fails with following message.
Could you check the error message?

--------------------
Start loading text phrase table. Moses  format : [0.038] seconds
terminate called recursively
terminate called after throwing an instance of 'util::Exception'
  what():  Aborted (core dumped)
Exit code: 134
The decoder died. CONFIG WAS -weight-overwrite 'LM1= 0.125000
PhrasePenalty0= 0.050000 WordPenalty0= -0.250000 TranslationModel0=
0.050000 0.050000 0.050000 0.050000 TranslationModel1= 0.250000 LM0=
0.125000'
2015. 2. 3. 오후 8:12에 "Hieu Hoang" <[email protected]>님이 작성:

>  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 
> [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