Hi Thomas, Checking the code it looks like it's tried to split up a line of the reordering table at the "|||" delimiters and found a different number of parts than the first line had. I suggest checking the original reordering table to see if it's been corrupted somewhere.
Suzy On 20/09/10 8:51 PM, Thomas Meyer wrote: > Hi, > > When trying to binarize the reordering-table I get the following > error-message: > > .processLexicalTable: LexicalReorderingTable.cpp:369: static bool > Moses::LexicalReorderingTableTree::Create(std::istream&, const > std::string&): Assertion `numTokens == tokens.size()' failed. > Aborted > > 2 files are generated (...binlexr.srctree, ...binlexr.tgtdata), but > compared to the binarized phrase-table (which worked well), there should > be more files. > > Any idea? > > Thanks, everyone. > > Thomas > > _______________________________________________ > Moses-support mailing list > [email protected] > http://mailman.mit.edu/mailman/listinfo/moses-support -- Suzy Howlett http://www.showlett.id.au/ _______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
