From cff2ccabf1328108aeead1fef67131377dd02194 Mon Sep 17 00:00:00 2001 From: Paul Baltescu Date: Sat, 30 Nov 2013 00:49:20 +0000 Subject: Update extractor README. --- extractor/README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'extractor') diff --git a/extractor/README.md b/extractor/README.md index c9db8de8..642fbd1d 100644 --- a/extractor/README.md +++ b/extractor/README.md @@ -1,8 +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: +The grammar extraction takes place in two steps: (a) precomputing a number of data structures and (b) actually extracting the grammars. All the flags below have the same meaning as in the cython implementation. - cdec/extractor/run_extractor -t -a -b -g < > +To compile the data structures you need to run: + + cdec/extractor/compile -a -b -c -o + +To extract the grammars you need to run: + + cdec/extract/extract -t -c -g < > 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: -- cgit v1.2.3