Difference between revisions of "Mgiza"

From Apertium
Jump to navigation Jump to search
(Created page with "mgizapp is an alternative to Giza++ that can use multiple cores and is sometimes faster and also it is possible to download it. <pre> git clone https://github.com/moses-smt/m...")
 
 
Line 15: Line 15:
==See also==
==See also==
* [[Moses]]
* [[Moses]]
* [[Giza++]]
* [[GIZA++]]

Latest revision as of 08:49, 29 April 2015

mgizapp is an alternative to Giza++ that can use multiple cores and is sometimes faster and also it is possible to download it.

git clone https://github.com/moses-smt/mgiza.git
cmake -DCMAKE_INSTALL_PREFIX=/path/to/prefix
make
make install
# Moses expects all the giza stuff to be in the same folder,
# this way you can use -external-bin-dir=/path/to/prefix/bin
cp /path/to/prefix/scripts/merge_alignment.py /path/to/prefix/bin/merge_alignment.py
# also, do this before running moses:
export PYTHONIOENCODING=utf-8

See also[edit]