Hi Sriram 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++ and rerun the alignment.
I'm not sure why cooccurrence file support is switched off by default in GIZA++. best regards - Barry On Friday 18 March 2011 11:02, Sriram V wrote: > Thanks Barry. I located the error in TRAINING_run-giza.3.STDERR. It was > > --------- > ERROR: parameter 'coocurrencefile' does not exist. > WARNING: ignoring unrecognized option: -CoocurrenceFile > ERROR: parameter > 'optmldatdbuserssriramdeenmosesexptsworkingdirtraininggiza1endecooc' does > not exist. > ---------- > > I am trying to see how to get past this. Any suggestions ? > > Regards, > Sriram > > On Thu, Mar 17, 2011 at 5:17 PM, Barry Haddow <[email protected]> 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. -- 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
