Hi Zeeshan

The MERGE scorer doesn't work with mert-moses.pl. It requires a 
different script which has been removed as it was no longer maintained.

Instead of using the MERGE scorer, I recommend that you use the 
InterpolatedScorer, which provides the same functionality. It's 
described here:

http://www.mail-archive.com/[email protected]/msg06412.html

cheers - Barry

On 29/12/12 14:46, Zeeshan Ahmed wrote:
>
> Hi,
>
> I would like to know how to run MERGE scorer using MERT. I am using 
> the following command to do it but I get exception when “extractor” is 
> run.
>
> The exception says
>
> /************************Exception in 
> extract.err**************************/
>
> Binary write mode is selected
>
> Scorer type: MERGE
>
> name: BLEU value: 1
>
> name: TER value: 1
>
> name: case value: true
>
> Exception: MERGE Scorer can be used only in mert execution
>
> /*******************************************************************/
>
> /************************MERT 
> Command****************************************************/
>
> mert-moses.pl \
>
> input.dev \
>
> ref.dev \
>
> moses \
>
> moses.ini \
>
> --mertdir $MERTDIR \
>
> --mertargs='--sctype MERGE --scconfig BLEU:1,TER:1' \
>
> --no-filter-phrase-table \
>
> --working-dir='../mert-work' \
>
> --decoder-flags='-threads all -weight-i 0.01 -inputtype 1 
> -search-algorithm 1 -cbp 4000'
>
> /****************************************************************************************/
>  
>
>
> Thanks,
>
> Best Regards,
>
> Zeeshan Ahmed
>
>
>
> _______________________________________________
> Moses-support mailing list
> [email protected]
> http://mailman.mit.edu/mailman/listinfo/moses-support


-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

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

Reply via email to