hi xianhua

you're probably right, if you manage to change it, please commit it back to the repository

Also, this comment is related
  http://article.gmane.org/gmane.comp.nlp.moses.user/5715

On 15/12/2011 13:48, lixianhua wrote:

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
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to