Moses
statistical
machine translation
system

Packages

There are several packaged versions of Moses available which you might find easier to use. These are not maintained or endorsed by the core Moses developers.

Installer for Windows with GUI

An installer for Windows is provided by Capita TI as part of the MosesCore project, along with a GUI to manage MT models and translations. The installer, which is supported on both Windows 7 and 8, is available from the following address:

Release 2.1 builds:

Release 1.0 builds:

The source code for GUI and Makefile for windows are available in Github.

Win32 binaries contained in this installer are:

  • MosesGUI.exe
  • moses-cmd.exe
  • moses-chart-cmd.exe
  • tools to binarize phrase and reordering tables (processPhraseTable.exe and processLexicalTable.exe)
  • pre- and post-processing tools (tokenizer.exe, detokenizer.exe, truecase.exe, detruecase.exe, lowercase.exe and recase.exe)

Since Release 2.1, the following exe are added for your convenience:

  • build-binary.exe
  • CreateOnDiskPt.exe
  • extra pre- and post-processing tools (escape-special-chars.exe, deescape-special-chars.perl, replace-unicode-punctuation.exe, normalize-punctuation.exe)

The sample model provided is not distributed with the installer. It can be downloaded through the Model Management tab. Due to the size of the model (about 3.4GB before and 700MB after zip), users need to have enough disk space before the downloading.

Screenshots of the GUI are illustrated as follows:

Fig 1. Translate Text with Moses GUI

Fig 2. Manage MT Models with Moses GUI

The list of models provided to run under MosesGUI (users are recommended to use MosesGUI to download them with the URLs):

To run your own Moses models, it is recommended that binarized phrase and reordering tables are used for this distribution. At the moment only the text-based ARPA LM is supported due to a dependency on KenLM in this distribution. To use MosesGUI to install your models, the following post-processing shall be taken:

  • Binarize phrase/reordering tables (highly recommended), but leave LM with ARPA format.
  • Put all model files and moses.ini into a folder and make sure all the path settings in moses.ini are relative.
  • Create a property file named model.ini in the folder. It shall contain a "Language" section with appropriate "Source Language" and "Target Language" properties set with valid language code (EN and FR as examples, note that there should not be any space at the beginning of lines):

[Language]

Source Language=EN

Target Language=FR

  • Zip the folder.

Note: new moses.ini format with feature functions is NOT supported by MosesGUI.

Note: moses decoder is built with maximum language model order 6, any models with LM order more than 6 won't work.

Installer for Linux

Linux packages are made available, from Capita TI, as part of the MosesCore project. These packages are built from the mosesdecoder GitHub repository using tested release branches. The packages contain:

  • Moses binaries and scripts,
  • GIZA++ v2, and
  • IRSTLM 5.70.04.

The source code and instructions are available in Github.

Moses RELEASE-2.1

The following packages have been built from the RELEASE-2.1 branch of the mosesdecoder GitHub repository.

64-bit

RELEASE-2.1 RPM RELEASE-2.1 Debian

32-bit

RELEASE-2.1 RPM RELEASE-2.1 Debian

The Linux packages install into /opt/moses.

Moses RELEASE-1.0

The following packages have been built from the RELEASE-1.0 branch of the mosesdecoder GitHub repository.

64-bit

RELEASE-1.0 RPM RELEASE-1.0 Debian

32-bit

RELEASE-1.0 RPM RELEASE-1.0 Debian

The Linux packages install into /opt/moses.

Please note: These packages are dependent on glibc v2.12+, libbz2 v1.0.4+ and libz v1.2.3+.

Precision TranslationTools

Precision TranslationTools maintains the DoMY CE 2.5 open-source project. DoMY CE's new binary installer simplifies the installation of these Moses components:

  • Moses Decoder, Github 30e5b0575b, 2012-09-03, GNU LGPL3
  • MGIZA++ 0.7.2, SVN 34, 2012-08-22, GNU GPL v2
  • BerkeleyAligner 2.1 (unsupervised), SVN 27, 2009-09-28, GNU GPL v2
  • GIZA++ 1.0.7, SVN 18, 2012-04-02, GNU GPL v2
  • IRSTLM 5.80.01, SVN 504, 2012-08-22, GNU LGPL3
  • RandLM 0.2.5, SVN 41, 2012-07-03, GNU GPL v2
  • SRILM 1.6.0, 2011-12-08, SRILM Research Community License Version 1.0
  • CorpusFiltergraph 4.5, SVN 328, 2012-09-04, GNU LGPL3

Arch Linux Packages

An Arch Linux package for the stable version is available and maintained by Panos Kanavos. This package is fully functional and uses IRSTLM as a required dependency (included in the AUR, along with giza-pp).

There is also a package available for the master branch.

Ubuntu NLP Repository

Eric Nichols has put together an Ubuntu package which makes it easier to install moses. It can be downloaded from http://cl.naist.jp/~eric-n/ubuntu-nlp/.

(It hasn't been updated for a few years and may not be available or is out-of-date now)

Amazon EC2 cloud

Achim Ruopp has created a package to run the Moses pipeline on the Amazon cloud. This would be very useful for people who don't have their own SGE cluster. More details from the Amazon webpage, or from Achim directly. Achim has also created a tutorial.

Edit - History - Print
Page last modified on August 27, 2014, at 02:09 PM