Apertium has moved from SourceForge to GitHub.
If you have any questions, please come and talk to us on #apertium on irc.freenode.net or contact the GitHub migration team.

Mgiza

From Apertium
Jump to: navigation, search

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

[edit] See also

Personal tools