Hieu, We're implementing these changes into DoMY. Some of these broke our layout, but that's okay. We're adapt to your changes. Updating -external-bin-dir was easy. Then, we scrapped our references to $SCRIPTS_ROOTDIR based on your comments in train-model.perl. This, however, caused step 5 to break. On closer inspection, a reference to $SCRIPTS_ROOTDIR is still necessary at this point.
How do you see the layout evolving without the $SCRIPTS_ROOTDIR value? Since all of the scripts are in subfolders from $SCRIPTS_ROOTDIR, do you think it's possible or feasible to set $SCRIPTS_ROOTDIR == $_EXTERNAL_BINDIR? That's possible today by manually configuring bjam for a build. However, if you have another layout in mind, would this cause conflicts? Tom On Thu, 31 May 2012 20:42:56 +0100, Hieu Hoang <[email protected]> wrote: > Hi all > > if you're checking out the latest github code, there are some changes > you should be aware of: > 1. There is a new argument to train-model.perl > -external-bin-dir [path] > This points to the directory where Giza++/mgiza lives. > Setting > this is MANDATORY if you're using train-model.perl to do the word > alignment. It used to be hardcoded in the perl code itself. > 2. All the training programs have been moved into the directory > [MOSES-ROOT]/bin > They should be run from there, not from wherever the source > code is. > 3. To roll out, simply copy the 2 directories > [MOSES-ROOT]/bin > [MOSES-ROOT]/scripts > to wherever you want, eg. > /home/hieu/moses/bin > /home/hieu/moses/scripts > 4. If you don't want to move it anywhere, you can run it from > where > you downloaded. > 5. The EMS and example files have been updated. > > Hope this is ok for everyone. It may break some people's setup. If > possible, please change your setup. It's gonna help us all in the > long > run. If not, flame me & i'll see what I can do > > HH > > > _______________________________________________ > 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
