This is a guide for compiling and building the package from source.
g++
orclang
cmake>=3.1
pkg-config
(to sourceglib-2.0
andre2
)Boost
program_options
thread
glib-2.0
re2
(Be warned that early versions do not containre2.pc
)
make
(This way you can just use the handyMakefile
provided)- Python headers (For building python package)
# Script to build the CLI is provided in the Makefile
make build-cli
# Installation comming soon
pip install opus-fast-mosestokenizer
# Download and decompress pybind11
make download-pybind11
# Build and install python package
python setup.py build_ext install