Thanks to Barry for the advice of looking into the log files. 

The purpose of this email is to share the solution on the list.


"fail" proved to be the first link towards solution, on having a close look at 
the output of training. The phrase extraction was failed from being compiled 
due to missing libboost_iostreams.so. On further digging down it was found that 
bz2lib.h was not on my computer. Having downloaded it I came to know that bzip2 
library itself is not installed on my platform. Having installed all the 
pre-reqs the system was still generating empty phrase table and other files, 
because libboost_iostreams.so was not effective yet (despite having been 
created), and libboost_iostreams.a was not being created by the normal path. So 
I had to create the .a file using the ar command to collect all the .o files in 
the iostreams' compiled folder in bin.v2. It took a very long time because 
recompiling moses every time, and retraining it for several times were 
time-taking.


Finally, it started working without changing any command. I am thankful to 
Julian also for sharing personal experience to help me out.


Kind regards,


________________________________
 From: Aasim Ali <[email protected]>
To: Moses SMT toolkit support mailing list <[email protected]> 
Sent: Wednesday, 18 July 2012, 10:31
Subject: Re: Empty phrase-table extract.inv.sorted extract.sorted
 

It is giving the same result (empty phrase-table, extract.sorted, and 
extract.inv.sorted) for news-commentart-v7.fr-en.clean corpora.



________________________________
 From: Aasim Ali <[email protected]>
To: Moses SMT toolkit support mailing list <[email protected]> 
Sent: Tuesday, 17 July 2012, 17:56
Subject: Empty phrase-table extract.inv.sorted extract.sorted
 

Hi

I am running train-model.perl. At the end the script outputs that moses.ini 
file has been written. But, the following files in the training/model folder 
remain of 20B each, and the extracted files carry 0B size:
phrase-table.gz
extract.sorted.gz
extract.inv.sorted.gz

I have tried to look into the mailing list, and have checked suggested things, 
e.g. the files output by Giza++ seem fine to me. The output (STDOUT) and error 
(STDERR) are attached herewith, for investigation of problem.

Thanks and regards,
Aasim Ali 
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to