cdec
is a research platform for machine translation and similar structured prediction problems.
- A Linux or Mac OS X system
- A C++ compiler implementing the C++-11 standard (NEW)
- Unfortunately, many systems have compilers that predate C++-11 support.
- You may need to build your own C++ compiler or upgrade your operating system's.
- Boost C++ libraries (version 1.44 or later)
- If you build your own boost, you must install it using
bjam install
. - Older versions of Boost may work, but problems have been reported with command line option parsing on some platforms with older versions.
- If you build your own boost, you must install it using
- GNU Flex
If your system contains the required tools and libraries in the usual places, you should be able to build as simply as:
./configure
make -j4
./tests/run-system-tests.pl
In addition to the standard cdec
third party software requirements, you will additionally need the following software to work with the cdec
source code directly from git:
- Autoconf / Automake / Libtool
- Older versions of GNU autotools may not work properly.
Instructions:
autoreconf -ifv
./configure
make -j4
./tests/run-system-tests.pl
For more information, refer to the cdec
documentation
If you make use of cdec, please cite:
C. Dyer, A. Lopez, J. Ganitkevitch, J. Weese, F. Ture, P. Blunsom, H. Setiawan, V. Eidelman, and P. Resnik. cdec: A Decoder, Alignment, and Learning Framework for Finite-State and Context-Free Translation Models. In Proceedings of ACL, July, 2010. [bibtex] [pdf]