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