Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 894 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 894 Bytes

Docker image for cSMTiser

Usage

  1. Clone cSMTiser repository:
$ cd ~
$ git clone https://github.com/clarinsi/csmtiser.git
  1. Copy and adjust config. Use values of variables working_dir, moses_scripts, kenlm, lm_order, moses, mgiza as they are in docker/config.docker.yml:
$ cp ~/csmtiser/docker/config.docker.yml ~/csmtiser/myconfig.yml
$ # adjust ~/csmtiser/myconfig.yml, e.g. num_cores variable
  1. Run docker image greegorey/csmtiser, mounting your ~/csmtiser directory into container:
$ docker run -v ~/csmtiser:/csmtiser greegorey/csmtiser python preprocess.py /csmtiser/myconfig.yml
  1. Proceed further with the main tutorial, just add docker run -v ~/csmtiser:/csmtiser greegorey/csmtiser every time before you run python <COMMAND>.