Hi, Lars, I'm developper of DALM. You may use DALM v1.0.0-stable, but it does not work with current master branch of mosesdecoder. # v1.0.0-stable is for moses 2.1.1. # we are now trying to tune DALMWrapper. # We add more features on master branch of DALM.
Please use latest master branch of DALM. https://github.com/jnory/DALM/tree/master Please ask me if you have trouble with it. Thanks, -- Jun-ya NORIMATSU (2014/06/03 23:34), Lars Bungum wrote: > On 03. juni 2014 14:29, Hieu Hoang wrote: >> hi lars >> >> glad you're trying to use the eclipse file. I use it everyday, but >> no-one else seems to use it. I can help you. Please follow the >> instructions below, don't diverge from it > Thanks for helping me out. Obviously I try to follow the instructions > as closely as possible, but there must be something I have touched that > somehow affects. >> >> don't copy or add mosesdecoder/lib to Eclipse. The libraries in there >> are compiled by bjam. You need the libraries compiled by Eclipse to be >> able to debug it >> > OK. It's that moses directory under other-builds I can't get to compile > with DALM. > >> I just downloaded the latest DALM version and compiled it. Is >> this the correct one? >> >> I use the DALM directly from github >> https://github.com/hieuhoang/DALM >> I've just updated my own version, clean and compile both DALM, bjam >> moses, and Eclipse moses. They all work >> > I can't argue with that if it works for you. I just updated both the > moses and dalm source tree, and I still get errors on this file: > mosesdecoder/moses/LM/DALMWrapper.cpp > > mosesdecoder/moses/LM/DALMWrapper.cpp: In constructor > ‘Moses::DALMState::DALMState()’: > mosesdecoder/moses/LM/DALMWrapper.cpp:49:13: error: no matching function > for call to ‘DALM::State::State()’ > mosesdecoder/moses/LM/DALMWrapper.cpp:49:13: note: candidates are: > mosesdecoder/contrib/other-builds/../../DALM/include/state.h:22:4: note: > DALM::State::State(const DALM::State&) > mosesdecoder/contrib/other-builds/../../DALM/include/state.h:22:4: > note: candidate expects 1 argument, 0 provided > mosesdecoder/contrib/other-builds/../../DALM/include/state.h:12:4: note: > DALM::State::State(short unsigned int) > mosesdecoder/contrib/other-builds/../../DALM/include/state.h:12:4: > note: candidate expects 1 argument, 0 provided > > if you mouseover with the same file inside Eclipse you get the same > warnings on the function DALMState (no matching function call). > Everything else seems to work, bjam build does. > > //LB > > > > > _______________________________________________ > 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