Hi,
Please send us the language model section of your moses.ini. It looks
like your language model factor numbers do not match your input factor
numbers.
Kenneth
On 02/24/2012 03:03 AM, Simon h s wrote:
> Hi again all,
>
> Today I'm trying to translate some sentences with POS, but keep getting
> this error:
>
> moses: LanguageModelSRI.cpp:154: virtual float
> Moses::LanguageModelSRI::GetValue(const std::vector<const
> Moses::Word*>&, const void**, unsigned int*) const: Assertion
> `(*contextFactor[count-1])[factorType] != __null' failed.
>
> I've created the training data using POS, trained the moses using
> translation-factored 0,2-0 and created the test sentences with POS, but
> the error keeps occurring.
>
> What should I do?
>
> Thank you for your help
>
> --
> Simon H S
>
>
> _______________________________________________
> 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