summaryrefslogtreecommitdiff
path: root/extractor
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
commitb50cc64489dd85c8ba23e4af95a818b854552b14 (patch)
tree165ec722663d95ab952aa3b6e98098347738b9c7 /extractor
parent45c444b1967ffc2d5d45362b96593d79fb721c52 (diff)
parent8c3d0ea032eb703beca62ab5a04bb5bfd4679316 (diff)
Merge branch 'master' of github.com:pauldb89/cdec
Diffstat (limited to 'extractor')
-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