Hieu,
The bjam command line currently supports various independent paths:
--prefix=/path/to/prefix sets the install prefix [default is source
root].
--bindir=/path/to/prefix/bin sets the bin directory [PREFIX/bin]
--libdir=/path/to/prefix/lib sets the lib directory [PREFIX/lib]
--includedir=/path/to/prefix/include installs headers.
--install-scripts=/path/to/scripts copies scripts into a directory.
--with-giza=/path/to/giza-mgiza
Can you confirm this bjam command line matches your descriptions below:
$moses_src/bjam \
--prefix=$directory_A \
--install-scripts=$directory_A/scripts \
--with-giza=$directory_B \
On Thu, 21 Jun 2012 23:49:35 +0100, Hieu Hoang
<[email protected]> wrote:
> 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
>
>> 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