Before training, you can replace "|" by other symbol, like "/".
Best Wishes; Lang Jun 在 2011年4月8日 上午10:52,巢文涵 <[email protected]>写道: > Dear all, > recently, when using the moses, I received an error as the following: > "[ERROR] Malformed input at > Expected input to have words composed of 1 factor(s) > (form FAC1|FAC2|...) > but instead received input with 0 factor(s). > Aborted". > > After testing, I find a little bug of moses when reading the phrase table > if there exists some phrase pairs like this: > "空 ||| is | is ||| 0.5 0.0038462 0.000380373 3.44425e-07 2.718 ||| > ||| 2 2629" > that is, there is a "|" in the target phrase, while "|" is the separator > of the phrase pair. > > > best regards, > WenHan > > > _______________________________________________ > 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
