Hi Liukai,

I've just modified the extract-rules program so that it will skip sentence pairs containing XML escape sequences that it can't (currently) handle.  It should now write a warning message to standard error instead of asserting.  Could you check out the latest revision of the trunk from the SVN repository, update your scripts directory, and try again?  Note that train-factored-phrase-model.perl has been renamed to train-model.perl.

Phil


On 28 Jun, 2010,at 02:08 AM, liukai <[email protected]> wrote:

Hi everyone :
     I almost there . when I got to the step 5 : Extract phrases , I occur a problem :
extract-rules: XmlTree.cpp:143: std::string unescape
 (const std::string&): Assertion `!"Unsupported XML escape sequence"' failed.
     And I just add XML markup to source side like :
<tree label="NN"> 合力 </tree>
     I think it is consistent with the Tutorial .
     And how can I manage it ?

Thank you very much .

Regards.

2010-06-28

liukai
_______________________________________________
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