Hi, I am trying to use moses for phrase table generation based on the alignments I have. The alignments are manual and hence I intend to start the training from step 4.
$tooldir/moses/moses-scripts/scripts-20090926-1430/training/train-factored-phrase-model.perl -scripts-root-dir $tooldir/moses/moses-scripts/scripts-20090926-1430 -root-dir work -f ur -e hi --first-step 4 -lm 0:3:/nls/p/798/ws/rb/out/hi.lm > work/training.out The alignment files hi-ur.A3.final.gz and ur-hi.A3.final.gz are there in the default giza directories, i.e. work/giza.hi-ur and work/giza.ur-hi respectively. (I created these files from the manual alignments in the format as output by giza) This is the output I get: $ Using SCRIPTS_ROOTDIR: /nls/p/798/tools/moses/moses-scripts/scripts-20090926-1430 (4) generate lexical translation table 0-0 @ Tue Jun 8 06:56:42 EDT 2010 (4) [0-0] generate lexical translation table @ Tue Jun 8 06:56:42 EDT 2010 Use of uninitialized value in concatenation (.) or string at /nls/p/798/tools/moses/moses-scripts/scripts-20090926-1430/training/train-factored-phrase-model.perl line 817. (1.0.5) reducing factors to produce work/model/aligned.0.ur @ Tue Jun 8 06:56:42 EDT 2010 (1.0.5) reducing factors to produce work/model/aligned.0.ur @ Tue Jun 8 06:56:42 EDT 2010 and it just hangs at that point. No error, no computation being performed. anybody has any idea, please help... Thanks, Kiran. _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
