cdec
is a research platform for machine translation and similar structured prediction problems.
This version, cdec-semparse
, adds scripts specific to semantic parsing. It has been created with the NLmaps corpus in mind. Other semantic parsing corpora can be used as well, as long as the MRL formulae can be linearised.
All the information relevant to semantic parsing may be found in the subfolder semparse.
- A Linux or Mac OS X system
- A C++ compiler implementing at least the C++-11 standard
- Some systems may 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
(to install it into a customized location use--prefix=/path/to/target
).
- If you build your own boost, you must install it using
- GNU Flex
- cmake - (NEW)
Build instructions:
cmake .
make -j4
make test
./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]