Hi all,

 

         I am looking into rule extraction in Moses, and I found in the main
function of "extract-rules.cpp" this line:

         if (tFileP->eof()) break;

    after getting a line from target file.

    this is a way to stop the extraction, but won't it fail the last line?

    Why not put it at the end of the while loop? 

 

 

----------------------------------------------------

Best wishes!

Xianhua Li 

 

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to