It's KENLM, not KenLM according to Hieu, who did name it after all.

Kenneth

On 05/29/2016 10:19 PM, Anna Garbar wrote:
> Hi Sašo,
> 
> Thanks for your reply. Before recompiling moses with srilm, I also tried
> to changed SRILM to KenLM im the moses.ini (under feature functions),
> but received "Feature name KenLM is not registered." Or did I have to
> make any other changes?
> 
> Best,
> Anna
> 
> 2016-05-29 23:10 GMT+02:00 Sašo Kuntaric <saso.kunta...@gmail.com
> <mailto:saso.kunta...@gmail.com>>:
> 
>     Hi Anna,
> 
>     You are probably using KenLM as it's the default language model
>     making tool. The factored tutorial however has the parameter for
>     using SRILM. In the "lm 0:3:factored-corpus/surface.lm:0" part of
>     the command, leave the last zero parameter ":0" out. Moses will then
>     use the default KenLM tool.
> 
>     To the website authors: maybe it would be a good thing to mention
>     this in the tutorial as I had the same issue.
> 
>     Best regards,
> 
>     Sašo
> 
>     2016-05-29 22:48 GMT+02:00 Rajen Chatterjee
>     <rajen.k.chatter...@gmail.com <mailto:rajen.k.chatter...@gmail.com>>:
> 
>         Hi,
> 
>         Since you are using SRILM have you compiled Moses with this flag
>         "--with-srilm=/path/to/srilm" (look here for various compilation
>         options http://www.statmt.org/moses/?n=Development.GetStarted).
> 
>         On Sun, May 29, 2016 at 9:48 PM, Anna Garbar
>         <anna.gar...@gmail.com <mailto:anna.gar...@gmail.com>> wrote:
> 
>             Dear Moses Team,
> 
>             I am working through the factored tutorial
>             (http://www.statmt.org/moses/?n=Moses.FactoredTutorial) and
>             when trying out the pos model on a sample sentence ('putin
>             beschreibt menschen .'), I receive 
> 
>             Exception: moses\FF\Factory.cpp:321 in void
>             Moses::FeatureRegistry::Construct(const string&, const
>             string&) threw UnknownFeatureException because `i ==
>             registry_.end()'.
>             Feature name SRILM is not registered.
> 
>             The last command was:
> 
>             /home/AG/mosesdecoder/bin/moses -f pos/model/moses.ini < in
> 
>             Where should I look for mistake? 
> 
>             Thanks in advance,
>             Anna
> 
>             _______________________________________________
>             Moses-support mailing list
>             Moses-support@mit.edu <mailto:Moses-support@mit.edu>
>             http://mailman.mit.edu/mailman/listinfo/moses-support
> 
> 
> 
> 
>         -- 
>         -Regards,
>          Rajen Chatterjee.
> 
>         _______________________________________________
>         Moses-support mailing list
>         Moses-support@mit.edu <mailto:Moses-support@mit.edu>
>         http://mailman.mit.edu/mailman/listinfo/moses-support
> 
> 
> 
> 
>     -- 
>     lp,
> 
>     Sašo
> 
> 
> 
> 
> _______________________________________________
> Moses-support mailing list
> Moses-support@mit.edu
> http://mailman.mit.edu/mailman/listinfo/moses-support
> 
_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to