Moses-support Digest, Vol 109, Issue 29

Send Moses-support mailing list submissions to
moses-support@mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.mit.edu/mailman/listinfo/moses-support
or, via email, send a message with subject or body 'help' to
moses-support-request@mit.edu

You can reach the person managing the list at
moses-support-owner@mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Moses-support digest..."


Today's Topics:

1. change the jamfile for integrating LM (Vu Thuong Huyen)
2. Re: change the jamfile for integrating LM (Kenneth Heafield)


----------------------------------------------------------------------

Message: 1
Date: Sat, 14 Nov 2015 16:18:42 +0700
From: "Vu Thuong Huyen" <huyenvt2211@gmail.com>
Subject: [Moses-support] change the jamfile for integrating LM
To: "'Hieu Hoang'" <hieuhoang@gmail.com>, <moses-support@mit.edu>
Message-ID: <000301d11ebd$769e8ed0$63dbac70$@gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi Hieu,

I created my own language model. I changed the Jamfile like this:






#RNNLM

local with-rnnlm = [ option.get "with-rnnlm" ] ;

if $(with-rnnlm) {

obj RNNLMWrapper.o : RNNLMWrapper.cpp ..//headers : <include>$(with-rnnlm);

alias rnn : RNNLMWrapper.o : : : <define>LM_RNNLM ;

dependencies += rnn ;

lmmacros += LM_RNNLM ;

}



Then I called: ./bjam ?with-rnnlm=/home/labsmt/tools/rnnlm

But it return the error:

***argument error

*rule obj (name:source * : requirement * : default-build * : usage requirement *)

?.



How could I fix it?



Many thanks,

Huyen.



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20151114/df39f8d3/attachment-0001.html

------------------------------

Message: 2
Date: Sat, 14 Nov 2015 10:42:23 +0100
From: Kenneth Heafield <moses@kheafield.com>
Subject: Re: [Moses-support] change the jamfile for integrating LM
To: moses-support@mit.edu
Message-ID: <564701FF.70406@kheafield.com>
Content-Type: text/plain; charset=windows-1252

bjam is a silly language that requires spaces before semicolons.

<include>$(with-rnnlm) ;

On 11/14/15 10:18, Vu Thuong Huyen wrote:
> obj RNNLMWrapper.o : RNNLMWrapper.cpp ..//headers :
> <include>$(with-rnnlm);
>



------------------------------

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


End of Moses-support Digest, Vol 109, Issue 29
**********************************************

Related Posts :

0 Response to "Moses-support Digest, Vol 109, Issue 29"

Post a Comment