Hi, I have a factored phrase-based model and I get this error when decoding some input that looks correct to me:
Exception: moses/Phrase.cpp:214 in void Moses::Phrase::CreateFromString(Moses::FactorDirection, const std::vector<long unsigned int, std::allocator<long unsigned int> >&, const StringPiece&, Moses::Word**) threw util::Exception because `nextPos == string::npos'. Incorrect formatting of non-terminal. Should have 2 non-terms, eg. [X][X]. Current string: [11] I even get the BEST TRANSLATION line for the first sentence before the decoder dies. What is going on? Thanks for your help Jörg ********************************************************************************** Jörg Tiedemann http://stp.lingfil.uu.se/~joerg/
_______________________________________________ Moses-support mailing list [email protected] http://mailman.mit.edu/mailman/listinfo/moses-support
