it's fixed in master, but not in the release.

https://github.com/moses-smt/mosesdecoder/commit/ee881734fe2d9176e001b1c92a71a51d61183697
I'm not gonna put it into the release 'cos its too late. And the fix itself
had to be fix!

Hieu Hoang
Research Associate (until March 2015)
** searching for interesting commercial MT position **
University of Edinburgh
http://www.hoang.co.uk/hieu


On 4 February 2015 at 11:57, Tom Hoar <[email protected]>
wrote:

>  Using R-3 and I got the same equal sign exception as below. I attached
> two moses.ini/moses.log file sets. The first example successfully loads the
> phrase & reordering tables with paths with equal signs. and a KENLM path
> without an equal sign.
>
> The second example fails to load after simply changing the KENLM path to a
> location with an equal sign.
>
> So Hieu, your comment "I think it's fixed" looks true for the
> phrase/reordering references, but not true for the LM references.
>
> Tom
>
>
>
> On 02/04/2015 01:54 PM, Lisa Kim wrote:
>
>
> 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 
> [email protected]http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
>
> _______________________________________________
> 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