Hey,
I replied to your previous query but I got mail delivery failiure
notification, so I am trying again:

In order to use NPLM with moses you should use this fork of NPLM:
https://github.com/rsennrich/nplm

Cheers,

Nick

On Sun, Feb 8, 2015 at 9:38 AM, Jianri Li <[email protected]> wrote:

>  Hi, all
>
> I resend the mail in case my description is not clear.
>
> When I compile MOSES with nplm, I got a error message like following:
>
> moses/LM/NeuralLMWrapper.cpp:37:22: error: ‘class nplm::neuralLM’ has no
> member named ‘premultiply’
>
> then I looked up the file "moses/LM/NeuralLMWrapper.cpp", found the code
> like this:
> ---------------
> #include "NeuralLMWrapper.h"
> #include "neuralLM.h"
>
> ... ...
>
>   m_neuralLM_shar! ed = new nplm::neuralLM();
>   m_neuralLM_shared->read(m_filePath);
>   m_neuralLM_shared->premultiply();
>
> ... ...
>
> --------------
> obviously it calls the class member "premultiply" of class "neuralLM",
> which is used for pre-computation if there is only one hidden layer.
> However when I go back to the nplm folder and found none of the following
> header files or cpp files contain any member named "premultiply",
>
> "neuralClasses.h",
> "neuralLM.h",
> "neuralNetwork.h",
>
> Of course the nplm and moses are both lastest version.
> I am now really confused about this.
> I know the moses has supported the nplm for several months already, but I
> cannot find any similar problem in moses mail-list history or through
> Googling.
> Did I missed something or shoud I write the "premulply" member by myself?
> I guess it is not a serious problem and I just didn't get it.
> Thank you for your attention.
>
> Helson
>
> _______________________________________________
> 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