User:Pankajksharma/Patcher Installation

From Apertium
Jump to navigation Jump to search

Installation instructions for running Python patcher

1. Install git and svn

2. Install apertium and the language pair(s) you want to use. Check http://wiki.apertium.org/wiki/Installation for further instructions.

3. Clone using git clone https://github.com/pankajksharma/py-apertium.git

4. Install python and python libraries. Libraries that would be required are as follow:

  numpy https://pypi.python.org/pypi/numpy
  python-translate http://translate.sourceforge.net/doc/api/translate.storage.tmx-module.html

5. For lxml installation please see http://lxml.de/installation.html

6. For translation-toolkit please checkout http://toolkit.translatehouse.org/download.html

7. Debian/Ubuntu users may use this instead:

  sudo apt-get install translate-toolkit python-numpy