Thanks Nicola. I am using it on Fedora. So, I guess the problem is
elsewhere.

Regards,
Sriram

On Fri, Mar 18, 2011 at 10:08 AM, Nicola Bertoldi <berto...@fbk.eu> wrote:

> Hi Sriram (and all MacOsX users)
>
> are you using a MacOsX machine?
> So probably the error is due to the fact that by default the OS  has a
> case-insensitive filesystem
> so "A3.final" files are wrongly overwritten by ""a3.final" ones
>
> The easiest way to solve this issue is the following: (found on the web but
> I've lost the link)
>
>
> 1) edit the GIZA source file "GIZA++-v2/model3.cpp" and change the lines
> 321-322
> alignfile = Prefix + ".A3." + number ;
> test_alignfile = Prefix + ".tst.A3." + number ;
>
> as follows
>
> alignfile = Prefix + ".UA3." + number ;
> test_alignfile = Prefix + ".tst.UA3." + number ;
>
> 2) recompile GIZA
>
> 3) call the Moses training script "train-model.perl" adding the following
> parameter
> "--giza-extension UA3.final"
>
> This works for giza-pp-v1.0.2.tar.gz, but similar changes can be done for
> other versions.
>
> best regards,
> Nicola Bertoldi
>
>
>
> On Mar 17, 2011, at 5:17 PM, Barry Haddow wrote:
>
> > Hi Sriram
> >
> > GIZA has output an error message, which may mean your alignmenmts are
> faulty.
> > You should search for 'error' in TRAINING_run-giza.3.STDERR, and remember
> > that it may appear in uppercase in this file.
> >
> > If you want to try continuing with the alignments that were produced,
> then you
> > can force ems to use them by adding something like
> >
> > giza-alignment = $working-dir/training/giza.12
> > giza-alignment-inverse = $working-dir/training/giza-inverse.12
> >
> > to the TRAINING section,
> >
> > best regards - Barry
> >
> > On Thursday 17 March 2011 15:57, Sriram V wrote:
> >> Hello,
> >>
> >> When I run ems/experiment.perl, giza++ runs well in both the directions
> and
> >> produces the corresponding *.A3.final.gz files. However, it is reported
> >> that those steps have crashed. Subsequently, the following components do
> >> not run. Any ideas about what could have gone wrong here ?
> >>
> >> TRAINING_run-giza.3.STDERR.digest
> >>
> >> error
> >> error
> >>
> >> TRAINING_run-giza-inverse.3.STDERR.digest
> >>
> >> error
> >> error
> >>
> >>
> >> Here are the last few lines of the file TRAINING_run-giza.3.STDERR
> >>
> >> 70000
> >> 80000
> >> 90000
> >> NTable contains 286060 parameter.
> >> Executing: rm -f
> >> .......working-dir//training/giza-inverse.3/de-en.A3.final.gz
> >> Executing: gzip
> ......./working-dir//training/giza-inverse.3/de-en.A3.final
> >>
> >>
> >>
> >> Regards,
> >> Sriram
> >
> > --
> > The University of Edinburgh is a charitable body, registered in
> > Scotland, with registration number SC005336.
> >
> > _______________________________________________
> > 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
>
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to