summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Baltescu <pauldb89@gmail.com>2013-04-24 16:59:55 +0100
committerPaul Baltescu <pauldb89@gmail.com>2013-04-24 17:03:54 +0100
commit22cc8ce19cd6768633ad828191789bd91350da35 (patch)
tree0602106da497658a5d9ca58f0060bc04b8a016b3
parentd2d724c64abb6ac5450d7e09f9c6dd8f99414caf (diff)
parent9cd5f39659ce6306a292a9fb7cffca6680028853 (diff)
Merge branch 'master' of github.com:pauldb89/cdec
-rw-r--r--extractor/README.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/extractor/README.md b/extractor/README.md
index d0ae70ed..e1c8509e 100644
--- a/extractor/README.md
+++ b/extractor/README.md
@@ -3,3 +3,12 @@ C++ implementation of the online grammar extractor originally developed by [Adam
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 extractor
+ make check