Hi Hieu,

The difference is that I have the following in the training section.

[TRAINING]
...
binarize-all = "$moses-script-dir/training/binarize-model.perl
-Hierarchical"
...

Other than this, not much difference between your config and mine.

Regards,
Guchun



On 30 October 2014 00:08, Hieu Hoang <[email protected]> wrote:

> the end-to-end testing was ok. I ran hiero models with Europarl data,
> here's my EMS confg file
>
> http://www.statmt.org/moses/RELEASE-2.1/models/de-en/config.hiero.recase
> What's different about your config file? Can I have a look at it?
>
> I only change the master branch, not the releases. The master branch seems
> to be working olk.
>
> On 29 October 2014 12:56, Guchun Zhang <[email protected]> wrote:
>
>> Hi,
>>
>> I don't know if this has been reported or fixed.
>>
>> In v2.1.1 (9098f3a8b419a6dd6ae7c1c5678f82334877504e), binarization for
>> hierarchical models will fail in EMS, which calls binarize-model.perl. The
>> problem is caused by the missing double quotes for $ttable-binarizer in
>> experiment.meta and binarize-model.perl. The following correction will
>> solve the problem.
>>
>> In experiment.meta, under "binarize-config", modify "template" (Line 655)
>> to
>>
>> $binarize-all IN OUT -Binarizer "$ttable-binarizer"
>>
>> In binarize-model.perl, change the first safesystem call to
>>
>> safesystem("$RealBin/filter-model-given-input.pl  $targetdir
>> $input_config /dev/null $hierarchical -nofilter -Binarizer \"$binarizer\"")
>>
>> Hope this helps.
>>
>> Regards,
>> Guchun
>>
>> _______________________________________________
>> Moses-support mailing list
>> [email protected]
>> http://mailman.mit.edu/mailman/listinfo/moses-support
>>
>>
>
>
> --
> Hieu Hoang
> Research Associate
> University of Edinburgh
> http://www.hoang.co.uk/hieu
>
>


-- 

*Guchun Zhang*

Machine Translation Project Lead
Alpha CRC | Cambridge, UK
Direct: +44 1223 431035

www.alphacrc.com

www.linkedin.com/company/alpha-crc

[email protected]

*Alpha CRC = Global,  Scalable, In-House Production*
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to