diff options
author | Patrick Simianer <p@simianer.de> | 2013-05-02 09:09:59 +0200 |
---|---|---|
committer | Patrick Simianer <p@simianer.de> | 2013-05-02 09:09:59 +0200 |
commit | 0ce66778da6079506896739e9d97dc7dff83cd72 (patch) | |
tree | f435457bb23dab0c566c9896f9d38cece9d15885 /extractor/README.md | |
parent | b6754386f1109b960b05cdf2eabbc97bdd38e8df (diff) | |
parent | b7ea2615bc9bb69031ff714ddce1539c9f1bda2d (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'extractor/README.md')
-rw-r--r-- | extractor/README.md | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/extractor/README.md b/extractor/README.md new file mode 100644 index 00000000..575f5ca5 --- /dev/null +++ b/extractor/README.md @@ -0,0 +1,14 @@ +C++ implementation of the online grammar extractor originally developed by [Adam Lopez](http://www.cs.jhu.edu/~alopez/). + +To run the extractor you need to: + + cdec/extractor/run_extractor -a <alignment> -b <parallel_corpus> -g <grammar_output_path> < <input_sentences> > <sgm_file> + +To run unit tests you need first to configure `cdec` with the [Google Test](https://code.google.com/p/googletest/) and [Google Mock](https://code.google.com/p/googlemock/) libraries: + + ./configure --with-gtest=</absolute/path/to/gtest> --with-gmock=</absolute/path/to/gmock> + +Then, you simply need to: + + cd cdec/extractor + make check |