Hi,

        Edit your moses.ini and find [lmodel-file].  Change the first number to
8.

[lmodel-file]
8 0 5 /path/to/model.arpa

Or you can try to link against SRI, use more memory, and take longer. . .

Kenneth

On 09/06/11 19:43, Cyrine NASRI wrote:
> Hi , thank you for your reply
> I buit a 5gram with SRILM,
> but when i make the MERT,i get this error message :
> Loading lexical distortion models...have 0 models
> Start loading LanguageModel
> /media/92d18cfa-e52b-40aa-aa40-2f38c492fcb9/cyrine/5ML.lm : [0.000] seconds
> moses: LanguageModelInternal.cpp:23: virtual bool
> Moses::LanguageModelInternal::Load(const std::string&,
> Moses::FactorType, float, size_t): Assertion `nGramOrder <= 3' failed.
> Aborted
> Exit code: 134
> The decoder died. CONFIG WAS -w 0.000000 -lm 0.357143 -d 0.357143 -tm
> 0.107143 0.071429 0.107143 
> 
> 
> I don't know why
> 
> Any idea please?
> 
> Bests
> Cyrine
> 
> 2011/9/6 Miles Osborne <[email protected] <mailto:[email protected]>>
> 
>     yes
> 
>     On 6 September 2011 17:28, Cyrine NASRI <[email protected]
>     <mailto:[email protected]>> wrote:
> 
>         Hi all,
>         Is it possible tu uses 5 gram Language model built bu SRILM with
>         MOses?
>         Thanks
>         Best
> 
>         Cyrine
> 
>         -- 
>         /Cyrine
>         Ph.D. Student in Computer Science/
> 
> 
>         _______________________________________________
>         Moses-support mailing list
>         [email protected] <mailto:[email protected]>
>         http://mailman.mit.edu/mailman/listinfo/moses-support
> 
> 
> 
> 
>     -- 
>     The University of Edinburgh is a charitable body, registered in
>     Scotland, with registration number SC005336.
> 
> 
> 
> 
> -- 
> /Cyrine NASRI
> Ph.D. Student in Computer Science/
> 
> 
> 
> _______________________________________________
> 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

Reply via email to