Hello, I got recently a similar error than that reported in this list by Nguyen Manh Hung Fri, 22 May 2009, and left unanswered since. I managed to troubleshoot:
The error is at decoding time: moses: LexicalReorderingTable.cpp:250: virtual Moses::Score Moses::LexicalReorderingTableTree::GetScore(const Moses::Phrase&, const Moses::Phrase&, const Moses::Phrase&): Assertion `1 == cands.size()' failed. The cause is linked to a bad character in the phrase (and reordering) tables, in my case a single instance of Unicode 000B, vertical tabulation, "véritable grain de sable dans la mécanique". Possibly other control characters could cause this, but I've not come across them. After removing the character from the corpus and retrained, the error has disappeared. Best wishes for the new year to all of you guys, in particular those jumping to their keyboards, touch screens, tablets or flying horses to answer all of our big and small daily troubles. Cheers François Masselot Global Content - Machine Translation CMS & Language Technologies Localization Services Autodesk Neuchatel +41 32 723 94 60
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
