Hi Xin,

when recompiling Moses with different options, you may have to use the bjam option "-a", otherwise it may not recompile everything that is affected by the option.

best wishes,
Rico

On 25/04/17 15:56, dai xin wrote:
Hi Rico,

I successfully compiled nplm to Moses, but it still has this error.

Exception: moses/FF/Factory.cpp:388 in void Moses::FeatureRegistry::Construct(const string&, const string&) threw UnknownFeatureException because `i == registry_.end()'.
Feature name RDLM is not registered.

Do you know what can be the problem?

Best regards,

Xin

On Tue, Apr 25, 2017 at 2:25 PM, Rico Sennrich <[email protected] <mailto:[email protected]>> wrote:

    Hello Xin,

    you should compile moses with the option "--with-nplm=<root dir of
    the NPLM toolkit>".

    best wishes,
    Rico


    On 25/04/17 13:14, dai xin wrote:
    Hi all,

    I did a training with RD and NP language model. When I tried to
    decode with ~/mosesdecoder/bin/moses -f /path/to/moses.ini

    the error message came out:

    Feature name RDLM is not registered.

    It is somehow strange because I assume that the RDLM is compiled
    by defaut, or am I wrong and how to compile it?

    Thanks in advance and hoping for reply.

    Best regards,

    Xin


    _______________________________________________
    Moses-support mailing list
    [email protected] <mailto:[email protected]>
    http://mailman.mit.edu/mailman/listinfo/moses-support
    <http://mailman.mit.edu/mailman/listinfo/moses-support>
    _______________________________________________ Moses-support
    mailing list [email protected] <mailto:[email protected]>
    http://mailman.mit.edu/mailman/listinfo/moses-support
<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