Hi,
To get a working train-model.perl, append
--with-giza=/path/where/giza/binaries/live
to bjam's arguments. If you want to install scripts, also append
--install-scripts=/path/to/install
to copy the scripts somewhere. Note that it is ok to use the scripts as
they lie in the source directory after running bjam. bjam does two
things for you: compile the executables in the scripts directory and
edit train-model.perl with the giza bin directory.
It would probably be cleaner if train-model.perl either required GIZA's
path on the command line or knew where to find it because we put it in
the scripts hierarchy.
Kenneth
On 12/01/11 00:29, Tom Hoar wrote:
> Ken,
>
> I just had a chance to pull the git. It'll be a few days before we
> compile the first time. We'll get around to merging the new changes
> after things settle down. We'll have a lot to do, but so far it all
> looks good.
>
> The .missing_bin_dir is new. Is the
> scripts/training/train-model.perl.missing_bin_dir so-named to alert the
> user to edit and rename himself, or does the --install-scripts option do
> this during install?
>
> Tom
>
>
> On Wed, 30 Nov 2011 22:02:37 +0000, Barry Haddow
> <[email protected]> wrote:
>> On Wednesday 30 Nov 2011 20:56:40 Kenneth Heafield wrote:
>>> I'd prefer to handle GIZA++ like any other dependency: installed in a
>>> read-only directory.
>>
>> Yes, that's what I meant. The user copies it into the giza directory, not
>> bjam.
>>
>>>
>>> On 11/30/11 20:46, Barry Haddow wrote:
>>> > Hi John
>>> >
>>> > This script is part of mgiza, rather than moses, so it should be
>>> copied
>>> > to the --with-giza directory, along with mgizapp
>>> >
>>> > cheers - Barry
>>> >
>>> > On Wednesday 30 Nov 2011 19:51:18 John Morgan wrote:
>>> >> The script merge_alignment.py should be in the scripts directory too
>>> >> to run with mgiza.
>>> >>
>>> >> On 11/30/11, Kenneth Heafield <[email protected]> wrote:
>>> >>> Dear Moses,
>>> >>>
>>> >>> The following files exist in scripts or are compiled in scripts
>>> >>> but were not installed by the pre-existing Makefile. The Jamfile
>>> >>> currently just installs the same files when passed
>>> --install-scripts.
>>> >>> Should these files be added?
>>> >>>
>>> >>> Kenneth
>>> >>>
>>> >>> Directories: regression-testing, tests, and other
>>> >>>
>>> >>> ems/web/spinner.gif
>>> >>> ems/web/bilingual-concordance.css
>>> >>> ems/web/close.gif
>>> >>> ems/web/general.css
>>> >>> ems/web/hierarchical-segmentation.css
>>> >>> ems/web/hierarchical-segmentation.js
>>> >>> ems/example/data/weight.ini
>>> >>> ems/support/split-sentences.perl
>>> >>> ems/biconcur/biconcur
>>> >>> training/exodus.perl
>>> >>> training/symal/cmd.c
>>> >>> training/train-global-lexicon-model.perl
>>> >>> training/wrappers/filter-excluded-lines.perl
>>> >>> training/wrappers/make-factor-suffix.perl
>>> >>> training/wrappers/find-unparseable.perl
>>> >>> training/phrase-extract/consolidate-direct
>>> >>> training/phrase-extract/extract-lex
>>> >>> training/phrase-extract/statistics
>>> >>> training/phrase-extract/consolidate-reverse
>>> >>> training/phrase-extract/relax-parse
>>> >>> training/analyse_moses_model.pl
>>> >>> generic/giza-parallel.perl
>>> >>> generic/fsa-sample.fsa
>>> >>> generic/extract-parallel.perl
>>> >>> generic/fsa2plf.pl
>>> >>> analysis/perllib
>>> >>> analysis/perllib/Error.pm
>>> >>> analysis/show-phrases-used.pl
>>> >>> analysis/oov.pl
>>> >>> analysis/suspicious_tokenization.pl
>>> >>> analysis/extract-target-trees.py
>>> >>> analysis/sg2dot.perl
>>> >>> analysis/weight-scan.pl
>>> >>> analysis/bootstrap-hypothesis-difference-significance.pl
>>> >>> analysis/smtgui
>>> >>> analysis/smtgui/newsmtgui.cgi
>>> >>> analysis/smtgui/file-descriptions
>>> >>> analysis/smtgui/file-factors
>>> >>> analysis/smtgui/Corpus.pm
>>> >>> analysis/smtgui/filter-phrase-table.pl
>>> >>> analysis/smtgui/README
>>> >>> analysis/nontranslated_words.pl
>>> >>> _______________________________________________
>>> >>> 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
>
_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support