On 21/06/2012 16:46, Tom Hoar wrote:
> Hieu,
>
> We're implementing these changes into DoMY. Some of these broke our
> layout, but that's okay. We're adapt to your changes.
thanks, much appreciated.
> 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.
that's odd. The variable $SCRIPTS_ROOTDIR is still there but it's set in
line 16-20. I didn't change these lines, I just removed the ability to
override it with some other value from the command line.
are you sure step 5 breaks?
>
> 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?
I'm aiming for everyone to set up moses like so
[directory A]/scripts
[directory A]/bin
[directory B] = external bin directory
the external bin directory has giza/mgiza (and hopefully linguistic
programs over time).
when you update moses, just replace scripts/ and bin/ . The external bin
directory can stay constant
>
> 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