Hi Carlos,

What happens when you run the extractor command manually?

/veu4/usuaris24/xtrans/mosesdecoder/bin/extractor --sctype METEOR
--scconfig jar:/veu4/usuaris24/cescola/meteor-1.5/meteor-1.5.jar,case:true
--scfile run1.scores.dat --ffile run1.features.dat -r
/veu4/usuaris24/cescola/tfg/1-corpus//dev/devSingle.es -n
run1.best100.out.gz

Do you get any error messages?

What about if you run Meteor manually?

echo "SCORE ||| a b c ||| a b c d" |java -Xmx1G -jar
/veu4/usuaris24/cescola/meteor-1.5/meteor-1.5.jar - - -stdio -lower -t tune
-l en

Do you get a row of statistics?

Best,
Michael

On Sun, Jun 12, 2016 at 4:35 PM, Carlos Escolano <carlos.e....@gmail.com>
wrote:

> Hi all,
>
> I'm trying to tune a model using METEOR as metric  but everytime I'm
> encountering an error at the begining of the tuning.
>
> I'm using mert with the following parameters:
>
> $MOSES_SCRIPTS/training/mert-moses.pl $WORKING_DIR/dev/devSingle.zh
> $WORKING_DIR/dev/devSingle.es
> /veu4/usuaris24/xtrans/mosesdecoder/moses-cmd/bin/gcc-4.8.5/release/link-static/threading-multi/moses
>
> $WORKING_DIR/baselineMeteor/model/moses.ini
> --nbest 100
> --working-dir $WORKING_DIR/baselineMeteor/tuning/
> --rootdir /veu4/usuaris24/xtrans/mosesdecoder/scripts/
> --mertdir /veu4/usuaris24/xtrans/mosesdecoder/bin/
> -threads 24
> --filtercmd '/veu4/usuaris24/xtrans/mosesdecoder/scripts/training/
> filter-model-given-input.pl'
> --decoder-flags "-drop-unknown -mbr -threads 24 -mp -v 0"
> --mertargs="--sctype METEOR --scconfig
> jar:/veu4/usuaris24/cescola/meteor-1.5/meteor-1.5.jar"
>
> And this is the content of the extract.err after the error.
>
> Binary write mode is NOT selected
> Scorer type: METEOR
> name: jar value: /veu4/usuaris24/cescola/meteor-1.5/meteor-1.5.jar
> name: case value: true
> Executing: java -Xmx1G -jar
> /veu4/usuaris24/cescola/meteor-1.5/meteor-1.5.jar - - -stdio -lower -t tune
> -l en
> Data::m_score_type METEOR
> Data::Scorer type from Scorer: METEOR
> loading nbest from run1.best100.out.gz
> Loaded N-best lists : [Wall 98.2086 CPU 6.90767] seconds.
> Binary write mode is NOT selected
> saving the array into run1.features.dat
> saving the array into run1.scores.dat
> Stopping... : [Wall 100.662 CPU 9.36354] seconds.
> Could not close file 4
> /veu4/usuaris24/cescola/tfg/1-corpus/baselineMeteor/tuning/extractor.sh:
> lĂ­nea 3: 30494 Abortado                (`core' generado)
> /veu4/usuaris24/xtran
> s/mosesdecoder/bin/extractor --sctype METEOR --scconfig
> jar:/veu4/usuaris24/cescola/meteor-1.5/meteor-1.5.jar,case:true --scfile
> run1.scores.dat --ffil
> e run1.features.dat -r
> /veu4/usuaris24/cescola/tfg/1-corpus//dev/devSingle.es -n
> run1.best100.out.gz
>
> Thanks to you all I'd really apreciate your help.
>
> Best regards,
>
> Carlos
>
>
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
>
>
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to