Hi Patrick,

thanks for your help.

In the meantime, I found this debugging suggestion:
http://www.mail-archive.com/[email protected]/msg05041.html

Might be worth implementing it. If it's just a warning and not affecting the
process itself, it's not much of an issue. ;)

Thanks again,
Daniel

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im
Auftrag von Patrik Lambert
Gesendet: Dienstag, 20. Dezember 2011 16:25
An: [email protected]
Betreff: Re: [Moses-support] Tuning of hierarchical models:
main::create_extractor_script() called too early

Hi Daniel,

sorry for the late answer, I actually found your post because I had the same
error:

main::create_extractor_script() called too early to check prototype at
./mert-moses.pl line 666

It is due to the fact that the function create_extractor_script is defined
with parentheses (thus it is called before it is defined, I guess). It
should be

sub create_extractor_script
{

instead of

sub create_extractor_script()
{

However, it is just a warning.

Patrik

> I've got a quick question regarding the tuning of hierarchical 
> phrase-based models. When calling mert, my terminal outputs an error I 
> can't find in the mailing lists:
>
> main::create_extractor_script() called too early to check prototype at 
> ./mert-moses.pl line 666
>
> The script didn't stop at that point and finished processing, but only 
> performed two mert runs. The created phrase-table in 
> my/path/to/tuning/mert/filtered resulted in a 0 Mbyte file. The moses 
> ini I passed to mert was configured with KenLM.
>
> That's my call:
>
> /mert-moses.pl
> /home/user/moses/chart/tuning/tuning.en
> /home/user/moses/chart/tuning/tuning.de
> /home/user/moses/mosesdecoder/moses-chart-cmd/src/moses_chart
> /home/user/moses/mosesdecoder/model/moses_chart.ini
> -working-dir /home/user/moses/chart/tuning/mert
> -mertdir /home/user/moses/mosesdecoder/mert
> -rootdir /home/user/moses/mosestools/scripts-20111024-1127
>
> Any guesses how to fix this? Help is very much appreciated.
>
> Thanks a lot,
> Daniel

_______________________________________________
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