Dear all:

Thank you Philipp,

I made the change according to your instruction. It works. But I then I got
this new error message:

when it runs to tuning part:
"Option queue-flags requires an argument"

the command in  tune.1 is
/home/xfwu/tools/moses-scripts/scripts-20110401-2113/training/mert-moses.pl/home/xfwu/works/emstest/tuning/input.tc.1
/home/xfwu/works/emstest/tuning/reference.tc.1
/home/xfwu/tools/moses/moses-cmd/src/    moses
/home/xfwu/works/emstest/model/moses.ini.1 --nbest 100 --working-dir
/home/xfwu/works/emstest/tuning/tmp.1  --decoder-flags " -v 0 " --rootdir
/home/xfwu/tools/moses-scripts/scripts-20110401-2113      --filtercmd
'/home/xfwu/tools/moses-scripts/scripts-20110401-2113/training/
filter-model-given-input.pl -Binarizer
"/home/xfwu/tools/moses/misc/processPhraseTable"' --queue-flags=""

it seemed if I delete the last parameter queue-flags, this command will run
quietly.

Xiaofeng

On Wed, Jun 1, 2011 at 1:04 AM, Philipp Koehn <[email protected]> wrote:

> Hi,
>
> see the FAQ:
> http://www.statmt.org/moses/?n=Moses.FAQ#ntoc19
>
> GIZA++ crashes with error "parameter 'coocurrencefile' does not exist."
>
> You have a version of GIZA++ which doesn't support cooccurrence files.
> To add support for cooccurrence files, you need to edit the GIZA++
> Makefile and add the flag -DBINARY_SEARCH_FOR_TTABLE to CFLAGS_OPT.
> Then you should rebuild GIZA++.
>
> -phi
>
> On Tue, May 31, 2011 at 11:19 PM, xiaofeng wu <[email protected]>
> wrote:
> > Dear all,
> >
> > Does any one has come across this:
> >
> > (I am using EMS under a Cluster)
> >
> >     executing
> /home/xfwu/works/emstest/steps/1/TRAINING_run-giza-inverse.1
> > via sh (1)
> >     executing /home/xfwu/works/emstest/steps/1/TRAINING_run-giza.1 via sh
> > (2)
> > step TRAINING:run-giza-inverse crashed
> > number of steps doable or running: 1
> > step TRAINING:run-giza crashed
> > number of steps doable or running: 0
> >
> >
> > I found in the steps/1/TRAINING_run-giza.1.STDERR
> > the following error message:
> >
> >  /home/xfwu/bin/GIZA++  -CoocurrenceFile
> > /home/xfwu/works/emstest/training/giza.1/en-fr.cooc -c
> > /home/xfwu/works/emstest/training/prepared.1/en-fr-int-train.snt -m1 5
> -m2 0
> > -m3 3 -m4 3 -model1dumpfrequenc    y 1 -model4smoothfactor 0.4 -nodumps 1
> > -nsmooth 4 -o /home/xfwu/works/emstest/training/giza.1/en-fr -onlyaldumps
> 1
> > -p0 0.999 -s /home/xfwu/works/emstest/training/prepared.1/fr.vcb -t
> > /home/xfwu/works/ems    test/training/prepared.1/en.vcb 36 Executing:
> > /home/xfwu/bin/GIZA++  -CoocurrenceFile
> > /home/xfwu/works/emstest/training/giza.1/en-fr.cooc -c
> > /home/xfwu/works/emstest/training/prepared.1/en-fr-int-train.snt -m1 5
> -m2 0
> > -m3 3 -m4 3 -model1d    umpfrequency 1 -model4smoothfactor 0.4 -nodumps 1
> > -nsmooth 4 -o /home/xfwu/works/emstest/training/giza.1/en-fr -onlyaldumps
> 1
> > -p0 0.999 -s /home/xfwu/works/emstest/training/prepared.1/fr.vcb -t
> > /home/xfw    u/works/emstest/training/prepared.1/en.vcb
> >  ERROR: parameter 'coocurrencefile' does not exist.
> >  WARNING: ignoring unrecognized option:  -CoocurrenceFile
> >  ERROR: parameter 'homexfwuworksemstesttraininggiza1enfrcooc' does not
> > exist.
> >  WARNING: ignoring unrecognized option:
> > /home/xfwu/works/emstest/training/giza.1/en-fr.cooc
> >
> > It seemed that GIZA++ can not find the -CoocurrenceFile option, but when
> I
> > copy this command and run under shell, it works..
> >
> > Thanks a lot
> >
> >
> > Xiaofeng Wu
> >
> >
> > _______________________________________________
> > Moses-support mailing list
> > [email protected]
> > http://mailman.mit.edu/mailman/listinfo/moses-support
> >
> >
>



-- 
Xiaofeng Wu
CNGL, School of Computing,
Dublin City University,
Glasnevin, Dublin 9.
Email: [email protected]
Tel: +353 (0)1 700 6727
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to